NSClient – ERROR: Invalid password

NSClient – ERROR: Invalid password error message pops up in Nagios console after configuring Windows monitoring services.

Though the services are up and running in Windows, NSClient was not able to identify the password and below error message is shown on console.

NSClient - ERROR: Invalid password

Resolution

There is one attribute, -s that is declared for check_nt command that needs to be having a PASSWORD as a value. That value is empty and that is reason why it gives us the error message. In addition to the check_nt command please do provide -s value (password used during nagios configuration) and the error will be removed.

Below screenshot from console shows the value of ARG1 being empty and a valid password is required to fill in.

NSClient - ERROR: Invalid password