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
NSCLient Error
Re: NSCLient Error
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.
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!