Page 1 of 1

Nagios_log entries table

Posted: Tue Oct 20, 2020 10:27 am
by nms
Hi,

Is there a way to disable the nagfios_logentries table at all?

Or else if we just put a "0" for the MAX time in DAYS to keep in Performance Settings/Database/NDO Database/Max Log Entries Age:, will that suffice?

Rgds,
Matthew

Re: Nagios_log entries table

Posted: Wed Oct 21, 2020 10:29 am
by benjaminsmith
HI Matthew,

Testing the 0 option on my system, and it looks like it will keep the table empty table.

Also, you can run the following command from the terminal to truncate this table.

Code: Select all

mysql -u ndoutils -pn@gweb nagios -e 'TRUNCATE TABLE nagios_logentries'
Let me know if you have further questions or need assistance.

Regards,
Benjamin

Re: Nagios_log entries table

Posted: Thu Oct 22, 2020 4:10 am
by nms
Thanks Benjamin,
No further assistance required. You can mark this as locked/closed

Re: Nagios_log entries table

Posted: Thu Oct 22, 2020 7:20 am
by scottwilkerson
nms wrote:Thanks Benjamin,
No further assistance required. You can mark this as locked/closed
Great!

Locking thread