I am trying to execute a check_nrpe with multiple argument and it is not working. I have the following definition in my nrpe.cfg<br><br>command[check_users_x64]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10<br>command[check_load_x64]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20<br>
command[check_hda1_x64]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/hda1<br>command[check_zombie_procs_x64]=/usr/lib64/nagios/plugins/check_procs -w 5 -c 10 -s Z<br>command[check_total_procs_x64]=/usr/lib64/nagios/plugins/check_procs -w 150 -c 200<br>
command[check_disk_x64]=/usr/lib64/nagios/plugins/check_disk -w 15% -c 10% -p $ARG1$<br>command[check_disk_excluding_x64]=/usr/lib64/nagios/plugins/check_disk -w 15% -c 10% -p $ARG1$ -x $ARG2$<br>command[check_process_x64]=/usr/lib64/nagios/plugins/check_proc -w $ARG1$ -c $ARG2$ -C $ARG3$<br>
command[restart-remote_x64]=/usr/lib64/nagios/eventhandlers/remote-restart.sh $ARG1$ $ARG2$ $ARG3$ $ARG4$<br><br><br>when I try to execute the following from command line I get an error. <br><br>-bash-3.2$ ./check_nrpe -H localhost -c check_process_x64 -a 10 10 nagios<br>
NRPE: Unable to read output<br><br><br>however single argument works fine.<br><br>-bash-3.2$ ./check_nrpe -H localhost -c check_disk_x64 -a /var<br>DISK OK - free space: /var 6674 MB (72% inode=99%);| /var=2513MB;8234;8719;0;9688<br>
<br>Please advise on this. Thanks<br><br clear="all"><br>-- <br>Cordially,<br>Shadhin Rahman<br>