Clear Host Availability and Service Availability charts?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
riahc3
Posts: 79
Joined: Thu Apr 05, 2018 9:36 am

Clear Host Availability and Service Availability charts?

Post by riahc3 »

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?
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?

Post by scottwilkerson »

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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked