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.
Change password for host on Nagios XI
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Change password for host on Nagios XI
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.
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.
Re: Change password for host on Nagios XI
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.
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.
Re: Change password for host on Nagios XI
There could be multiple places it's defined, you could define it under the command or under the service.
Re: Change password for host on Nagios XI
Can you suggest one of them? I wasn't able to find anywhere yet.
Thank you
Thank you
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Change password for host on Nagios XI
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
Replace $arg1$ as seen in the picture
You do not have the required permissions to view the files attached to this post.
Re: Change password for host on Nagios XI
I went to the Monitoring Wizard under Configure,
Selected Windows Server
Entered the IP address
And entered the password at this screen.
Selected Windows Server
Entered the IP address
And entered the password at this screen.
You do not have the required permissions to view the files attached to this post.
Re: Change password for host on Nagios XI
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
Re: Change password for host on Nagios XI
Got it! Thank you.