Page 5 of 5

Re: scheduled reporting not emailing

Posted: Thu Apr 25, 2013 4:54 pm
by abrist
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?
Yes:

Code: Select all

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.

Re: scheduled reporting not emailing

Posted: Fri Apr 26, 2013 12:27 pm
by mobiledataforce
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!

Re: scheduled reporting not emailing

Posted: Fri Apr 26, 2013 2:41 pm
by sreinhardt
There is no way to generate data in the past. However you can remove the rrd files and allow them to be recreated from current values.

Code: Select all

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]