Page 1 of 1

Service Notes says service is flapping but flapping disabled

Posted: Mon Mar 25, 2013 10:05 pm
by manymiles
In my Nagios XI 2012R1.6, I have a service that I configured to have flapping disabled.

I think I have successfully disabled flapping because if I go to "See this service in Nagios Core", it reports "Flap Detection: Disabled" and on the Advanced page of the Nagios XI web GUI, the "Flap Detection" indicator is gray with a green check mark next to that.

However, also on the advanced page, it says:

Service Notes:
Service is flapping between states

I may have disabled flap detection while the service was flapping. Is this part of the problem? If so, how do I clear that Note?

Thanks for any help provided.

Re: Service Notes says service is flapping but flapping disa

Posted: Tue Mar 26, 2013 9:17 am
by scottwilkerson
This will likely change one the service comes out of flapping.

The only way to force it would be to remove all the current retention data out of Nagios and set all the checks back to pending

to do this you would run

Code: Select all

service nagios stop
then move the retention.dat file

Code: Select all

mv /usr/local/nagios/var/retention.dat /usr/local/nagios/var/retention.dat~
service nagios start
This will set all the checks to a pending state until all of the items have been checked

Re: Service Notes says service is flapping but flapping disa

Posted: Tue Mar 26, 2013 12:29 pm
by manymiles
Thanks for the feedback.

I ended up deleting and re-adding the service for other reasons which also did the trick.

Miles

Re: Service Notes says service is flapping but flapping disa

Posted: Tue Mar 26, 2013 12:32 pm
by slansing
Excellent, thanks for letting us know.