NSCLient Error

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
rbizzell39
Posts: 112
Joined: Thu Dec 17, 2015 1:24 pm

NSCLient Error

Post by rbizzell39 »

I am running Nagios 4.2.4 on Centos 7 install by yum I installed that plugins separately using yum. I have verified that I have a password in the ini file. But I am still getting NSClient -Error: Invalid password. I try to run the command line check_nt but I get parsing error. The path for me is /usr/lib64/nagios/plugins/check_nt and I get could not parse arguments.
I run this command form the terminal I get /
/usr/lib64/nagios/plugins/check_nt -H 172.28.25.110 -p 12489 -v MEMUSE I get ERROR: Invalid password. The password I set was the password of the nagioadmin
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: NSCLient Error

Post by tgriep »

In your command, you need to us the -s option for specifying the password that you used when installing NSClient.
Try this command and see if it works for you.

Code: Select all

/usr/lib64/nagios/plugins/check_nt -H 172.28.25.110 -p 12489 -s password -v MEMUSE
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked