check_snmp issue for OID base monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sandeep.endla
Posts: 16
Joined: Sat Jan 27, 2018 10:15 pm

check_snmp issue for OID base monitoring

Post by sandeep.endla »

Hi Team,

We are using nagios xi as central and mod gearman as distributor to check the end point status. We got a requirement to monitoring islion storage devices through OIDs. When we are given the command from the worker we are getting the excepted output. But when we configure the same on the nagios xi we are getting the below issues. Please find the attached screenshot for your reference.

#External command error: Error in packet\nReason: (noSuchName) There is no such variable name in this MIB.\nFailed objec
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: check_snmp issue for OID base monitoring

Post by ssax »

I assume you installed the MIBs on the gearman worker, correct? What are the permissions on the MIBs and where did you put them? What is the exact command that the check is running?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: check_snmp issue for OID base monitoring

Post by tgriep »

I see that your community string has a $ in it and that you escaped it with a backslash \.
Dollar signs are especially troublesome in how they need to be escaped and the most consistent way I found it to do the following to escape it.
Change the community string from

Code: Select all

"I\$ilonpublic"
to

Code: Select all

"I$"$"ilonpublic"
Save the changes and see if the GUI starts to report the correct information
Be sure to check out our Knowledgebase for helpful articles and solutions!
sandeep.endla
Posts: 16
Joined: Sat Jan 27, 2018 10:15 pm

Re: check_snmp issue for OID base monitoring

Post by sandeep.endla »

Hi Tgriep,

Thanks for the update. the issue is resloved now after changing the community string to "I$"$"ilonpublic".


Thanks
Sandeep endla
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: check_snmp issue for OID base monitoring

Post by tgriep »

That is good news that it is working now. I'll close and lock the post for you but feel free to open a new post in the future if needed.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked