Code: Select all
(Return code of 255 is out of bounds)
Code: Select all
ssh root@<IP_Remote_Linux_Host> /usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /
Code: Select all
DISK OK - free space: / 32975 MB (74% inode=96%);| /=11574MB;37546;42239;0;46933
EDIT:
infos from remote linux server:
Code: Select all
root@domena-wa:~# /usr/local/nagios/libexec/check_nrpe -H localhost
connect to address ::1 port 5666: Connection refused
CHECK_NRPE: Error - Could not complete SSL handshake.
root@domena-wa:~# /usr/local/nagios/libexec/check_nrpe -H <IP_Nagios_Server>
NRPE v2.15
EDIT2:
Is my command definition is correct?
Code: Select all
define command{
command_name check_nrpe
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -t 20
}
Code: Select all
CHECK_NRPE: Error - Could not complete SSL handshake.