mobiledataforce wrote:This is unrelated, but is there a way for me to "reset" the monitoring now that I have all the kinks worked out as such that the percentages for up/down/availability will reset?
service nagios stop
rm /usr/local/nagios/var/retention.dat
service nagios start
All the checks will register as "Pending" until they check for the first time. This will preserve perfdata graphs.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
This doesn't seem to reset percentages. Preserving the graph data is great, but I would like the reports to reset as such that they show 100% availability (for now).
Thanks!
If you wish to remove ALL checks like that:
rm -rf /usr/local/nagios/share/perfdata
Otherwise if you only want to remove specific ones:
rm -rf /usr/local/nagios/share/perfdata/[IP or hostname to remove]
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.