Page 1 of 1

Reset nagiosxi appliance pw from gui

Posted: Wed Apr 15, 2015 5:50 pm
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!

Re: Reset nagiosxi appliance pw from gui

Posted: Thu Apr 16, 2015 8:41 am
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.

Re: Reset nagiosxi appliance pw from gui

Posted: Thu Apr 16, 2015 7:37 pm
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