diff --git a/telegraf/etc/telegraf/telegraf.conf b/telegraf/etc/telegraf/telegraf.conf index 81ae817..8e244ed 100644 --- a/telegraf/etc/telegraf/telegraf.conf +++ b/telegraf/etc/telegraf/telegraf.conf @@ -456,6 +456,49 @@ oid = "SYNOLOGY-SYSTEM-MIB::upgradeAvailable.0" +# +# UPS +# + +[[inputs.snmp]] + agents = ["10.0.0.10"] + path = ["/mibs"] + name = "ups" + + [[inputs.snmp.field]] + name = "upsModel" + oid = "SYNOLOGY-UPS-MIB::upsDeviceModel.0" + [[inputs.snmp.field]] + name = "upsStatus" + oid = "SYNOLOGY-UPS-MIB::upsInfoStatus.0" + [[inputs.snmp.field]] + name = "upsLoad" + oid = "SYNOLOGY-UPS-MIB::upsInfoLoadValue.0" + [[inputs.snmp.field]] + name = "upsBatteryCharge" + oid = "SYNOLOGY-UPS-MIB::upsBatteryChargeValue.0" + [[inputs.snmp.field]] + name = "upsBatteryChargeLow" + oid = "SYNOLOGY-UPS-MIB::upsBatteryChargeLow.0" + [[inputs.snmp.field]] + name = "upsBatteryChargeWarning" + oid = "SYNOLOGY-UPS-MIB::upsBatteryChargeWarning.0" + [[inputs.snmp.field]] + name = "upsBatteryVoltage" + oid = "SYNOLOGY-UPS-MIB::upsBatteryVoltageValue.0" + [[inputs.snmp.field]] + name = "upsBatteryRuntime" + oid = "SYNOLOGY-UPS-MIB::upsBatteryRuntimeValue.0" + [[inputs.snmp.field]] + name = "upsInputVoltage" + oid = "SYNOLOGY-UPS-MIB::upsInputVoltageValue.0" + [[inputs.snmp.field]]#Opaque: Float: 24.000000 Volt DC + name = "upsBatteryVoltageNominal" + oid = "SYNOLOGY-UPS-MIB::upsBatteryVoltageNominal.0" + [[inputs.snmp.field]]#STRING: PbAcid + name = "upsBatteryType" + oid = "SYNOLOGY-UPS-MIB::upsBatteryType.0" + # # Tables. #