Handler Extension & severities


#1

Hi all,

I’ve written a Handler Extension (sensu 0.12.6) and would like it to process all events, regardless of severity. For handlers based on sensu-plugin I believe I can add severities list to the sensu handler config, such as:

severities: [ “ok”, “warning”, “critical”, “unknown” ]

How can do the same for a Handler Extension? It looks like the severities aren’t loaded in sensu/lib/extensions.rb? Have I understood this correctly?

Appreciate any suggestions/advice you have.

Thanks,

Mark