No commit activity in last 3 years
No release in over 3 years
Sensu plugins for UPS units
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 0.10
~> 10.5
~> 3.2
~> 3.4
~> 0.40.0
~> 0.8

Runtime

 Project Readme

Sensu-Plugins-ups

Build Status Gem Version Code Climate Test Coverage Dependency Status

Functionality

check-nut

Checks each NUT (http://www.networkupstools.org/) managed UPS unit for the "OL" status

metrics-nut

Polls metrics from NUT (http://www.networkupstools.org/) monitored UPS units

apcupsd checks

Uses apcupsd (http://www.apcupsd.org/) to check battery time and levels

Files

  • bin/check-nut.rb
  • bin/metrics-nut.rb
  • bin/check-apcupsd-bcharge.rb
  • bin/check-apcupsd-timeleft.rb

Usage

check-apcupsd-timeleft

{
  "checks": {
    "check-apcupsd-timeleft": {
      "command": "check-apcupsd-timeleft.rb -w 5 -c 1"
    }
  }
}

check-apcupsd-bcharge

{
  "checks": {
    "check-apcupsd-bcharge": {
      "command": "check-apcupsd-bcharge.rb -w 80 -c 50"
    }
  }
}

Installation

To use the NUT checks, NUT must be installed and configured. See this guide to setting up NUT.

Installation and Setup

Notes