Warning
This repository is scheduled to be archived on 13th November 2026.
After that date it will be read-only: no new commits, issues, or pull requests, and no further maintenance or security updates will be issued.
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"]
}
}
}