Search found 2 matches
- Thu Sep 02, 2021 9:28 pm
- Forum: Open Source Nagios Projects
- Topic: check_snmp fails in nagios when using MIB
- Replies: 3
- Views: 3456
Re: check_snmp fails in nagios when using MIB
I'd guess Nagios can't access root's home dir so the check fails using the MIB. /usr/bin/snmpget -Le -t 3 -r 5 -m / root /.snmp/TRIPPLITE-PRODUCTS.MIB When Nagios runs the command, it did error with "No permission to access file" or something. I moved the MIB into $USER1$ and adjusted the...
- Mon Aug 30, 2021 5:43 pm
- Forum: Open Source Nagios Projects
- Topic: check_snmp fails in nagios when using MIB
- Replies: 3
- Views: 3456
check_snmp fails in nagios when using MIB
Running check_snmp manually, the following succeeds: /usr/lib64/nagios/plugins/check_snmp -o tlpUpsOutputSource.1 -H UPShostname.com -m $USER1$/TRIPPLITE-PRODUCTS.MIB -R '3|9' -vvv /usr/bin/snmpget -Le -t 3 -r 5 -m /root/.snmp/TRIPPLITE-PRODUCTS.MIB -v 1 [context] [authpriv] UPShostname.com:161 tlpU...