Switch Monitoring Warning

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
christopher.thompson
Posts: 4
Joined: Mon Jul 27, 2020 11:52 am

Switch Monitoring Warning

Post 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?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Switch Monitoring Warning

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked