lib/arborist/monitor/snmp/ups.rb
author Katelyn Schiesser <kschiesser@laika.com>
Thu, 18 Apr 2019 12:50:45 -0700
changeset 23 a363d4d5a895
parent 20 00a38d493f2c
permissions -rw-r--r--
UPSes that have not yet been on battery apparently do not report 'est_minutes_remaining'
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
20
00a38d493f2c add UPS monitoring capability
Katelyn Schiesser <kschiesser@laika.com>
parents:
diff changeset
     1
# -*- ruby -*-
00a38d493f2c add UPS monitoring capability
Katelyn Schiesser <kschiesser@laika.com>
parents:
diff changeset
     2
# vim: set noet nosta sw=4 ts=4 :
00a38d493f2c add UPS monitoring capability
Katelyn Schiesser <kschiesser@laika.com>
parents:
diff changeset
     3
00a38d493f2c add UPS monitoring capability
Katelyn Schiesser <kschiesser@laika.com>
parents:
diff changeset
     4
require 'arborist/monitor/snmp' unless defined?( Arborist::Monitor::SNMP )
00a38d493f2c add UPS monitoring capability
Katelyn Schiesser <kschiesser@laika.com>
parents:
diff changeset
     5
00a38d493f2c add UPS monitoring capability
Katelyn Schiesser <kschiesser@laika.com>
parents:
diff changeset
     6
# Namespace for UPS check classes.
00a38d493f2c add UPS monitoring capability
Katelyn Schiesser <kschiesser@laika.com>
parents:
diff changeset
     7
class Arborist::Monitor::SNMP::UPS
00a38d493f2c add UPS monitoring capability
Katelyn Schiesser <kschiesser@laika.com>
parents:
diff changeset
     8
	include Arborist::Monitor::SNMP
00a38d493f2c add UPS monitoring capability
Katelyn Schiesser <kschiesser@laika.com>
parents:
diff changeset
     9
00a38d493f2c add UPS monitoring capability
Katelyn Schiesser <kschiesser@laika.com>
parents:
diff changeset
    10
end