Page 1 of 1

check_snmp issue for OID base monitoring

Posted: Thu Aug 23, 2018 11:30 am
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

Re: check_snmp issue for OID base monitoring

Posted: Thu Aug 23, 2018 3:44 pm
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?

Re: check_snmp issue for OID base monitoring

Posted: Thu Aug 23, 2018 3:46 pm
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

Re: check_snmp issue for OID base monitoring

Posted: Tue Aug 28, 2018 6:50 am
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

Re: check_snmp issue for OID base monitoring

Posted: Tue Aug 28, 2018 10:51 am
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.