Reset Core Config Manager password

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
cwscribner
Posts: 316
Joined: Thu Mar 31, 2011 9:54 am
Location: Patten, ME
Contact:

Reset Core Config Manager password

Post by cwscribner »

Hi all.

How do I reset the core config manager password? I tried using the "Reset Security Credentials" but it doesn't work. Every time I go to Core Config Manager page, it instantly tells me "Login Failed!" before I enter any credentials. I've tried a plethora of passwords including the default ones but nothing works.
Last edited by cwscribner on Thu Aug 11, 2011 12:41 pm, edited 1 time in total.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Reset Core Config Manager password

Post by nscott »

You could see what nagiosql is thinking your password is by running this command:

mysql -u root -pnagiosxi nagiosql -e "SELECT password FROM tbl_user WHERE username='nagiosadmin';"

That should return the md5 of password, which you can plugin to a site like http://www.stringfunction.com/md5-decrypter.html .

And just for clarification, you mean "Reset Security Credentials" on the Admin page of Nagios XI correct?
Nicholas Scott
Former Nagios employee
cwscribner
Posts: 316
Joined: Thu Mar 31, 2011 9:54 am
Location: Patten, ME
Contact:

Re: Reset Core Config Manager password

Post by cwscribner »

Right, "Reset Security Credentials" on the admin page didn't work. I used your suggestion to figure out the old password then updated it after logging into the core config manager.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Reset Core Config Manager password

Post by mguthrie »

It seems odd that updating the CCM password through the Admin menu didn't work. Have you changed the DB password for any of the subsystem accounts on your machine? The DB usernames and passwords that XI uses internally are located in the /usr/local/nagiosxi/html/config.inc.php file. Can you verify that these haven't been changed or updated?
cwscribner
Posts: 316
Joined: Thu Mar 31, 2011 9:54 am
Location: Patten, ME
Contact:

Re: Reset Core Config Manager password

Post by cwscribner »

Ah, your reply just triggered a thought. I attempted to login to the Config Manager after going through part of the process for offloading mysql. I altered the nagiosql and ndoutils arrays per the documentation. This is probably something that should be added to the documentation as it stopped me from completing my last step of the offloading mysql process.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Reset Core Config Manager password

Post by mguthrie »

Good to know, thanks for the heads up!
Locked