check_by_ssh, error 127, out of bounds
Darren.Gamble at sjrb.ca
Darren.Gamble at sjrb.ca
Tue Feb 25 19:28:44 CET 2003
Good day,
Recently migrated from the netsaint-style format? =)
> define command {
> command_name ssh_disk_root
> command_line
> command[ssh_disk]=/usr/local/libexec/nagios/check_by_ssh -H
> $HOSTADDRESS$ -C
> '/usr/local/libexec/nagios/check_disk -w 1
> 5% -c 5% -m /'
> }
Your command definition should instead similar to the following:
define command {
command_name ssh_disk_root
command_line /usr/local/libexec/nagios/check_by_ssh -H
$HOSTADDRESS$ -C '/usr/local/libexec/nagios/check_disk -w 15% -c 5% -m /'
}
HTH,
============================
Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403) 781-4948
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list