Sensu-Plugins-logs

Build Status Gem Version Code Climate Test Coverage Dependency Status

Functionality

Files

  • bin/check-journal.rb
  • bin/check-log.rb
  • bin/handler-logevent.rb
  • bin/handler-show-event-config.rb

Usage

handler-logevent

{
  "logevent": {
    "eventdir": "/var/log/sensu/events",
    "keep": 10
  }
}

Installation

Installation and Setup

Notes

Using this plugin with Sensu Go

  • To use included handlers with Sensu Go, use --map-go-event-into-ruby argument or set environment variable SENSU_MAP_GO_EVENT_INTO_RUBY=1

  • Make sure necessary handler configuration json exists under /etc/sensu/conf.d/ or at a path in the colon separated list of files in the environment variable SENSU_CONFIG_FILES