[Nagios-users] Exit code for NRPE connection refused?

2010-11-05 Thread RT
Using: Nagios Version 3.2.2 Can check_nrpe be convinced (or hacked) to exit UNKNOWN rather than CRITICAL on `Connection Refused`? Is there a way to accomplish this without having to modify check_nrpe's source directly? Currently, NRPE returns 2 for `Connection Refused` as well as `Not defined`. I

[Nagios-users] Changing behavior of check-host-alive?

2010-11-05 Thread RT
Using: Nagios 3.2.2. By default, Nagios considers a host down if it is unreachable by ICMP. From what I understand, if a host is unreachable, then further notifications for the host are disabled. We have a hostgroup that is always reachable by ICMP (the hosts are usually exhausted of memory and h

[Nagios-users] Replacing check_ssh with check_by_ssh?

2010-11-05 Thread RT
Currently, check_ssh appears to only check for a banner/listening port. Would a more proper check be to use check_by_ssh to execute say, `/bin/true` for example? # check_by_ssh -H {host} -C /bin/true -l {nagiosuser} Has anyone on the list done this and had good results? Thank you, -RT

[Nagios-users] Host dependencies on large deployment?

2010-11-05 Thread RT
Using: Nagios 3.2.2. I have a number of hosts (actually hundreds), each running a few services as well as SSH. For Host A, I'd like for all other notifications on Host A to be disabled when SSH on Host A is critical. I would like to have the same behavior apply for Hosts B-Z, each dependent on th