<br><font size=2 face="sans-serif">I'm moving Nagios to a new server. I've
installed and set-up as per instructions and its running fine except for
all the UNIX check commands that use check_nrpe.</font>
<br><font size=2 face="sans-serif">They all show the "Incorrect command
line arguments supplied" error in status information.</font>
<br>
<br><font size=2 face="sans-serif">System Details:</font>
<br><font size=2 face="sans-serif">Nagios Server:</font>
<br><font size=2 face="sans-serif"> Fedora
Core 4</font>
<br><font size=2 face="sans-serif"> Nagios
v1.2</font>
<br><font size=2 face="sans-serif"> Plugins
v1.30</font>
<br><font size=2 face="sans-serif"> NRPE
v1.8</font>
<br><font size=2 face="sans-serif"> </font>
<br><font size=2 face="sans-serif">Monitored Servers:</font>
<br><font size=2 face="sans-serif"> Solaris
8, 9 and RHEL3.</font>
<br><font size=2 face="sans-serif"> Plugins
- NetSaint v 1.2.9-4 (also tried v1.3 and 1.4)</font>
<br><font size=2 face="sans-serif"> NRPE
v1.5 (also tried v1.8 and v2.4))</font>
<br>
<br><font size=2 face="sans-serif">I still have the old Nagios server running
and the above configuration works fine for all services - Windows, linux
and Unix.</font>
<br>
<br><font size=2 face="sans-serif">Pre Flight check shows no errors or
warnings. I am running the same configuration on the new server as the
old so I just tarred the ETC config files. Checked file permission's are
OK.</font>
<br><font size=2 face="sans-serif">libexec files are executable. Check-ping
works fine and interestingly so does check_http, check_dns and check_ftp
on my RHEL server. As well there are no problems checking Windows services
using check_nt_...</font>
<br><font size=2 face="sans-serif">The only problem is with the check_nrpe
on UNIX.</font>
<br>
<br><font size=2 face="sans-serif">This is my config for zombie process,
as an example. All check_nrpe processes give the same error. </font>
<br>
<br><font size=2 face="Arial"><b>checkcommands.cfg</b></font>
<br><font size=2 face="Arial"><b> </b>define
command {</font>
<br><font size=2 face="Arial"> command_name
check_local_procs</font>
<br><font size=2 face="Arial"> command_line
$USER1$/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$</font>
<br><font size=2 face="Arial"> }</font>
<br>
<br><font size=2 face="Arial"><b> services.cfg</b></font>
<br><font size=2 face="Arial"><b> </b>define
service {</font>
<br><font size=2 face="Arial"> use
generic-service</font>
<br><font size=2 face="Arial"> host_name
mercury</font>
<br><font size=2 face="Arial"> service_description
Zombie
Processes</font>
<br><font size=2 face="Arial"> contact_groups
sysadmins</font>
<br><font size=2 face="Arial"> check_command
check_nrpe!check_zombie_procs</font>
<br><font size=2 face="Arial"> }
</font>
<br>
<br>
<br><font size=2 face="Arial"><b>nrpe.cfg command on monitored server..</b></font>
<br><font size=2 face="Arial"> command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs
5 10 Z</font>
<br>
<br>
<br><font size=2 face="sans-serif">I've been hacking around for a week
now, re-compiling trying different combos of NRPE and plugins. I even set
up Ubuntu server to see if the Problem was Fedora. No Luck.</font>
<br><font size=2 face="sans-serif"> Any ideas would be gratefully
accepted </font>
<br>
<br><font size=2 face="sans-serif">Thanks.</font>
<br><font size=2 face="sans-serif">__________________________<br>
Rod Pudwell<br>
IT Systems Support<br>
Australian Regional Wholesalers</font>