Page 1 of 1
change nscclient password in Nagiosxi
Posted: Wed Apr 22, 2015 8:43 am
by sharding
I have changed the password in the nsclcient.ini file so it must be wrong in the NagiosXI so how and where do I go to change this ? Need this pretty now as I have to correct a typo or wrong password
Re: change nscclient password in Nagiosxi
Posted: Wed Apr 22, 2015 9:20 am
by tmcdonald
That would be most likely in your /usr/local/nagios/etc/resource.cfg file. You can edit that and save the file, then any checks using that $USERX$ macro will be updated.
If, however, you manually set the password for each service, you will need to change that password on a per-service basis.
Re: change nscclient password in Nagiosxi
Posted: Wed Apr 22, 2015 9:24 am
by sharding
the resource.cfg file just says passwd = SECRET
I am entering them in the wizard for each host, al the other hosts are correct but just this one, so I only want to correct this one not all of them
You can not get to this from the GUI for each host ?
Re: change nscclient password in Nagiosxi
Posted: Wed Apr 22, 2015 9:27 am
by tmcdonald
You can, as I mentioned in the last line in my first post.
You can go to Configure -> Core Config Manager -> Services and search for the host name. That should give a list of all of the services on that host. You can click each name to edit, and in the ARGX fields somewhere you will see the password. Update this for each of the services, making sure to save each one, and then click the Apply Config button on the Services page.
Re: change nscclient password in Nagiosxi
Posted: Wed Apr 22, 2015 12:37 pm
by sharding
That worked a treat - thanks !
Re: change nscclient password in Nagiosxi
Posted: Wed Apr 22, 2015 12:39 pm
by tmcdonald
I'll be closing this thread now, but feel free to open another if you need anything in the future!