Incorrect command line arguments supplied
rod at arwholesalers.com
rod at arwholesalers.com
Mon Mar 13 07:23:50 CET 2006
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.
They all show the "Incorrect command line arguments supplied" error in
status information.
System Details:
Nagios Server:
Fedora Core 4
Nagios v1.2
Plugins v1.30
NRPE v1.8
Monitored Servers:
Solaris 8, 9 and RHEL3.
Plugins - NetSaint v 1.2.9-4 (also tried v1.3 and 1.4)
NRPE v1.5 (also tried v1.8 and v2.4))
I still have the old Nagios server running and the above configuration
works fine for all services - Windows, linux and Unix.
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.
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_...
The only problem is with the check_nrpe on UNIX.
This is my config for zombie process, as an example. All check_nrpe
processes give the same error.
checkcommands.cfg
define command {
command_name check_local_procs
command_line $USER1$/check_procs -w $ARG1$
-c $ARG2$ -s $ARG3$
}
services.cfg
define service {
use generic-service
host_name mercury
service_description Zombie Processes
contact_groups sysadmins
check_command check_nrpe!check_zombie_procs
}
nrpe.cfg command on monitored server..
command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs
5 10 Z
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.
Any ideas would be gratefully accepted
Thanks.
__________________________
Rod Pudwell
IT Systems Support
Australian Regional Wholesalers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060313/bed5053b/attachment.html>
More information about the Users
mailing list