i updated my nagios from 2.2 to 2.5 and my plugins to 1.4.3 and nrpe to 2.5.1 lastly but I checked everything out and all was fine with the 1.9 plugin but after I upgraded all my nrpe plugins I get this error Incorrect command line on the web portion of nagios this is linux OS, Fedora Core 4 is where nagios is installed, rest of the systems are all redhat/centos or fedora
From the server im monitoring from…
[root@nagios libexec]# ./check_nrpe -H megs20.100mwh.com -c check_load
OK - load average: 0.07, 0.18, 0.34|load1=0.070;10.000;15.000;0; load5=0.180;9.000;20.000;0; load15=0.340;8.000;18.000;0;
[root@nagios libexec]# su nagios
./check_nrpe -H megs20.100mwh.com -c check_load
OK - load average: 0.08, 0.09, 0.23|load1=0.080;10.000;15.000;0; load5=0.090;9.000;20.000;0; load15=0.230;8.000;18.000;0;
On that server
/usr/local/nagios/libexec/check_load -w 10,9,8 -c 15,20,18
OK - load average: 0.04, 0.12, 0.20|load1=0.040;10.000;15.000;0; load5=0.120;9.000;20.000;0; load15=0.200;8.000;18.000;0;
checkcommands
define command{
command_name check_nrpe
command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
}
On the server im monitoring
nrpe.conf
command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10
command[check_load]=/usr/local/nagios/libexec/check_load -w 10,9,8 -c 15,20,18
command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 4% -c 1% -p /dev/hda6
command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 4% -c 1% -p /dev/hda5
command[check_disk3]=/usr/local/nagios/libexec/check_disk -w 4% -c 1% -p /dev/hdd1
command[check_disk4]=/usr/local/nagios/libexec/check_disk -w 4% -c 1% -p /dev/hda8
command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z
command[check_procs]=/usr/local/nagios/libexec/check_procs -w 410 -c 700
What seems to to be the problem?