Change password for host on Nagios XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ctwhyexit
Posts: 11
Joined: Tue Mar 24, 2015 10:52 am

Change password for host on Nagios XI

Post by ctwhyexit »

Hello,

I'm trying to change the password for the host I created on the Nagios XI dashboard. I don't see an option to do this on the dashboard or maybe I missed. I tried to remove and recreate a new host for updating the password but I get this error as well,

Host Status Detail --> Configure --> Delete this host
//
Host cannot be deleted using this method
One or more errors were detected that prevent the host from being deleted.

Possible causes include...

The host is associated with other hosts, services, or objects that need to be deleted first
The host is maintained in a static or external configuration file
To resolve this issue...

Use the Nagios Core Configuration Manager to delete the host - or -
Manually delete the host definition from the appropriate external configuration file
//

However, I didn't do anything other than just adding this host via the dashboard. I tried removing the host cfg file from the backend/command line, /usr/local/nagios/etc/host/<host.cfg> but Nagios refuses to start so that doesn't help.

Can you guys help.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Change password for host on Nagios XI

Post by jdalrymple »

ctwhyexit

What type of password are you trying to change? You shouldn't need to delete the host, but you can. If you want to delete it, in order to find the related services that need to be deleted click the blue "i" in core config manager as shown in the picture.
You do not have the required permissions to view the files attached to this post.
ctwhyexit
Posts: 11
Joined: Tue Mar 24, 2015 10:52 am

Re: Change password for host on Nagios XI

Post by ctwhyexit »

Thank you for the quick response.
I'm trying to change the password that is used to communicate to the Nagios++ daemon on the Windows host. I put the incorrect pass while configuring the host initially.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Change password for host on Nagios XI

Post by ssax »

There could be multiple places it's defined, you could define it under the command or under the service.
ctwhyexit
Posts: 11
Joined: Tue Mar 24, 2015 10:52 am

Re: Change password for host on Nagios XI

Post by ctwhyexit »

Can you suggest one of them? I wasn't able to find anywhere yet.
Thank you
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Change password for host on Nagios XI

Post by jdalrymple »

The password is stored in each individual service created if you used the wizard - I suspect that is how you created the host?

Replace $arg1$ as seen in the picture
You do not have the required permissions to view the files attached to this post.
ctwhyexit
Posts: 11
Joined: Tue Mar 24, 2015 10:52 am

Re: Change password for host on Nagios XI

Post by ctwhyexit »

I went to the Monitoring Wizard under Configure,
Selected Windows Server
Entered the IP address
And entered the password at this screen.
windowserver.png
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Change password for host on Nagios XI

Post by tmcdonald »

You will want to go to Configure -> Core Config Manager -> Services and search for the appropriate service, then change it there in the ARGs before saving and clicking Apply Config.
Former Nagios employee
ctwhyexit
Posts: 11
Joined: Tue Mar 24, 2015 10:52 am

Re: Change password for host on Nagios XI

Post by ctwhyexit »

Got it! Thank you.
Locked