Audit logs not displaying users

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
tonyleatwork
Posts: 91
Joined: Mon Jul 07, 2014 8:55 am

Audit logs not displaying users

Post by tonyleatwork »

Hi -

I had a recent incident where a host notification was disabled and the host went down. I need to know which user did it but the audit log only specifies the event but not a user. Is this data captured somewhere and if not, how do I enable it?
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Audit logs not displaying users

Post by bwallace »

That's odd. Are you using an older version of XI? The audit log in my 5.2.8 version shows the user...
You do not have the required permissions to view the files attached to this post.
Be sure to check out the Knowledgebase for helpful articles and solutions!
tonyleatwork
Posts: 91
Joined: Mon Jul 07, 2014 8:55 am

Re: Audit logs not displaying users

Post by tonyleatwork »

Actually you're right - some of them shows a user but this one just says:

2016-06-03 09:56:32 43035 Nagios XI INFO localhost cmdsubsys: User submitted a command to Nagios Core: ENABLE_HOST_NOTIFICATIONS;<Hostname>

So items done in Nagios core doesn't log?
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Audit logs not displaying users

Post by rkennedy »

It does not, because the way Core authenticates vs XI are completely different. They both do their own logging independently.

I created a feature request to have the dev's look further into the auditing in regards to Core, so that hopefully it'll be possible to see which core user submitted the command. The ID is #8709.
Former Nagios Employee
tonyleatwork
Posts: 91
Joined: Mon Jul 07, 2014 8:55 am

Re: Audit logs not displaying users

Post by tonyleatwork »

Thanks for this.

I think a work around is to look at the audit log immediately before that who submitted the command. Unfortunately when you search by host - that submission doesn't show up.

We can close this case. Thanks.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Audit logs not displaying users

Post by mcapra »

Glad you were able to find a solution! Locking this
Former Nagios employee
https://www.mcapra.com/
Locked