No commit activity in last 3 years
No release in over 3 years
The Sensu Core built-in debug handler
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
 Dependencies

Development

Runtime

 Project Readme

Sensu::Extensions::Debug

This handler extension provides the Sensu Core built-in handler debug.

This handler will return the raw event data (JSON), which will be logged by the Sensu server process.

Configuration

The debug handler is included in every install of Sensu. To apply the handler to a check, use the "handler" or "handlers" check definition attribute.

For example:

{
  "checks": {
    "check-http": {
      "...": "...",
      "handler": "debug"
    }
  }
}

or

{
  "checks": {
    "check-http": {
      "...": "...",
      "handlers": ["debug"]
    }
  }
}

You can use the debug as the default Sensu event handler, by using a handler set for default.

For example:

{
  "handlers": {
    "default": {
      "type": "set",
      "handlers": ["debug"]
    }
  }
}