How to change the nagios xi web interface password in cmd

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Muthulinux
Posts: 12
Joined: Tue Sep 15, 2015 2:24 pm

How to change the nagios xi web interface password in cmd

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

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

Post by tmcdonald »

/usr/local/nagiosxi/scripts/reset_nagiosadmin_password.php

Changing the .htpasswdfile will only affect the Nagios Core interface, not Nagios XI.
Former Nagios employee
Muthulinux
Posts: 12
Joined: Tue Sep 15, 2015 2:24 pm

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

Post by Muthulinux »

Thank you very much ... This script is working perfectly.
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

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

Post 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.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked