Page 1 of 1

SNMP check vs PING check

Posted: Wed Mar 05, 2014 12:30 pm
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.

Re: SNMP check vs PING check

Posted: Wed Mar 05, 2014 2:09 pm
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.

Re: SNMP check vs PING check

Posted: Wed Mar 05, 2014 2:12 pm
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