flapping configuration

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
idas
Posts: 14
Joined: Mon Oct 03, 2011 2:48 am

flapping configuration

Post by idas »

Hello,

I have enabled flapping for all hosts and services but i have some questions on that.

I read that flapping store the last 21 states of a host or service.
Then it compares the amount of state changes that happened in that period (21 checks)
and decide if the host is flapping.

By default, when there are more than 50% state changes (more than 11 out of 21) host consider to start flapping.
When there are less than 25% state changes (less than 5 out of 21) host consider to stop flapping.

1)The numbers 50% and 25% can be changed. Can i change somehow the total states that it stores (21)?

2)when i checked the logs from host notification, in order to check if the flapping message was send to me correctly, i found out that flapping starts always
with less than 50% state changes (but not always the same). Are the numbers that i wrote correct or i have understand something wrong?


Thank you very much,
John
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: flapping configuration

Post by scottwilkerson »

1) The total 21 checks is hard coded
idas wrote:2)when i checked the logs from host notification, in order to check if the flapping message was send to me correctly, i found out that flapping starts always
with less than 50% state changes (but not always the same). Are the numbers that i wrote correct or i have understand something wrong?
This is almost correct.

The think that make it vary is because the 21 checks are weighted where more recent checks have more weight than the older checks when figuring out the percentage.

http://nagios.sourceforge.net/docs/3_0/flapping.html
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked