Closed sara4dev closed 7 years ago
@saravanakumar-periyasamy You need to update your handler config to change the default behavior of: handle_flapping to true. See here for more info: https://sensuapp.org/docs/0.24/reference/handlers.html#handler-configuration
just took a look at the code and it does require a minor tweak, I can open a PR for it if you want to do some testing.
@saravanakumar-periyasamy can you test my change and validate that this combined with the required config change works?
@majormoses - code does look good! I have the same change in my code & running for months now. My bad, I did not give the PR for that. Thanks for fixing it!
@saravanakumar-periyasamy no worries, can you comment on the PR saying you have tested it? This will help it typically get merged faster.
tested this code & fixes the issue! Infact I am running this code fix in prod for several months now.
I meant on the actual PR: https://github.com/sensu-plugins/sensu-plugins-pagerduty/pull/41 as you had already commented here.
Sensu can generate events with action
flapping
, and the handler should be able to create incident when events are flapping.