Hi,
Nagios logs growing up. Please help me if I can remove this logs? (paths below) without any issues? Or if is some script to trunkate it:
16G /usr/local/nagios
8.0G /usr/local/nagios/share
8.0G /usr/local/nagios/share/perfdata
7.6G /usr/local/nagios/var
7.6G /usr/local/nagios/var/archives
15G /usr/local/nagiosxi
3.0G /usr/local/nagiosxi/var/event_handler.log
6.4G /usr/local/nagiosxi/var/eventman.log
3.3G /usr/local/nagiosxi/var/sysstat.log
Nagios logs growing up
Re: Nagios logs growing up
Hello providentpolska,
Thank you for reaching out, you could run the following commands to empty the files.
echo '' > /usr/local/nagiosxi/var/event_handler.log
echo '' > /usr/local/nagiosxi/var/eventman.log
echo '' > /usr/local/nagiosxi/var/sysstat.log
As far as no issues that depends on how much you value those log files.
Thank you for reaching out, you could run the following commands to empty the files.
echo '' > /usr/local/nagiosxi/var/event_handler.log
echo '' > /usr/local/nagiosxi/var/eventman.log
echo '' > /usr/local/nagiosxi/var/sysstat.log
As far as no issues that depends on how much you value those log files.
Cody Byers
-
- Posts: 14
- Joined: Fri Jan 10, 2020 2:58 am
Re: Nagios logs growing up
Thank you, logs has been removed.