Select Supported Platforms

Select Supported Architectures

Select Tier

Github Name


v2.0.0-bonsai.0.1 · public · Published over 5 years ago

README
Asset Definition
Release Notes
Release Assets

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

Are you sure you want to report this asset?

Please describe the reason for reporting this asset. Our moderators will be notified and will disable the asset if it is found to be inappropriate.

×

You must be signed in to report this asset.

Sign In with Github

Download

×

Either download the source code:

Download Source

Or download the asset definition: