1 - I compliled NRPE with --disable-ssl and --enable-comand-args (on
host and server)

2 - I have enabled dont-blame-nrpe=1 in nrpe.cfg

3 - I have started nrpe daemon

I have define a service check in nrpe.cfg:
command[check_disk]=/plugins/check_disk -m -w $ARG1$ -c $ARG2$ -p $ARG3$

I did the test on both, remote an local machine:
./check_nrpe -H <IP> -c check_disk -a 20 10 /
./check_nrpe -H <IP> -c check_disk -a "20 10 /"

I always returns: "Could not parse arguements"

I have enabled nrpe debug=1 but nothing appears in logs file (just
"Starting daemon..." and so on)


Suggestion: make debug more verbose

--
Leonardo Henrique Machado


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Nagios-users-br mailing list
Nagios-users-br@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Archives: http://www.mail-archive.com/nagios-users-br@lists.sourceforge.net/
http://news.gmane.org/gmane.network.nagios.user.brazil

Responder a