nagios-charmers team mailing list archive
-
nagios-charmers team
-
Mailing list archive
-
Message #00717
[Merge] nagios-charm:flap-detection into nagios-charm:master
The proposal to merge nagios-charm:flap-detection into nagios-charm:master has been updated.
Commit message changed to:
Add flap detection configuration option.
This merge introduces a new configuration item "flap_detection".
It controls whether or not flap detection is enabled in Nagios. The default is true, which matches the present hard-coded default in the Nagios configuration template.
Additionally, I have added a function to the hooks library that will convert a python boolean type (which is returned by hookenv.config for a boolean type config item) into Nagios's preferred 0/1 integer representation for on/off states. This new setting uses the function, but I have not altered the behaviour of any existing settings and their rendering into the configuration file. It simply typecasts the boolean type as int, which achieves the desired result.
For more details, see:
https://code.launchpad.net/~nagios-charmers/nagios-charm/+git/nagios-charm/+merge/375524
--
Your team Nagios Charm developers is requested to review the proposed merge of nagios-charm:flap-detection into nagios-charm:master.
References