How To Reset Nagios State
![Published Date](https://www.ericmichaelstone.com/wp-content/themes/me3/images/calendar.png)
Every once in a while there is a hiccup in my internet service and every host that Nagios monitors shows DOWN. In those situations, I do not need the hundreds of the emails and text messages generated by Nagios.
Here is the procedure for resetting Nagios v3.5.0 running on MacOSX 10.6.8 via a MacPorts install:
1 2 3 |
/opt/local/var/nagios/nagios.init stop mv /opt/local/var/nagios/retention.dat /opt/local/var/nagios/retention.dat.OLD /opt/local/var/nagios/nagios.init start |
As always, YMMV!
For further Reading:
How To Check Amazon RDS MySQL Servers in Nagios Without Ping
Leave Your Comment![Leave a comment](https://www.ericmichaelstone.com/wp-content/themes/me3/images/comments.png)
All fields marked with "*" are required.