kentik / snmp-profiles

SNMP Profiles for ktranslate
Apache License 2.0
24 stars 66 forks source link

Liebert GXT5-6000MVRT4UXLN UPS #502

Closed lindhorstdfca closed 1 year ago

lindhorstdfca commented 1 year ago

Currently this Vertiv UPS shows up with the provider as "kentik-switch" which means we don't get any of the power statistics. The discovered_mibs is reporting at "LIEBERT-GP-ENVIRONMENTAL-MIB".

Device Vendor: Liebert Vertiv

Device Model: GXT5-6000MVRT4UXLN

System Object Identifier (SysOID): .1.3.6.1.4.1.476.1.42

Sample of expected data: "Battery Current", "Battery Time Remaining", "Battery Percentage Charge", "System Output Power", "UPS Battery Status", "Battery Test Result", "System Status", UPS Battery Status", "Battery Charge Status"

If there is a New Relic technical support case related to this request, please provide the case number: 00083718

snmpwalk_sanitized.zip

lgpmib-win_rev21_350028_0.zip https://www.vertiv.com/en-us/support/software-download/monitoring/management-information-bases-mibs-for-liebert-products/

lindhorstdfca commented 1 year ago

This should likely be tagged with "profile" instead of "snmp-trap-profile"

lindhorstdfca commented 1 year ago

I pulled down a new container this morning and verified that I can see the new vertiv_ups.yml within the container. After running a discovery, the UPS device is using the kentik-air-conditioner as the provider. Also seeing an error message related to vertiv_ups.yml.

