Handlers in any language?


#1

Hello,

Can we write the handlers in any language? If so, do we need to do any extra config changes to integrate them?

In the faq i can see:

“If your event handler uses the sensu-plugin library,
Sensu::Handler, you can add refresh to your check definitions,
with a numeric value representing time in seconds.”

Thanks


#2

You can write handlers in any language; they must be able to read event data via STDIN, and parse it (JSON). Handlers can include various libraries, such as sensu-plugin, that provide boilerplate and/or custom logic.

Sean.

···

On Mar 17, 2015 9:46 PM, “spn p” warpdrive47@gmail.com wrote:

Hello,

Can we write the handlers in any language? If so, do we need to do any extra config changes to integrate them?

In the faq i can see:

“If your event handler uses the sensu-plugin library, Sensu::Handler, you can add refresh to your check definitions, with a numeric value representing time in seconds.”

Thanks