Page 2 of 2

Re: find process flooding my system

Posted: Mon Dec 10, 2012 8:26 pm
by ytlcomm
For now I will remove this manually. But later, did Nagios remove this automatically? We're in the middle of integrating new hosts into our Nagios system and this will generate more backup files isn't it?

- Faiz

Re: find process flooding my system

Posted: Tue Dec 11, 2012 10:49 am
by mguthrie
Nagios XI is supposed to clean up these files automatically, that's what the cleaner.php cron job normally does. I'm not entirely sure *why this occurred, because I haven't seen this particular issue before. The subscript that was failing simply runs the following command:

Code: Select all

find /etc/nagiosql/backup -mmin +1440 -type f -exec rm -f {} \;
Which removes any config files older than one week from that directory.

Re: find process flooding my system

Posted: Tue Dec 11, 2012 9:37 pm
by ytlcomm
We will proceed to manually remove all the file and closely monitor it's condition after this. Thanks.

Re: find process flooding my system

Posted: Wed Dec 12, 2012 10:17 am
by mguthrie
Ok, let us know if this issue shows up again, thanks for the update!