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
Nagios xi - admin password lost
-
- Posts: 50
- Joined: Thu Sep 23, 2021 12:26 pm
Re: Nagios xi - admin password lost
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.
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.

-
- Posts: 136
- Joined: Wed Jan 23, 2019 3:35 am
Re: Nagios xi - admin password lost
Thank you 
