Page 1 of 1

Status Information

Posted: Thu May 05, 2011 2:04 pm
We are monitoring one of our servers with Nagios XI, and we are reciving the following errors on all the items being monitored:

"NSClient-ERROR: Invalid password"

What do I need to do to correct this issue.

Roy Johnson
[email protected]

Re: Status Information

Posted: Thu May 05, 2011 2:30 pm
by rdedon
On the client windows system In the NSC.ini file (by default the path is typically C: > Program Files > NSClient++) you will need to check to see if there is a password, or if one needs to be added. It should look something like this:
[Settings]
;# OBFUSCATED PASSWORD
; This is the same as the password option but here you can store the password in an obfuscated manner.
; *NOTICE* obfuscation is *NOT* the same as encryption, someone with access to this file can still figure out the
; password. Its just a bit harder to do it at first glance.
;obfuscated_password=Jw0KAUUdXlAAUwASDAAB
;
;# PASSWORD
; This is the password (-s) that is required to access NSClient remotely. If you leave this blank everyone will be able to access the daemon remotley.
password=PASSWORDHEREUNCOMMENTED
;

Leaving it just blank and uncommented will mean "none" basically. Although this is a security risk but you may want to test with that.