2023-01-27T16:23:36.031 ktranslate/ [Info] KTranslate Client SNMP: Running SNMP for DEVICE_NAME on <IP REMOVED> (type=kentik-air-conditioner)
2023-01-27T16:23:36.032 ktranslate/ [Error] KTranslate No profile matching vertiv_ups.yml found
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME Found profile for .1.3.6.1.4.1.476.1.42: liebert-ac.yml liebert-ac.yml
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME Setting profile of kentik-air-conditioner for device DEVICE_NAME.
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME  Running with SNMP v3: Priv: AES Auth: SHA
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME  Running with SNMP v3: Priv: AES Auth: SHA
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME Custom device metadata
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME    -> : 1.3.6.1.4.1.476.1.42.3.4.1.2.1.0 -> :temp_setting
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME    -> : 1.3.6.1.4.1.476.1.42.3.4.1.2.2.0 -> :temp_tolerance
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME    -> : 1.3.6.1.4.1.476.1.42.2.1.4.0 -> :serial_number
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME    -> : 1.3.6.1.2.1.1.2.0 -> :sysObjectID
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME    -> : 1.3.6.1.4.1.476.1.42.2.1.2.0 -> :model
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME    -> : 1.3.6.1.2.1.1.1.0 -> :sysDescr
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME    -> : 1.3.6.1.2.1.1.5.0 -> :sysName
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME    -> : 1.3.6.1.2.1.1.6.0 -> :sysLocation
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME    -> : 1.3.6.1.4.1.476.1.42.3.4.1.2.3.1.2 -> LIEBERT-GP-ENVIRONMENTAL-MIB:lgpEnvTemperatureDescrDegF
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME Added 1 Match Attribute(s)
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME Adding custom device metadata oid: 1.3.6.1.2.1.1.1.0 -> sysDescr map[]
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME Adding custom device metadata oid: 1.3.6.1.2.1.1.2.0 -> sysObjectID map[]
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME Adding custom device metadata oid: 1.3.6.1.2.1.1.5.0 -> sysName map[]
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME Adding custom device metadata oid: 1.3.6.1.2.1.1.6.0 -> sysLocation map[]
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME Adding custom device metadata oid: 1.3.6.1.4.1.476.1.42.2.1.2.0 -> model map[]
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME Adding custom device metadata oid: 1.3.6.1.4.1.476.1.42.2.1.4.0 -> serial_number map[]
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME Adding custom device metadata oid: 1.3.6.1.4.1.476.1.42.3.4.1.2.1.0 -> temp_setting map[]
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME Adding custom device metadata oid: 1.3.6.1.4.1.476.1.42.3.4.1.2.2.0 -> temp_tolerance map[]
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME Adding custom device metadata oid: 1.3.6.1.4.1.476.1.42.3.4.1.2.3.1.2 -> lgpEnvTemperatureDescrDegF map[lgpEnvTemperatureTableDegF:true]
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME Adding device metric .1.3.6.1.4.1.476.1.42.3.4.1.2.3.1.3 -> temp_f
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME Adding device metric .1.3.6.1.4.1.476.1.42.3.4.6.7.0 -> lgpEnvStatisticsReheat1RunHr
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME Adding device metric .1.3.6.1.4.1.476.1.42.3.4.6.8.0 -> lgpEnvStatisticsReheat2RunHr
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME Adding device metric .1.3.6.1.4.1.476.1.42.3.4.6.9.0 -> lgpEnvStatisticsReheat3RunHr
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME Adding device metric .1.3.6.1.4.1.476.1.42.3.4.1.3.3.1.3 -> temp_c
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME Adding device metric .1.3.6.1.4.1.476.1.42.3.4.2.2.3.1.3 -> relative_humidity
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME Adding device metric .1.3.6.1.4.1.476.1.42.3.4.6.1.0 -> lgpEnvStatisticsComp1RunHr
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME Adding device metric .1.3.6.1.4.1.476.1.42.3.4.6.2.0 -> lgpEnvStatisticsComp2RunHr
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME Adding device metric .1.3.6.1.4.1.476.1.42.3.4.6.3.0 -> lgpEnvStatisticsFanRunHr
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME Adding device metric .1.3.6.1.4.1.476.1.42.3.4.6.4.0 -> lgpEnvStatisticsHumRunHr
2023-01-27T16:23:36.032 ktranslate/ [Info] KTranslate>DEVICE_NAME Adding user tag container_service ->
2023-01-27T16:23:36.252 ktranslate/ [Warn] KTranslate>DEVICE_NAME OID .1.3.6.1.4.1.476.1.42.3.4.6.2.0 failed to return results, Metric Name: lgpEnvStatisticsComp2RunHr, Profile: liebert-ac
2023-01-27T16:23:36.410 ktranslate/ [Warn] KTranslate>DEVICE_NAME OID .1.3.6.1.4.1.476.1.42.3.4.6.3.0 failed to return results, Metric Name: lgpEnvStatisticsFanRunHr, Profile: liebert-ac
2023-01-27T16:23:36.668 ktranslate/ [Warn] KTranslate>DEVICE_NAME OID .1.3.6.1.4.1.476.1.42.3.4.6.7.0 failed to return results, Metric Name: lgpEnvStatisticsReheat1RunHr, Profile: liebert-ac
2023-01-27T16:23:36.810 ktranslate/ [Warn] KTranslate>DEVICE_NAME OID .1.3.6.1.4.1.476.1.42.3.4.6.9.0 failed to return results, Metric Name: lgpEnvStatisticsReheat3RunHr, Profile: liebert-ac
2023-01-27T16:23:36.952 ktranslate/ [Warn] KTranslate>DEVICE_NAME OID .1.3.6.1.4.1.476.1.42.3.4.2.2.3.1.3 failed to return results, Metric Name: lgpEnvHumidityMeasurementRel, Profile: liebert-ac
2023-01-27T16:23:37.096 ktranslate/ [Warn] KTranslate>DEVICE_NAME OID .1.3.6.1.4.1.476.1.42.3.4.6.1.0 failed to return results, Metric Name: lgpEnvStatisticsComp1RunHr, Profile: liebert-ac
2023-01-27T16:23:37.250 ktranslate/ [Warn] KTranslate>DEVICE_NAME OID .1.3.6.1.4.1.476.1.42.3.4.6.8.0 failed to return results, Metric Name: lgpEnvStatisticsReheat2RunHr, Profile: liebert-ac
2023-01-27T16:23:37.509 ktranslate/ [Warn] KTranslate>DEVICE_NAME OID .1.3.6.1.4.1.476.1.42.3.4.6.4.0 failed to return results, Metric Name: lgpEnvStatisticsHumRunHr, Profile: liebert-ac
2023-01-27T16:23:37.591 ktranslate/ [Info] KTranslate>DEVICE_NAME SNMP interface metric poll - found metrics for 0 interfaces.
2023-01-27T16:23:37.591 ktranslate/ [Info] KTranslate>DEVICE_NAME Start: Polling SNMP Interface
2023-01-27T16:23:38.162 ktranslate/ [Warn] KTranslate>DEVICE_NAME OID 1.3.6.1.4.1.476.1.42.3.4.1.2.1.0 failed to return results, Metric Name: temp_setting
2023-01-27T16:23:39.062 ktranslate/ [Warn] KTranslate>DEVICE_NAME OID 1.3.6.1.4.1.476.1.42.3.4.1.2.2.0 failed to return results, Metric Name: temp_tolerance
2023-01-27T16:23:39.062 ktranslate/ [Info] KTranslate>DEVICE_NAME snmpCounterPoll: First poll will be at 2023-01-27 16:24:09.978507299 +0000 UTC. Polling every 1m0s, drop=false
[{"collector.name":"ktranslate","if.3.Index":"3","tags.kentik.model":"Liebert Global","SysName":"DEVICE_NAME","src_as_name":"Private IP","instrumentation.name":"netflow-events","if.1.Speed":10,"provider":"kentik-air-conditioner","device_name":"DEVICE_NAME","if.4.Speed":100,"serial_number":"00D1","if.4.Netmask":"255.255.255.0","SysDescr":"Vertiv UPS","SysObjectID":".1.3.6.1.4.1.476.1.42","if.1.Netmask":"255.0.0.0","eventType":"KSnmpInterfaceMetadata","if.1.Address":"127.0.0.1","if.2.PhysAddress":"<MAC REMOVED>","src_addr":"<IP REMOVED>","SysLocation":"CityName","if.2.Index":"2","instrumentation.provider":"kentik","src_geo":"Private IP","model":"RDU1xx Platform","if.4.Index":"4","if.4.Address":"<IP REMOVED>","if.1.Index":"1","if.4.PhysAddress":"<MAC REMOVED>"}]