We are setting up a dashboard to show with Host Availability and Service Availability charts but with tests, there are a lot of unknowns
https://i.imgur.com/fHMAWoL.png
How can we clear/reset that to show 0% on everything?
Clear Host Availability and Service Availability charts?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Clear Host Availability and Service Availability charts?
You can but this will remove all the historical logs out of Nagios, so I would suggest moving them to a temp location in case this is not the desired result
Code: Select all
mkdir -p /tmp/nagios/archives
mv /usr/local/nagios/var/archives/* /tmp/nagios/archives
cp /usr/local/nagios/var/nagios.log /tmp/nagios/archives
cat /dev/null > /usr/local/nagios/var/nagios.log