Hi All,
I want to clear up all my historical data in the NagiosXI 2012R1.0 database, except Hosts, Services, Hostgroups an Servicegroups etc.
Is there a way to delete them, so i start witch all my hosts and services, and start over collecting data.
Best Regards,
Ton
Cleaning up the database
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Cleaning up the database
Which type of historical data?
THESE ARE NOT REVERSIBLE
Delete Performance data
Other historical data can be remove by lowering the times in Admin -> Performance Settings -> Database tab
Finally, historical availabity and logs can be removed by
THESE ARE NOT REVERSIBLE
Delete Performance data
Code: Select all
rm -rf /usr/local/nagios/share/perfdata/*Finally, historical availabity and logs can be removed by
Code: Select all
rm -f /usr/local/nagios/var/archives/*Re: Cleaning up the database
Thanks, i cleared the data. But it not filling with new performance data anymore.