Page 4 of 5
Re: SNMP configuration issue from Nagios XI
Posted: Mon Aug 31, 2015 12:34 am
by raamardhani7
tgriep wrote:I don't think we need the model number.
The plugin looks like it can only check the CPU load for your device and that's all.
Can you run the snmpwalk command and post the output here?
Hi Tgriep,
Please find the output for the cpu utilization.
[root@lussvpnagiosxi00 libexec]# ./check_snmp_load.pl -H 172.31.0.10 -v 3 -l username -x AuthPaswd -X PrivPaswd -L sha,aes -p 161 -w 30 -c 40 -T fg
Alarm at 15 + 5
SNMPv3 login
SNMPv3 AuthPriv login : username, sha, aes
Checking OID : .1.3.6.1.4.1.12356.1.8.0
OID returned noSuchObject
Argument "noSuchObject" isn't numeric in printf at ./check_snmp_load.pl line 602.
CPU used 0.0% (<30) : OK
Please help me, if I am missing something..
Re: SNMP configuration issue from Nagios XI
Posted: Mon Aug 31, 2015 9:48 am
by tgriep
Can you run the following and post the /tmp/walk.txt file?
Code: Select all
snmpwalk -v 3 -u username -l authPriv -a SHA -A AUTHPASS -x AES -X PRIVPASS XXX.XXX.XXX.XXX >/tmp/walk.txt
Re: SNMP configuration issue from Nagios XI
Posted: Mon Aug 31, 2015 3:17 pm
by raamardhani7
tgriep wrote:Can you run the following and post the /tmp/walk.txt file?
Code: Select all
snmpwalk -v 3 -u username -l authPriv -a SHA -A AUTHPASS -x AES -X PRIVPASS XXX.XXX.XXX.XXX >/tmp/walk.txt
Please find the output of [snmpwalk -v 3 -u username -l authPriv -a SHA -A AUTHPASS -x AES -X PRIVPASS XXX.XXX.XXX.XXX >/tmp/walk.txt][/code]
Re: SNMP configuration issue from Nagios XI
Posted: Mon Aug 31, 2015 4:05 pm
by tgriep
Try adding the attached MIB file to your XI system.
To do this, go to Admin > Manage MIBs, Browse to this file and upload it.
See if that resolves it for you.
Re: SNMP configuration issue from Nagios XI
Posted: Tue Sep 01, 2015 12:41 am
by raamardhani7
tgriep wrote:Try adding the attached MIB file to your XI system.
To do this, go to Admin > Manage MIBs, Browse to this file and upload it.
See if that resolves it for you.
I have uploaded the .txt. file you have shared with me.
I couldnt do it from the portal, as it is throwing an error related to permissions for uploading the file.
SO I created a file in the path and copied the contents in that and added the mib using addmib command and converted the same to .txt format.
Attaching the screenshot for the same.
[root@lussvpnagiosxi00 libexec]# ./check_snmp_load.pl -H xx.xx.xx.xx -v 3 -l username -x Authpass -X Privpass -L sha,aes -p 161 -w 30 -c 40 -T fg
Alarm at 15 + 5
SNMPv3 login
SNMPv3 AuthPriv login : username, sha, aes
Checking OID : .1.3.6.1.4.1.12356.1.8.0
OID returned noSuchObject
Argument "noSuchObject" isn't numeric in printf at ./check_snmp_load.pl line 602.
CPU used 0.0% (<30) : OK
Re: SNMP configuration issue from Nagios XI
Posted: Tue Sep 01, 2015 9:15 am
by ssax
Run a walk against it again and post the output:
Code: Select all
snmpwalk -v 3 -u username -l authPriv -a SHA -A AUTHPASS -x AES -X PRIVPASS XXX.XXX.XXX.XXX >/tmp/walk.txt
Re: SNMP configuration issue from Nagios XI
Posted: Tue Sep 01, 2015 9:20 am
by tgriep
The permission problem could also be causing an issue. Can you run the following and post the output?
Code: Select all
ls -l /usr/share/snmp
ls -l /usr/share/snmp/mibs
Re: SNMP configuration issue from Nagios XI
Posted: Tue Sep 01, 2015 1:34 pm
by raamardhani7
tgriep wrote:The permission problem could also be causing an issue. Can you run the following and post the output?
Code: Select all
ls -l /usr/share/snmp
ls -l /usr/share/snmp/mibs
Hi Tgriep,
I've attached the Output..
However, I have copied the File you gave and gave 755 permissions to the file.
Re: SNMP configuration issue from Nagios XI
Posted: Tue Sep 01, 2015 1:48 pm
by tgriep
Run the following to fix the permissions on the folder.
Code: Select all
chown -R root.nagios /usr/share/snmp/mibs
chmod o+rwx /usr/share/snmp/mibs
Run this command and upload the /tmp/walk.txt file.
Code: Select all
snmpwalk -v 3 -u username -l authPriv -a SHA -A AUTHPASS -x AES -X PRIVPASS XXX.XXX.XXX.XXX >/tmp/walk.txt
Re: SNMP configuration issue from Nagios XI
Posted: Tue Sep 01, 2015 1:56 pm
by raamardhani7
Hi Tgriep,
Attaching the snmpwalk output.