Page 1 of 1

How to change the nagios xi web interface password in cmd

Posted: Sun Feb 07, 2016 6:55 am
by Muthulinux
Hello,

now i have installed the nagios XI by using offline method but i dont know the password of nagiosadmin to login into the web interface.

So i have changed the password by using below command

# htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin

i got an output in the command line like below. even after that also i could not login into web interface getting username or password invalid.

New password:
Re-type new password:
Adding password for user nagiosadmin
[root@localhost conf.d]#

Could you please assist how to change the nagios xi web interface admin password in command line of linux.

Re: How to change the nagios xi web interface password in cm

Posted: Sun Feb 07, 2016 1:54 pm
by tmcdonald
/usr/local/nagiosxi/scripts/reset_nagiosadmin_password.php

Changing the .htpasswdfile will only affect the Nagios Core interface, not Nagios XI.

Re: How to change the nagios xi web interface password in cm

Posted: Wed Feb 10, 2016 7:08 am
by Muthulinux
Thank you very much ... This script is working perfectly.

Re: How to change the nagios xi web interface password in cm

Posted: Wed Feb 10, 2016 10:06 am
by bwallace
Glad we were able to help. We'll lock this thread now and feel free to open another should you require assistance with anything else.