Nagios XI - admin password lost

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
veeravamsi
Posts: 126
Joined: Wed Jan 23, 2019 3:35 am

Nagios XI - admin password lost

Post by veeravamsi »

Hi Team,

We have lost admin credentials for our Nagios Test instance ... We do have CLi root access , is it possible to reset or reclaim nagiosadmin credentials to get Administrator access to GUI to continue the XI Upgrade process.

--Vamsi
lazzarinof
Posts: 50
Joined: Thu Sep 23, 2021 12:26 pm

Re: Nagios XI - admin password lost

Post by lazzarinof »

Whew! Good thing you have root access:

SSH in to the box, and use the reset admin password script:
/usr/local/nagiosxi/scripts/reset_nagiosadmin_password.php --password=newpassword

If you want to use special characters, you can escape with a backslash "\":
/usr/local/nagiosxi/scripts/reset_nagiosadmin_password.php --password=\$new\ password\#

But I tend to set an easy password in CLI, then change the password in the GUI, because I don't trust me. :P
veeravamsi
Posts: 126
Joined: Wed Jan 23, 2019 3:35 am

Re: Nagios XI - admin password lost

Post by veeravamsi »

Thank you :)
Post Reply