This plugin provides native instrumentation for monitoring log files or system logs via journald for regular expressions, and a Sensu handler for logging Sensu events to log files.
Ruby
Clone or download
cgeers and majormoses Option descriptions (#33)
* correct descriptions and crit and warn options

* handle required options

* update changelog

* set critical as default severity

* use integration testing framework
Latest commit 22d5673 Mar 30, 2018

README.md

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