Huge files in /var.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
prateekagr1988
Posts: 62
Joined: Fri Sep 26, 2014 7:21 pm

Re: Huge files in /var.

Post by prateekagr1988 »

abrist wrote:Files located in the directory: /var/lib/mysql/nagios are tables. You could truncate those tables, or decrease their retention window through Admin --> Performance --> Databases.
I don't see the option in Nagios XI 2012R1.2. Please suggest how to truncate those tables or decrease the retention window.
Also, what could be the impact of either of the tasks.
prateekagr1988 wrote:Please suggest on how to housekeep those, and re-direct to a different file system from /var.
abrist wrote:Well, you would need to move the default location for the database files. Have you considered creating a new mount for /var? Nagios XI systems will make heavy use of /usr and /var.
prateekagr1988 wrote:468.0MB 2014-12-08 nagios /var/spool/mail/nagios
Empty the mail file . . .[/quote]
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Huge files in /var.

Post by abrist »

prateekagr1988 wrote: I don't see the option in Nagios XI 2012R1.2. Please suggest how to truncate those tables or decrease the retention window.
Do you have a list of options on the databases tab of the performance settings page? If so, decrease the days for the table in question.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked