Page 1 of 1

Reset Core Config Manager password

Posted: Thu Aug 11, 2011 3:36 am
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.

Re: Reset Core Config Manager password

Posted: Thu Aug 11, 2011 9:22 am
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?

Re: Reset Core Config Manager password

Posted: Thu Aug 11, 2011 12:41 pm
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.

Re: Reset Core Config Manager password

Posted: Fri Aug 12, 2011 9:35 am
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?

Re: Reset Core Config Manager password

Posted: Fri Aug 12, 2011 9:42 pm
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.

Re: Reset Core Config Manager password

Posted: Mon Aug 15, 2011 10:30 am
by mguthrie
Good to know, thanks for the heads up!