Getting error on NSCLIENT++

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
alidar
Posts: 26
Joined: Wed Apr 11, 2018 7:15 am

Getting error on NSCLIENT++

Post by alidar »

Hello
I have install NSCLIENT++ on windows operating system. When I tried to access it. I got password error. see below.

Even I have set the password during the installation of nsclient++ and also I have set the password on commnad.cfg. Still I am unable to access the page.
Attachments
Skjermbilde.PNG
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Getting error on NSCLIENT++

Post by mcapra »

Which version of NSClient++ are you using? Did you follow any specific documentation when configuring NSClient++?

You might have better luck on the NSClient++ forums. No one here is directly involved with the development of NSClient++.

Here's the official documentation for the NSClient++ WEBServer module:
https://docs.nsclient.org/reference/generic/WEBServer/

I believe this section contains the answer you need:
https://docs.nsclient.org/reference/gen ... password_1

Looking under the hood of this module, it looks like you should also be able to retrieve the password via the CLI:
https://github.com/mickem/nscp/blob/61a ... #L545-L546

Following the usage instructions I also found in there:

Code: Select all

Usage: nscp web [install|password|add-user|add-role] --help
Something like this executed from the CLI *might* work against the latest NSClient++ version, but I don't have one to test against:

Code: Select all

nscp web password display
Former Nagios employee
https://www.mcapra.com/
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Getting error on NSCLIENT++

Post by lmiltchev »

Thanks @mcapra!

@alidar let us know if mcapra's suggestions helped you resolve the issue.
Be sure to check out our Knowledgebase for helpful articles and solutions!
alidar
Posts: 26
Joined: Wed Apr 11, 2018 7:15 am

Re: Getting error on NSCLIENT++

Post by alidar »

I have replaced the client software. Now I am using NCPA. It is working fine now. thanks
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Getting error on NSCLIENT++

Post by lmiltchev »

Great! I will be closing this topic now, and marking it as resolved. If you have any more questions/issues, please start a new thread.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked