Reset nagiosxi appliance pw from gui

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
RLD
Posts: 1
Joined: Wed Apr 15, 2015 5:43 pm

Reset nagiosxi appliance pw from gui

Post by RLD »

Hello,

Had a change of staff and we do not know the root pw for our nagios appliance. We are able to log into the GUI so I was wondering if we can reset the pw from their.

Running Nagiosxi 2014R1.3 on vmware esxi 5.1. Nagiosxi appears to be running cent os 6.5

We used to have it it licensed, but I belive it has expired...
Upon logging into the gui it complains about DB errors, but we still receive alerts.
The goal is to migrate the vm to another system, but we are unable to because we don't know the root password...

Cheers!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Reset nagiosxi appliance pw from gui

Post by lmiltchev »

You can reset nagiosadmin's password from the CLI by running the following commands:

Code: Select all

cd /usr/local/nagiosxi/scripts
./reset_nagiosadmin_password.php --password=<newpassword>
where you substitute <newpassword> with the actual password you want to use.

I would also recommend running the database repair script from with the same directory (scripts):

Code: Select all

./repair_databases.sh
You can use Nagios XI for free if you monitor up to 7 hosts. From the web UI, go to Admin->License Information->Free (Limited edition without support), and click on "Update License".

Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Reset nagiosxi appliance pw from gui

Post by Box293 »

RLD wrote:Had a change of staff and we do not know the root pw for our nagios appliance.
If you are talking about the CentOS password for root, follow this procedure:

http://wiki.centos.org/TipsAndTricks/ResetRootPassword
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked