Nagios XI Admin Login Reset

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
GacoAdmin110
Posts: 33
Joined: Mon Aug 31, 2015 1:30 pm

Nagios XI Admin Login Reset

Post by GacoAdmin110 »

Good Afternoon,

One of my site admins has reset the Admin account to log into the command line/Centos OS for my Nagios XI server.

The web portal works just fine, but I need to log into the command line to do some cleanup & adjust disk size.

Is there anyway to log into the command line to reset the password? I have tried root, nagiosxi, and nagiosadmin accounts with the defaults & our own known passwords...no luck.

Thnx much

Mike
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios XI Admin Login Reset

Post by dwhitfield »

If I understand the situation correctly, you are going to need to talk to the site admin that changed the password.

Just to clarify though, everything in Nagios works fine, correct?
GacoAdmin110
Posts: 33
Joined: Mon Aug 31, 2015 1:30 pm

Re: Nagios XI Admin Login Reset

Post by GacoAdmin110 »

Yes, everything is working correctly through the web console.

Unfortunately that particular site admin is no longer with us so I have to find another way. Or I will have to do a full backup & redo the server entirely...ugh.

Thnx
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios XI Admin Login Reset

Post by tmcdonald »

You can try something like this:

https://access.redhat.com/documentation ... asswd.html

But I need to stress that this is out of scope of our support and is not guaranteed/recommended/suggested/etc.
Former Nagios employee
chadw
Posts: 2
Joined: Wed Nov 30, 2016 12:25 pm

Re: Nagios XI Admin Login Reset

Post by chadw »

I would like to add to this discussion:

We just terminated an employee who had only setup himself as administrator, no one else has ANY access. We cannot login to the web portal, is there a way around this? We may have the root password to the CentOS box.

Thanks!!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios XI Admin Login Reset

Post by tmcdonald »

If you do have access, there is a reset script located at /usr/local/nagiosxi/scripts/reset_nagiosadmin_password.php:

Code: Select all

[root@localhost scripts]# ./reset_nagiosadmin_password.php
Nagios XI Admin Password Reset Tool
Copyright (c) 2016 Nagios Enterprises, LLC

Usage: ./reset_nagiosadmin_password.php --password=<newpassword>

Resets password used to login to the Nagios XI interface as the nagiosadmin user.
Former Nagios employee
chadw
Posts: 2
Joined: Wed Nov 30, 2016 12:25 pm

Re: Nagios XI Admin Login Reset

Post by chadw »

You ROCK!!!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios XI Admin Login Reset

Post by tmcdonald »

I do what I can :)

Going to lock this up now though since the web account reset script has been shared, and we can't much help with a locked-out root account.
Former Nagios employee
Locked