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.
SNMP check vs PING check
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: SNMP check vs PING check
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.
Re: SNMP check vs PING check
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
http://assets.nagios.com/downloads/nagi ... _In_XI.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!