nagios audit logs - only 30 days

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
elinagios
Posts: 146
Joined: Thu Feb 16, 2017 3:45 am

nagios audit logs - only 30 days

Post 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.
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: nagios audit logs - only 30 days

Post 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.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
elinagios
Posts: 146
Joined: Thu Feb 16, 2017 3:45 am

Re: nagios audit logs - only 30 days

Post 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.
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: nagios audit logs - only 30 days

Post 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.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
elinagios
Posts: 146
Joined: Thu Feb 16, 2017 3:45 am

Re: nagios audit logs - only 30 days

Post by elinagios »

Solved.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: nagios audit logs - only 30 days

Post by scottwilkerson »

elinagios wrote:Solved.
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked