change nscclient password in Nagiosxi

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sharding
Posts: 140
Joined: Thu Nov 08, 2012 11:08 am

change nscclient password in Nagiosxi

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: change nscclient password in Nagiosxi

Post 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.
Former Nagios employee
sharding
Posts: 140
Joined: Thu Nov 08, 2012 11:08 am

Re: change nscclient password in Nagiosxi

Post 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 ?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: change nscclient password in Nagiosxi

Post 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.
Former Nagios employee
sharding
Posts: 140
Joined: Thu Nov 08, 2012 11:08 am

Re: change nscclient password in Nagiosxi

Post by sharding »

That worked a treat - thanks !
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: change nscclient password in Nagiosxi

Post by tmcdonald »

I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee
Locked