deleting nagios_logentries entries

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
paul.jobb
Posts: 167
Joined: Tue Aug 02, 2011 4:37 pm

deleting nagios_logentries entries

Post by paul.jobb »

Hi

Is there a way to have ndo remove records from nagios_logentries based on age? My table indexes corrupted last week on that table and had to be repaired and finally truncated inorder to get my nagios server stable again.

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

Re: deleting nagios_logentries entries

Post by scottwilkerson »

Yep.

In XI, go to
Admin -> Performance Settings -> Database tab -> NDOUtils Database section
set
Max Log Entries Age: = Max time in DAYS to keep log entries.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
paul.jobb
Posts: 167
Joined: Tue Aug 02, 2011 4:37 pm

Re: deleting nagios_logentries entries

Post by paul.jobb »

well duhhhh on me lol, that was easy enough. Thanks Scott
Locked