Page 1 of 1

NSCLient Error

Posted: Fri Apr 28, 2017 9:57 am
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

Re: NSCLient Error

Posted: Fri Apr 28, 2017 11:04 am
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