Page 1 of 1

nagios audit logs - only 30 days

Posted: Thu Oct 15, 2020 4:39 am
by elinagios
Hello

For some reason my audit logs (from web-ui admin-audit logs) show only the last 30 days info(changing different time periods dont help). Not sure what has caused this but in the history i have used that function and then i could see logs from all sort of history. Are the audit logs written somewhere in log file also where i could check what's the latest info there?
2 weeks ago i updated nagiosxi 5.6.14 -> 5.7.3 maybe that has something to do with it. The upgrade process went smoothly and there werent any issues.

Thank you.

Re: nagios audit logs - only 30 days

Posted: Thu Oct 15, 2020 2:22 pm
by dchurch
Hi!

The Max Audit Log Age setting is controlled through the admin screens. You can get to it through Admin => System Config -> Performance Settings, then click on the Database tab. The default in Nagios XI 5.7.3 is 180 days.

Another possibility is that the audit log was truncated when the upgrade happened, but that's a somewhat remote possibility.

Re: nagios audit logs - only 30 days

Posted: Fri Oct 16, 2020 12:39 am
by elinagios
Thank you.
It seems it somehow the max audit age was set to 30 days. Im sure in the past i have searched into further than that. I checked my test environment and it seems there is 30 days also and that is rather all default installation. So maybe upgrade process changes the default value from 180 -> 30 days.

Re: nagios audit logs - only 30 days

Posted: Fri Oct 16, 2020 11:15 am
by dchurch
Sounds like that solved your problem.

Let us know if you have any related questions or if we're okay to lock this up and mark it as resolved.

Re: nagios audit logs - only 30 days

Posted: Mon Oct 19, 2020 1:56 am
by elinagios
Solved.

Re: nagios audit logs - only 30 days

Posted: Mon Oct 19, 2020 7:14 am
by scottwilkerson
elinagios wrote:Solved.
Great!

Locking thread