SNMP check vs PING check

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
tecnalb
Posts: 133
Joined: Tue May 03, 2011 12:53 pm

SNMP check vs PING check

Post by tecnalb »

I seem to recall some time back that I was able to substitute an SNMP check of some type for a PING check. I think it perfumed a poll of some SNMP value, which made the host check pass. I can't seem to get that to work now.

Is there a good alternative to check a device that doesn't respond to ping? I can poll individual status of the device, and have green indicators. It's just the host check and ping check that are failing.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: SNMP check vs PING check

Post by sreinhardt »

You should be able to use any valid check command on a host or service, in place of the standard ping. I would suggest check_tcp\udp to check an alternative port to icmp, a basic check_snmp to verify hostname or os version, etc.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: SNMP check vs PING check

Post by lmiltchev »

What kind of host is it? In many cases you can change the "check-host-alive" to "check-host-alive-http". See our documentation on the topic here:

http://assets.nagios.com/downloads/nagi ... _In_XI.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked