NRPE Arguments
Posted: Wed Sep 06, 2017 11:45 am
When I send arguments to NRPE, I got this answer "CHECK_NRPE: Receive header underflow - only 0 bytes received (4 expected)."
Command
Service
On remote machine
Command
Code: Select all
define command {
command_name check_xvda1
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c "check_xvda1" -a $ARG2$ $ARG3$ $ARG4$
}
Code: Select all
define service {
use generic-service
host_name Wikinovum
service_description Disco /dev/xvda1
check_command check_xvda1!20%!10%!/dev/xvda1
}
Code: Select all
command[check_xvda1]=/usr/lib/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$