Alan Gregory 0dfc48d8c1 newdevice: Added additional sensors for logmaster Os
* Disabled rfc1628, to many false positives.

* Added compatible sensors.
2017-10-30 19:38:23 +00:00

128 lines
5.6 KiB
YAML

mib: UPS-MIB:XPPC-MIB
modules:
sensors:
charge:
data:
-
oid: upsSmartBatteryCapacity
num_oid: .1.3.6.1.4.1.935.1.1.1.2.2.1.
index: 'upsSmartBatteryCapacity.{{ $index }'
descr: Battery charge remaining
temperature:
data:
-
oid: upsSmartBatteryTemperature
num_oid: .1.3.6.1.4.1.935.1.1.1.2.2.3.
index: 'upsSmartBatteryTemperature.{{ $index }}'
descr: Battery
divisor: 10
-
oid: upsEnvTemperature
num_oid: .1.3.6.1.4.1.935.1.1.1.9.1.1.
index: 'upsEnvTemperature.{{ $index }}'
descr: Environment
humidity:
data:
-
oid: upsEnvHumidity
num_oid: .1.3.6.1.4.1.935.1.1.1.9.1.2.
index: 'upsEnvHumidity.{{ $index }}'
descr: Environment
voltage:
data:
-
oid: upsSmartBatteryVoltage
num_oid: .1.3.6.1.4.1.935.1.1.1.2.2.2.
index: 'upsSmartBatteryVoltage.{{ $index }}'
descr: Battery Voltage
divisor: 10
-
oid: upsSmartInputLineVoltage
num_oid: .1.3.6.1.4.1.935.1.1.1.3.2.1.
index: 'upsSmartInputLineVoltage.{{ $index }}'
descr: Input Voltage
divisor: 10
-
oid: upsSmartOutputVoltage
num_oid: .1.3.6.1.4.1.935.1.1.1.4.2.1.
index: 'upsSmartOutputVoltage.{{ $index }}'
descr: Output Voltage
divisor: 10
load:
data:
-
oid: upsSmartOutputLoad
num_oid: .1.3.6.1.4.1.935.1.1.1.4.2.3.
index: 'upsSmartOutputLoad.{{ $index }}'
descr: 'Output Load'
runtime:
data:
-
oid: upsSecondsOnBattery
num_oid: .1.3.6.1.2.1.33.1.2.2.
index: 'upsSecondsOnBattery.{{ $index }}'
descr: 'Time running on battery'
divisor: 60
current:
data:
-
oid: upsSmartBatteryCurrent
num_oid: .1.3.6.1.4.1.935.1.1.1.2.2.7.
index: 'upsSmartBatteryCurrent.{{ $index }}'
descr: Battery Current
state:
data:
-
oid: upsBaseBatteryStatus
num_oid: .1.3.6.1.4.1.935.1.1.1.2.1.1.
descr: Battery Status
index: 'upsBaseBatteryStatus.{{ $index }}'
state_name: upsBaseBatteryStatus
states:
- { descr: unknown, graph: 0, value: 1, generic: 3 }
- { descr: BatteryNormal, graph: 0, value: 2, generic: 0 }
- { descr: BatteryLow, graph: 0, value: 3, generic: 1 }
-
oid: upsSmartBatteryReplaceIndicator
num_oid: .1.3.6.1.4.1.935.1.1.1.2.2.5.
descr: Battery Replace Status
index: 'upsSmartBatteryReplaceIndicator.{{ $index }}'
state_name: upsSmartBatteryReplaceIndicator
states:
- { descr: noBatteryNeedsReplacing, graph: 0, value: 1, generic: 0 }
- { descr: batteryNeedsReplacing, graph: 0, value: 2, generic: 2 }
-
oid: upsBaseOutputStatus
num_oid: .1.3.6.1.4.1.935.1.1.1.4.1.1.
descr: Output Status
index: 'upsBaseOutputStatus.{{ $index }}'
state_name: upsBaseOutputStatus
states:
- { descr: unknown, graph: 0, value: 1, generic: 3 }
- { descr: onLine, graph: 0, value: 2, generic: 0 }
- { descr: onBattery, graph: 0, value: 3, generic: 1 }
- { descr: onBoost, graph: 0, value: 4, generic: 1 }
- { descr: sleeping, graph: 0, value: 5, generic: 1 }
- { descr: onBypass, graph: 0, value: 6, generic: 3 }
- { descr: rebooting, graph: 0, value: 7, generic: 3 }
- { descr: standBy, graph: 0, value: 8, generic: 1 }
- { descr: onBuck, graph: 0, value: 9, generic: 1 }
-
oid: upsEnvWater
num_oid: .1.3.6.1.4.1.935.1.1.1.9.1.3.
descr: Water Status
index: 'upsEnvWater.{{ $index }}'
state_name: upsEnvWater
states:
- { descr: normal, graph: 0, value: 1, generic: 0 }
- { descr: abnormal, graph: 0, value: 2, generic: 1 }
-
oid: upsEnvSmoke
num_oid: .1.3.6.1.4.1.935.1.1.1.9.1.4.
descr: Smoke Status
index: 'upsEnvSmoke.{{ $index }}'
state_name: upsEnvSmoke
states:
- { descr: normal, graph: 0, value: 1, generic: 0 }
- { descr: abnormal, graph: 0, value: 2, generic: 1 }