Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only some UPS values are in Influxdb2 #13

Open
GnomiBerlin opened this issue Dec 18, 2022 · 0 comments
Open

Only some UPS values are in Influxdb2 #13

GnomiBerlin opened this issue Dec 18, 2022 · 0 comments

Comments

@GnomiBerlin
Copy link

I added the UPS data into the telegraf.conf: added below
But only some values are sent to the DB. Also from these data not all contain usable values, but at least an entry is done.
in the comment I added the result: # ok = value in the DB // # err = no DB entry
Is the anybody, which can explain the error?

This is the Synology UPS mib information:
SYNOLOGY-UPS-MIB.txt

telegraf.conf:

[[inputs.snmp]]
    agents = ["udp://192.168.xxx.xxx:161"]
    path = ["/mibs"]

    name = "synoUPS"
# ok
    [[inputs.snmp.field]]
        name = "upsDeviceModel"
        oid = "SYNOLOGY-UPS-MIB::upsDeviceModel.0"
# ok
    [[inputs.snmp.field]]
        name = "upsDeviceManufacturer"
        oid = "SYNOLOGY-UPS-MIB::upsDeviceManufacturer.0"
# ok
    [[inputs.snmp.field]]
        name = "upsDeviceSerial"
        oid = "SYNOLOGY-UPS-MIB::upsDeviceSerial.0"
# ok
    [[inputs.snmp.field]]
        name = "upsDeviceType"
        oid = "SYNOLOGY-UPS-MIB::upsDeviceType.0"
# err
    [[inputs.snmp.field]]
        name = "upsDeviceDescription"
        oid = "SYNOLOGY-UPS-MIB::upsDeviceDescription.0"
# ok
    [[inputs.snmp.field]]
        name = "upsInfoStatus"
        oid = "SYNOLOGY-UPS-MIB::upsInfoStatus.0"
# err
    [[inputs.snmp.field]]
        name = "upsInfoAlarm"
        oid = "SYNOLOGY-UPS-MIB::upsInfoAlarm.0"
# err
    [[inputs.snmp.field]]
        name = "upsInfoDate"
        oid = "SYNOLOGY-UPS-MIB::upsInfoDate.0"
# ok
    [[inputs.snmp.field]]
        name = "upsInfoModel"
        oid = "SYNOLOGY-UPS-MIB::upsInfoModel.0"
# ok
    [[inputs.snmp.field]]
        name = "upsInfoSerial"
        oid = "SYNOLOGY-UPS-MIB::upsInfoSerial.0"
# err
    [[inputs.snmp.field]]
        name = "upsInfoTemperature"
        oid = "SYNOLOGY-UPS-MIB::upsInfoTemperature.0"
# ok
    [[inputs.snmp.field]]
        name = "upsInfoLoadValue"
        oid = "SYNOLOGY-UPS-MIB::upsInfoLoadValue.0"
# ok
    [[inputs.snmp.field]]
        name = "upsInfoDelayShutdown"
        oid = "SYNOLOGY-UPS-MIB::upsInfoDelayShutdown.0"
# err
    [[inputs.snmp.field]]
        name = "upsInfoEffciency"
        oid = "SYNOLOGY-UPS-MIB::upsInfoEffciency.0"
# err
    [[inputs.snmp.field]]
        name = "upsInfoPowerValue"
        oid = "SYNOLOGY-UPS-MIB::upsInfoPowerValue.0"
# err
    [[inputs.snmp.field]]
        name = "upsInfoRealPowerValue"
        oid = "SYNOLOGY-UPS-MIB::upsInfoRealPowerValue.0"
# ok
    [[inputs.snmp.field]]
        name = "upsBatteryChargeLow"
        oid = "SYNOLOGY-UPS-MIB::upsBatteryChargeLow.0"
# ok
    [[inputs.snmp.field]]
        name = "upsBatteryChargeValue"
        oid = "SYNOLOGY-UPS-MIB::upsBatteryChargeValue.0"

# err
    [[inputs.snmp.field]]
        name = "upsBatteryChargeRestart"
        oid = "SYNOLOGY-UPS-MIB::upsBatteryChargeRestart.0"
# err
    [[inputs.snmp.field]]
        name = "upsBatteryChargeWarning"
        oid = "SYNOLOGY-UPS-MIB::upsBatteryChargeWarning.0"
# err
    [[inputs.snmp.field]]
        name = "upsBatteryVoltageValue"
        oid = "SYNOLOGY-UPS-MIB::upsBatteryVoltageValue.0"
# err
    [[inputs.snmp.field]]
        name = "upsBatteryVoltageNominal"
        oid = "SYNOLOGY-UPS-MIB::upsBatteryVoltageNominal.0"

# err
    [[inputs.snmp.field]]
        name = "upsBatteryVoltageLow"
        oid = "SYNOLOGY-UPS-MIB::upsBatteryVoltageLow.0"

# err
    [[inputs.snmp.field]]
        name = "upsBatteryVoltageHigh"
        oid = "SYNOLOGY-UPS-MIB::upsBatteryVoltageHigh.0"

# err
    [[inputs.snmp.field]]
        name = "upsBatteryCapacity"
        oid = "SYNOLOGY-UPS-MIB::upsBatteryCapacity.0"

# err
    [[inputs.snmp.field]]
        name = "upsBatteryCurrent"
        oid = "SYNOLOGY-UPS-MIB::upsBatteryCurrent.0"

# err
    [[inputs.snmp.field]]
        name = "upsBatteryTemperature"
        oid = "SYNOLOGY-UPS-MIB::upsBatteryTemperature.0"

# ok
    [[inputs.snmp.field]]
        name = "upsBatteryRuntimeValue"
        oid = "SYNOLOGY-UPS-MIB::upsBatteryRuntimeValue.0"

# err
    [[inputs.snmp.field]]
        name = "upsBatteryAlarmThreshold"
        oid = "SYNOLOGY-UPS-MIB::upsBatteryAlarmThreshold.0"

# err
    [[inputs.snmp.field]]
        name = "upsBatteryDate"
        oid = "SYNOLOGY-UPS-MIB::upsBatteryDate.0"

# ok
    [[inputs.snmp.field]]
        name = "upsBatteryType"
        oid = "SYNOLOGY-UPS-MIB::upsBatteryType.0"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant