NSClient++ Help (#1) - NSClient - ERROR: Invalid password (#779) - Message List

NSClient - ERROR: Invalid password

Hi, just found this site - hope I can get some help. I'm kind of new to nagios and have got up an running. I recently installed NSclient++ on my test Win2008 Server R2. I've got the service up and running - as far as I can tell have the NSC.ini file configured.

port=12489 -- Uncommented

password=secret-password -- Uncommented

password='somepasswd' -- Password matched on my commands.cfg on the nagios server

But when I run a "check_nt" command, I get an error about password being invalid.

/usr/local/nagios/libexec/check_nt -H 'Host IP' -s 'somepasswd' -p 12489 -v CPULOAD -w 80 -c 90 -l 5,80,90,10,80,90
NSClient - ERROR: Invalid password

Here is my commnads.cfg

# 'check_nt' command definition
define command{
        command_name    check_nt
        command_line    $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s 'somepasswd' -v $ARG1$ $ARG2$
        }

I've also tried using NRPE to check. /usr/local/nagios/libexec/check_nrpe -H 'host ip' -c CheckCPU -a warn=80 crit=90 time=20m time=10s time=4

CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages

From nsclient.log

2011-05-05 10:43:51: error:modules\NRPEListener\NRPEListener.cpp:393: Request contained arguments (not currently allowed, check the allow_arguments option). 2011-05-05 10:43:51: error:modules\NRPEListener\NRPEListener.cpp:365: NRPEException: Request contained arguments (not currently allowed, check the allow_arguments option).

Where would I configure this on the INI file to set to 'allow'?

Subscriptions