Hello, I've been running nagios ver 3 for several years. Just recently I tried adding a few extra linux clients. (ubuntu via apt-get) The default service types work except Load (check_load. Could not parse arguments) and users (No output returned from plugin) The rest work (ping, procs, root partition, ssh, zombie procs)
I copied one of my working linux cfg files to a new host name (ex linux2.domain.cfg) and the only thing I changed in this file is the host name. On the client machine I verified the port is open with an external port scan and a local netstat. On the client host I have edited /etc/nagios/nrpe.cfg for allowed_hosts=127.0.0.1,IP SERV ADDress. On the client I have /etc/init.d/nagios-nrpe-server. Client shows ps -A = nrpe. Also I can run the default plugin locally on the host and they work.
On the server I can run ./check_nrpe -n -H hostIP -c check_load and I get "check_nrpe: error receiving data from daemon.
If I do this same command but point to a working host I do get a correct reply back
I would assume the problem is the server can't connect to the host but I don't understand how the other default plugins would work mainly (root partition and procs)
thanks for any help
check_load: Could not parse arguments
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: check_load: Could not parse arguments
Just to verify, on your remote system check_load is there, has appropriate permissions for nagios user, and is executable?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.