Hi All
Hope you can help. pulling my hair out again with yet another simple problem
check_nt returning invalid password no matter what I do.
root@localhost libexec]# ./check_nt -H 192.168.0.2 -s "87654321" -p 12489 -v SERVICESTATE -l spooler -d SHOWALL
NSClient - ERROR: Invalid password.
NSC.ini file is attached to this post. the passwords are identical.
Feels like NSclient is buggy?.
Im assuming that the password is simply checked at the client end, and hence its nsclient which is at fault?
Help please
NSCLIENT++ Invalid Password.
-
darkservices
- Posts: 6
- Joined: Thu Jan 29, 2015 11:45 am
NSCLIENT++ Invalid Password.
You do not have the required permissions to view the files attached to this post.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: NSCLIENT++ Invalid Password.
I just copied your nsc.ini file and pasted it into my existing ini file (replaced all the contents), restarted the NSClient++ service and tried your example command, all worked OK.
I needed to change the allowed_hosts address but apart from that all is identical.
This was using 0.3.9.
My version of check_nt:
Is the IP address 192.168.0.2 actually the IP Address of the server where this nsc.ini file resides?
Have you tried restarting the NSClient++ Service?
I needed to change the allowed_hosts address but apart from that all is identical.
This was using 0.3.9.
My version of check_nt:
Code: Select all
./check_nt -V
check_nt v2.0.3 (nagios-plugins 2.0.3)Have you tried restarting the NSClient++ Service?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: NSCLIENT++ Invalid Password.
In addition to this, can you verify that you Nagios XI server's IP is 192.168.0.4?Is the IP address 192.168.0.2 actually the IP Address of the server where this nsc.ini file resides?
Have you tried restarting the NSClient++ Service?
Code: Select all
ifconfigBe sure to check out our Knowledgebase for helpful articles and solutions!