SNMP configuration issue from Nagios XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

Re: SNMP configuration issue from Nagios XI

Post 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..
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: SNMP configuration issue from Nagios XI

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

Re: SNMP configuration issue from Nagios XI

Post 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]
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: SNMP configuration issue from Nagios XI

Post 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.
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

Re: SNMP configuration issue from Nagios XI

Post 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
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: SNMP configuration issue from Nagios XI

Post 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
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: SNMP configuration issue from Nagios XI

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

Re: SNMP configuration issue from Nagios XI

Post 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.
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: SNMP configuration issue from Nagios XI

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

Re: SNMP configuration issue from Nagios XI

Post by raamardhani7 »

Hi Tgriep,

Attaching the snmpwalk output.
You do not have the required permissions to view the files attached to this post.
Locked