Hi,
I have default setup for my nsclient++, and I like to set a new password for it.
where should i begin, and how to implement this?
and do I have to change nsc.ini on all the remote agents?
NSclient++ password
Re: NSclient++ password
Add this second to the .ini.spiderpig wrote:Hi,
I have default setup for my nsclient++, and I like to set a new password for it.
where should i begin, and how to implement this?
Code: Select all
[/settings/default]
; PASSWORD - Password used to authenticate against server
password = GOODPASSWORDIf you need to change / update the password, yeah.spiderpig wrote:and do I have to change nsc.ini on all the remote agents?
Former Nagios Employee.
me.
me.
Re: NSclient++ password
This will need to be changed both on the Nagios side of things and on the NSClient machines themselves. I can't tell you how you have your password set up Nagios-side, but you likely have it in the resource.cfg file and reference it as a $USERx$ variable. Otherwise you may have it set in the service definition itself. Check out your services.cfg, or if you have services in their own files you will want to check those.
Former Nagios employee
Re: NSclient++ password
ok, but how can i encrpt the password in the nsc.ini file?
Re: NSclient++ password
I don't believe this can be done. NSClient might be able to hash the password (which it really should be doing anyway) but encrypting a password doesn't make much sense in the context of automated checking.
Former Nagios employee
Re: NSclient++ password
ok, what is the purpose then to have password?tmcdonald wrote:I don't believe this can be done. NSClient might be able to hash the password (which it really should be doing anyway) but encrypting a password doesn't make much sense in the context of automated checking.
I just want to prevent someone can set up a nagios server in the network and steal the information from the client.
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: NSclient++ password
In order to get the password out of the nsclient.ini or out of the services definition would they not have to access one of the 2 servers anyway? And if you've granted them access to the servers... what really are you securing them from?spiderpig wrote:I just want to prevent someone can set up a nagios server in the network and steal the information from the client.