Hello,
Our Nagios server is showing an alert on local host/root partition. Before asking server guys to allocate more space, is there any directory that we can cleanup, such as temporary files, logs, etc.?
Thanks
Cleanup and free up server space
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Cleanup and free up server space
What version of XI are you running? New versions have /etc/logrotate.d/nagiosxi, which could be useful (and of course /etc/logrotate.d/ in general)
Certainly /tmp could be useful.
In an immediate sense, du -hsx * | sort -rh | head -10 could be useful, but just clearing out space is likely to be a temporary measure.
Certainly /tmp could be useful.
In an immediate sense, du -hsx * | sort -rh | head -10 could be useful, but just clearing out space is likely to be a temporary measure.
-
caterpillartce
- Posts: 117
- Joined: Mon Jul 11, 2016 11:22 am
Re: Cleanup and free up server space
We are on 5.4.5.
Can I delete these in the /tmp directory? I suppose they were from last time we upgraded Nagios:
see attached screenshot.
Thanks!
Can I delete these in the /tmp directory? I suppose they were from last time we upgraded Nagios:
see attached screenshot.
Thanks!
You do not have the required permissions to view the files attached to this post.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Cleanup and free up server space
You might want to see if those are backed up elsewhere, but yes.