External results input - handlers


#1

Hi

Recently I started to use this unknown feature since I want to use a cron job for a specific check.

But when I set this to send alerts to my Sensu server, I couldn’t found how do I handle the events in the Sensu server.

Do you know how to add handlers to the external results output events?

Thanks,

David


#2

Any JSON sent to the localhost socket can specify a "handlers": array
like any other standalone check.
The handlers you choose must be defined on the Sensu server like normal.

···

On Wed, Nov 19, 2014 at 3:55 AM, David Mark <mim770@gmail.com> wrote:

Hi

Recently I started to use this unknown feature since I want to use a cron
job for a specific check.
But when I set this to send alerts to my Sensu server, I couldn't found how
do I handle the events in the Sensu server.

Do you know how to add handlers to the external results output events?

Thanks,
David