Page 1 of 1

Switch Monitoring Warning

Posted: Thu Oct 15, 2020 9:46 am
by christopher.thompson
Hello,

I've set up our main switch to monitor static equipment ports via snmp. I used the wizard to add them and relabeled them. After doing so the checks come back with:

Code: Select all

WARNING: SNMP error: No response from remote host "x.x.x.x"
I've verified I can walk the switch directly from the nagios server.

I was unable to find the custom command "check_xi_service_ifoperstatus" from the command line.

so... now what?

Re: Switch Monitoring Warning

Posted: Fri Oct 16, 2020 10:36 am
by benjaminsmith
Hi,

If you're able to connect over a SNMP Walk but not by using the command in Nagios XI, there's a good chance the SNMP community string may have some characters that are not escaping correctly.

Can you run the entire command from the terminal post the output to see if that works.

You can define a macro to pass to the community string if that is the case.
https://assets.nagios.com/downloads/nag ... Macros.pdf

Benjamin

Reference:
Nagios XI - How To Test Check Commands From The Command-line