NSClient - Invalid Password
Posted: Tue Jul 22, 2014 9:03 am
Good Afternoon,
i would have posted this under customer support because we have a support agreement with you guys however we have not been approved to be a member of the customers group.
we are in the process of migrating from Nagios XI 2009R1.3F to Nagios XI 2014R1.3 now we have tried to recreate some of our commands in the new system to monitor the systems this is the command in particular we are having an issue with using the password option.
$USER1$/check_nt -H $HOSTADDRESS$ -l "$ARG1$,$ARG2$,$ARG3$" -s "$_HOSTNSCLIENT_PWD$" -p 12489 -v CPULOAD -t 15
we have the password for each host as a variable definition declared as _NSCLIENT_PWD.
on one of the servers log file its producing this output
2014-07-22 12:31:48: error:modules\NSClientListener\NSClientListener.cpp:160: Invalid password ($).
so i managed to find a few bits of information online and tried using the password defined for the host in the following format <password> as part of the command. when that was done we no longer got the invalid password entry in the log file but it produced no output.
we can not define the password in the command as we are a data centre and montior a number of hosts and each host has its own nsclient password.
our command worked fine in Nagios XI 2009R1.3F but currently no joy in the version we are using now.
Thanks in advance
Daniel Cook
Support Technician
Asckey Data Services
i would have posted this under customer support because we have a support agreement with you guys however we have not been approved to be a member of the customers group.
we are in the process of migrating from Nagios XI 2009R1.3F to Nagios XI 2014R1.3 now we have tried to recreate some of our commands in the new system to monitor the systems this is the command in particular we are having an issue with using the password option.
$USER1$/check_nt -H $HOSTADDRESS$ -l "$ARG1$,$ARG2$,$ARG3$" -s "$_HOSTNSCLIENT_PWD$" -p 12489 -v CPULOAD -t 15
we have the password for each host as a variable definition declared as _NSCLIENT_PWD.
on one of the servers log file its producing this output
2014-07-22 12:31:48: error:modules\NSClientListener\NSClientListener.cpp:160: Invalid password ($).
so i managed to find a few bits of information online and tried using the password defined for the host in the following format <password> as part of the command. when that was done we no longer got the invalid password entry in the log file but it produced no output.
we can not define the password in the command as we are a data centre and montior a number of hosts and each host has its own nsclient password.
our command worked fine in Nagios XI 2009R1.3F but currently no joy in the version we are using now.
Thanks in advance
Daniel Cook
Support Technician
Asckey Data Services