[Nagiosplug-help] Re: check_ssh
benny at bennyvision.com
Wed Aug 11 06:05:07 CEST 2004
> no nagios won't.
*shrug* Mine does. If my keys get borked for some reason, it goes into
a WARNING state and I get alerted.
Here is one of the checks I run:
# 'check_disk_remote' command definition
command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ \
-l nagios -C '/home/nagios/libexec/check_disk \
-p $ARG1$ -w $ARG2$ -c $ARG3$'
(wrapped for this email)
Here is one of the service definitions that uses it:
# Service definition
(once again wrapped for the email)
And here is the service going into a WARNING state after I clobbered
the DSA key on purpose:
Aug 11 07:57:48 nagioshost nagios: SERVICE ALERT:
hostname;/backups;WARNING;SOFT;1;Permission denied, please try again.
Is this not what you're wanting it to do? Ie, if the keys get removed
or whatever, you get alerted for it? My installations do exactly that.
"Horrible pain! I made sounds like a dolphin giving birth."
-- Mr. Corman, "Scrubs"
More information about the Help