Nagios Upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
steelwedge
Posts: 69
Joined: Fri Apr 24, 2015 4:58 am

Nagios Upgrade

Post by steelwedge »

Dear Team,

We observed that our Nagios XI set up was upgraded recently, would like to the user ID through which it got upgraded. We verified the upgrade log and didn't find any user id in it, is there any other log file where can I get this(User ID ), unfortunately we are having more than 15 users with admin privileges.

-Mohan
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Nagios Upgrade

Post by eloyd »

nagios does not update itself. It must be executed as an upgrade procedure from the command line. You would have to look at your Unix accounting logs to find out what commands were typed by which person to determine who issued the upgrade command. This is not something nagios keeps track of.

Stat with the "lastcomm" command and check for each of your users with root access to see which one became root and executed the upgrade.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Nagios Upgrade

Post by hsmith »

Thanks Eric. That's on point.
Former Nagios Employee.
me.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Nagios Upgrade

Post by Box293 »

Perhaps someone upgraded through the Web Interface?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Nagios Upgrade

Post by eloyd »

True, in which case the /var/log/httpd/access.log would have a mention of "/nagiosxi/admin/updates.php" in the log file, along with the IP address of the computer that initiated it.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios Upgrade

Post by lmiltchev »

steelwedge, did eloyd answer your question?
Be sure to check out our Knowledgebase for helpful articles and solutions!
steelwedge
Posts: 69
Joined: Fri Apr 24, 2015 4:58 am

Re: Nagios Upgrade

Post by steelwedge »

Thank you all, I am able to find the user ID who did the upgrade using web interface in the access log files in the below location.

/var/log/httpd
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Nagios Upgrade

Post by eloyd »

Glad to be of help.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios Upgrade

Post by lmiltchev »

Thank you all, I am able to find the user ID who did the upgrade using web interface in the access log files in the below location.
Great! I am glad your issue has been resolved! I am locking this topic.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked