Filters on sensu plugins


#1

Hello,

I have been going through the sensu documentation and have managed to setup my own playground environment. I am taking a look at the filter feature of sensu, and am trying to figure out how to use the filters with the pager duty plugin. It looks like filters are only evaluated on a handler definition. I don’t current have a handler definition for pager duty since it is a plugin. Is there a way to filter out events based off a fitler so that they do not go to pager duty?


#2

As far as I know, pagerduty is a handler. Are you using this?
https://github.com/sensu/sensu-community-plugins/blob/master/handlers/notification/pagerduty.rb

···

On Tue, May 5, 2015 at 11:49 AM, <qgriffith@saymedia.com> wrote:

Hello,

I have been going through the sensu documentation and have managed to setup
my own playground environment. I am taking a look at the filter feature of
sensu, and am trying to figure out how to use the filters with the pager
duty plugin. It looks like filters are only evaluated on a handler
definition. I don't current have a handler definition for pager duty since
it is a plugin. Is there a way to filter out events based off a fitler so
that they do not go to pager duty?