Permalink
Browse files

- First commit

  • Loading branch information...
1 parent 8c8b439 commit d39b3bdd1933232b988c2ed20e6254860529b700 @luizluca committed Jun 9, 2012
Showing with 6,341 additions and 0 deletions.
  1. +2,015 −0 NUT.mib
  2. +95 −0 ambient.txt
  3. +151 −0 battery.txt
  4. +32 −0 device.txt
  5. +39 −0 driver.txt
  6. +11 −0 gen.sh
  7. +199 −0 input.txt
  8. +89 −0 nuttable2snmp
  9. +119 −0 outlet.txt
  10. +47 −0 output.txt
  11. +15 −0 server.txt
  12. +3,234 −0 snmp.nut
  13. +295 −0 ups.txt
View
2,015 NUT.mib
Oops, something went wrong.
View
@@ -0,0 +1,95 @@
+ambient.temperature
+
+
+Ambient temperature (degrees C)
+
+
+25.40
+
+ambient.temperature.alarm
+
+
+Temperature alarm (enabled/disabled)
+
+
+enabled
+
+ambient.temperature.high
+
+
+Temperature threshold high (degrees C)
+
+
+40
+
+ambient.temperature.low
+
+
+Temperature threshold low (degrees C)
+
+
+5
+
+ambient.temperature.maximum
+
+
+Maximum temperature seen (degrees C)
+
+
+37.6
+
+ambient.temperature.minimum
+
+
+Minimum temperature seen (degrees C)
+
+
+18.1
+
+ambient.humidity
+
+
+Ambient relative humidity (percent)
+
+
+038.8
+
+ambient.humidity.alarm
+
+
+Relative humidity alarm (enabled/disabled)
+
+
+enabled
+
+ambient.humidity.high
+
+
+Relative humidity threshold high (percent)
+
+
+80
+
+ambient.humidity.low
+
+
+Relative humidity threshold high (percent)
+
+
+10
+
+ambient.humidity.maximum
+
+
+Maximum relative humidity seen (percent)
+
+
+60
+
+ambient.humidity.minimum
+
+
+Minimum relative humidity seen (percent)
+
+
+13
View
@@ -0,0 +1,151 @@
+battery.charge
+
+
+Battery charge (percent)
+
+
+100.0
+
+battery.charge.low
+
+
+Remaining battery level when UPS switches to LB (percent)
+
+
+20
+
+battery.charge.restart
+
+
+Minimum battery level for UPS restart after power-off
+
+
+20
+
+battery.charge.warning
+
+
+Battery level when UPS switches to "Warning" state (percent)
+
+
+50
+
+battery.voltage
+
+
+Battery voltage (V)
+
+
+24.84
+
+battery.capacity
+
+
+Battery capacity (Ah)
+
+
+7.2
+
+battery.current
+
+
+Battery current (A)
+
+
+1.19
+
+battery.temperature
+
+
+Battery temperature (degrees C)
+
+
+050.7
+
+battery.voltage.nominal
+
+
+Nominal battery voltage (V)
+
+
+024
+
+battery.runtime
+
+
+Battery runtime (seconds) Remaining battery runtime
+
+
+1080
+
+battery.runtime.low
+
+
+when UPS switches to LB (seconds)
+
+
+180
+
+battery.alarm.threshold
+
+
+Battery alarm threshold
+
+
+0 (immediate)
+
+battery.date
+
+
+Battery change date (opaque string)
+
+
+11/14/00
+
+battery.mfr.date
+
+
+Battery manufacturing date (opaque string)
+
+
+2005/04/02
+
+battery.packs
+
+
+Number of battery packs
+
+
+001
+
+battery.packs.bad
+
+
+Number of bad battery packs
+
+
+000
+
+battery.type
+
+
+Battery chemistry (opaque string)
+
+
+PbAc
+
+battery.protection
+
+
+Prevent deep discharge of battery
+
+
+yes
+
+battery.energysave
+
+
+Switch off when running on battery and no/low load
+
+
+no
View
@@ -0,0 +1,32 @@
+device.model
+
+
+Device model
+
+
+BladeUPS
+
+device.mfr
+
+
+Device manufacturer
+
+
+Eaton
+
+device.serial
+
+
+Device serial number (opaque string)
+
+
+WS9643050926
+
+device.type
+
+
+Device type (ups, pdu, scd)
+
+
+ups
+
View
@@ -0,0 +1,39 @@
+driver.name
+
+
+Driver name
+
+
+usbhid-ups
+
+driver.version
+
+
+Driver version (NUT release)
+
+
+X.Y.Z
+
+driver.version.internal
+
+
+Internal driver version (if tracked separately)
+
+
+1.23.45
+
+driver.parameter.xxx
+
+
+Parameter xxx (ups.conf or cmdline -x) setting
+
+
+(varies)
+
+driver.flag.xxx
+
+
+Flag xxx (ups.conf or cmdline -x) status
+
+
+enabled (or absent)
View
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+./nuttable2snmp -v TABLE=device -v ID=4 < device.txt; echo
+./nuttable2snmp -v TABLE=ups -v INDEX=device < ups.txt; echo
+./nuttable2snmp -v TABLE=input -v INDEX=device < input.txt; echo
+./nuttable2snmp -v TABLE=output -v INDEX=device < output.txt; echo
+./nuttable2snmp -v TABLE=battery -v INDEX=device< battery.txt; echo
+./nuttable2snmp -v TABLE=ambient -v INDEX=device< ambient.txt; echo
+./nuttable2snmp -v TABLE=outlet -v INDEX=device< outlet.txt; echo
+./nuttable2snmp -v TABLE=driver -v INDEX=device< driver.txt; echo
+./nuttable2snmp -v TABLE=server -v INDEX=device< server.txt; echo
Oops, something went wrong.

0 comments on commit d39b3bd

Please sign in to comment.