From fbe305a89121f07b40bcb40683565c51cb35ea2a Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Sun, 15 Dec 2024 18:11:35 +0000 Subject: [PATCH] add ups snmp exporter to prometheus [ci skip] --- modules/kubernetes/monitoring/main.tf | 108 +- .../monitoring/prometheus_chart_values.tpl | 20 + .../monitoring/ups_snmp_values.yaml | 1885 +++++++++++++++++ 3 files changed, 2010 insertions(+), 3 deletions(-) create mode 100755 modules/kubernetes/monitoring/ups_snmp_values.yaml diff --git a/modules/kubernetes/monitoring/main.tf b/modules/kubernetes/monitoring/main.tf index 30460f84..85016269 100644 --- a/modules/kubernetes/monitoring/main.tf +++ b/modules/kubernetes/monitoring/main.tf @@ -75,15 +75,15 @@ resource "helm_release" "prometheus" { } # Terraform get angry with the 30k values file :/ use ansible until solved -# resource "helm_release" "prometheus_snmp_exporter" { +# resource "helm_release" "ups_prometheus_snmp_exporter" { # namespace = "monitoring" # create_namespace = true -# name = "prometheus_exporter" +# name = "ups_prometheus_exporter" # repository = "https://prometheus-community.github.io/helm-charts" # chart = "prometheus-snmp-exporter" -# values = [file("${path.module}/prometheus_snmp_chart_values.yaml")] +# values = [file("${path.module}/ups_snmp_values.yaml")] # } resource "kubernetes_secret" "prometheus_grafana_datasource" { @@ -424,3 +424,105 @@ resource "kubernetes_service" "idrac-redfish-exporter" { } } } + + +/** +1. clone snmp exporter +2. update generator.yaml to include only interesting modules +3. make generate +4. cp snmp.yml to whereever is used +5. scrape service with curl 'http://snmp-exporter.monitoring.svc.cluster.local:9116/snmp?auth=public_v2&module=huawei&target=192.168.1.5%3A161' + +generate reference - https://github.com/prometheus/snmp_exporter/tree/main/generator +https://sbcode.net/prometheus/snmp-generate-huawei/ +*/ +resource "kubernetes_config_map" "snmp-exporter-yaml" { + metadata { + name = "snmp-exporter-yaml" + namespace = "monitoring" + + annotations = { + "reloader.stakater.com/match" = "true" + } + } + data = { + "snmp.yml" = file("${path.module}/ups_snmp_values.yaml") + + } +} + +resource "kubernetes_deployment" "snmp-exporter" { + metadata { + name = "snmp-exporter" + namespace = "monitoring" + labels = { + app = "snmp-exporter" + } + annotations = { + "reloader.stakater.com/search" = "true" + } + } + spec { + replicas = 1 + selector { + match_labels = { + app = "snmp-exporter" + } + } + template { + metadata { + labels = { + app = "snmp-exporter" + } + } + spec { + container { + image = "prom/snmp-exporter" + name = "snmp-exporter" + # command = ["/usr/local/bin/redfish_exporter", "--config.file", "/app/config.yml"] + port { + container_port = 9116 + } + + volume_mount { + name = "config-volume" + mount_path = "/etc/snmp_exporter/" + } + } + volume { + name = "config-volume" + + config_map { + name = "snmp-exporter-yaml" + } + } + } + } + } +} + +resource "kubernetes_service" "snmp-exporter" { + metadata { + name = "snmp-exporter" + namespace = "monitoring" + labels = { + "app" = "snmp-exporter" + } + annotations = { + "prometheus.io/scrape" = "true" + "prometheus.io/path" = "/snmp?auth=Public0&target=tcp%3A%2F%2F192.%3A161" + "prometheus.io/port" = "9116" + } + } + + spec { + selector = { + "app" = "snmp-exporter" + } + port { + name = "http" + port = "9116" + target_port = "9116" + } + } +} diff --git a/modules/kubernetes/monitoring/prometheus_chart_values.tpl b/modules/kubernetes/monitoring/prometheus_chart_values.tpl index 7a951cf7..1c7bc619 100644 --- a/modules/kubernetes/monitoring/prometheus_chart_values.tpl +++ b/modules/kubernetes/monitoring/prometheus_chart_values.tpl @@ -396,3 +396,23 @@ extraScrapeConfigs: | action: replace regex: '(.*)' replacement: 'openwrt_$${1}' + - job_name: 'snmp-ups' + params: + module: [huawei] + static_configs: + - targets: + - "ups.viktorbarzin.lan:161" + metrics_path: '/snmp' + relabel_configs: + - source_labels: [__address__] + target_label: __param_target + - source_labels: [__param_target] + target_label: instance + - target_label: __address__ + replacement: 'snmp-exporter.monitoring.svc.cluster.local:9116' + metric_relabel_configs: + - source_labels: [ __name__ ] + target_label: '__name__' + action: replace + regex: '(.*)' + replacement: 'ups_$${1}' diff --git a/modules/kubernetes/monitoring/ups_snmp_values.yaml b/modules/kubernetes/monitoring/ups_snmp_values.yaml new file mode 100755 index 00000000..c82d1099 --- /dev/null +++ b/modules/kubernetes/monitoring/ups_snmp_values.yaml @@ -0,0 +1,1885 @@ +# WARNING: This file was auto-generated using snmp_exporter generator, manual changes will be lost. +auths: + public_v1: + community: Public0 + security_level: noAuthNoPriv + auth_protocol: MD5 + priv_protocol: DES + version: 1 + public_v2: + community: Public0 + security_level: noAuthNoPriv + auth_protocol: MD5 + priv_protocol: DES + version: 2 +modules: + huawei: + walk: + - 1.3.6.1.2.1.1 + - 1.3.6.1.2.1.11 + - 1.3.6.1.2.1.33 + metrics: + - name: sysDescr + oid: 1.3.6.1.2.1.1.1 + type: DisplayString + help: A textual description of the entity - 1.3.6.1.2.1.1.1 + - name: sysObjectID + oid: 1.3.6.1.2.1.1.2 + type: OctetString + help: The vendor's authoritative identification of the network management subsystem + contained in the entity - 1.3.6.1.2.1.1.2 + - name: sysUpTime + oid: 1.3.6.1.2.1.1.3 + type: gauge + help: The time (in hundredths of a second) since the network management portion + of the system was last re-initialized. - 1.3.6.1.2.1.1.3 + - name: sysContact + oid: 1.3.6.1.2.1.1.4 + type: DisplayString + help: The textual identification of the contact person for this managed node, + together with information on how to contact this person - 1.3.6.1.2.1.1.4 + - name: sysName + oid: 1.3.6.1.2.1.1.5 + type: DisplayString + help: An administratively-assigned name for this managed node - 1.3.6.1.2.1.1.5 + - name: sysLocation + oid: 1.3.6.1.2.1.1.6 + type: DisplayString + help: The physical location of this node (e.g., 'telephone closet, 3rd floor') + - 1.3.6.1.2.1.1.6 + - name: sysServices + oid: 1.3.6.1.2.1.1.7 + type: gauge + help: A value which indicates the set of services that this entity may potentially + offer - 1.3.6.1.2.1.1.7 + - name: sysORLastChange + oid: 1.3.6.1.2.1.1.8 + type: gauge + help: The value of sysUpTime at the time of the most recent change in state + or value of any instance of sysORID. - 1.3.6.1.2.1.1.8 + - name: sysORIndex + oid: 1.3.6.1.2.1.1.9.1.1 + type: gauge + help: The auxiliary variable used for identifying instances of the columnar + objects in the sysORTable. - 1.3.6.1.2.1.1.9.1.1 + indexes: + - labelname: sysORIndex + type: gauge + - name: sysORID + oid: 1.3.6.1.2.1.1.9.1.2 + type: OctetString + help: An authoritative identification of a capabilities statement with respect + to various MIB modules supported by the local SNMP application acting as a + command responder. - 1.3.6.1.2.1.1.9.1.2 + indexes: + - labelname: sysORIndex + type: gauge + - name: sysORDescr + oid: 1.3.6.1.2.1.1.9.1.3 + type: DisplayString + help: A textual description of the capabilities identified by the corresponding + instance of sysORID. - 1.3.6.1.2.1.1.9.1.3 + indexes: + - labelname: sysORIndex + type: gauge + - name: sysORUpTime + oid: 1.3.6.1.2.1.1.9.1.4 + type: gauge + help: The value of sysUpTime at the time this conceptual row was last instantiated. + - 1.3.6.1.2.1.1.9.1.4 + indexes: + - labelname: sysORIndex + type: gauge + - name: snmpInPkts + oid: 1.3.6.1.2.1.11.1 + type: counter + help: The total number of messages delivered to the SNMP entity from the transport + service. - 1.3.6.1.2.1.11.1 + - name: snmpOutPkts + oid: 1.3.6.1.2.1.11.2 + type: counter + help: The total number of SNMP Messages which were passed from the SNMP protocol + entity to the transport service. - 1.3.6.1.2.1.11.2 + - name: snmpInBadVersions + oid: 1.3.6.1.2.1.11.3 + type: counter + help: The total number of SNMP messages which were delivered to the SNMP entity + and were for an unsupported SNMP version. - 1.3.6.1.2.1.11.3 + - name: snmpInBadCommunityNames + oid: 1.3.6.1.2.1.11.4 + type: counter + help: The total number of community-based SNMP messages (for example, SNMPv1) + delivered to the SNMP entity which used an SNMP community name not known to + said entity - 1.3.6.1.2.1.11.4 + - name: snmpInBadCommunityUses + oid: 1.3.6.1.2.1.11.5 + type: counter + help: The total number of community-based SNMP messages (for example, SNMPv1) + delivered to the SNMP entity which represented an SNMP operation that was + not allowed for the SNMP community named in the message - 1.3.6.1.2.1.11.5 + - name: snmpInASNParseErrs + oid: 1.3.6.1.2.1.11.6 + type: counter + help: The total number of ASN.1 or BER errors encountered by the SNMP entity + when decoding received SNMP messages. - 1.3.6.1.2.1.11.6 + - name: snmpInTooBigs + oid: 1.3.6.1.2.1.11.8 + type: counter + help: The total number of SNMP PDUs which were delivered to the SNMP protocol + entity and for which the value of the error-status field was `tooBig'. - 1.3.6.1.2.1.11.8 + - name: snmpInNoSuchNames + oid: 1.3.6.1.2.1.11.9 + type: counter + help: The total number of SNMP PDUs which were delivered to the SNMP protocol + entity and for which the value of the error-status field was `noSuchName'. + - 1.3.6.1.2.1.11.9 + - name: snmpInBadValues + oid: 1.3.6.1.2.1.11.10 + type: counter + help: The total number of SNMP PDUs which were delivered to the SNMP protocol + entity and for which the value of the error-status field was `badValue'. - + 1.3.6.1.2.1.11.10 + - name: snmpInReadOnlys + oid: 1.3.6.1.2.1.11.11 + type: counter + help: The total number valid SNMP PDUs which were delivered to the SNMP protocol + entity and for which the value of the error-status field was `readOnly' - + 1.3.6.1.2.1.11.11 + - name: snmpInGenErrs + oid: 1.3.6.1.2.1.11.12 + type: counter + help: The total number of SNMP PDUs which were delivered to the SNMP protocol + entity and for which the value of the error-status field was `genErr'. - 1.3.6.1.2.1.11.12 + - name: snmpInTotalReqVars + oid: 1.3.6.1.2.1.11.13 + type: counter + help: The total number of MIB objects which have been retrieved successfully + by the SNMP protocol entity as the result of receiving valid SNMP Get-Request + and Get-Next PDUs. - 1.3.6.1.2.1.11.13 + - name: snmpInTotalSetVars + oid: 1.3.6.1.2.1.11.14 + type: counter + help: The total number of MIB objects which have been altered successfully by + the SNMP protocol entity as the result of receiving valid SNMP Set-Request + PDUs. - 1.3.6.1.2.1.11.14 + - name: snmpInGetRequests + oid: 1.3.6.1.2.1.11.15 + type: counter + help: The total number of SNMP Get-Request PDUs which have been accepted and + processed by the SNMP protocol entity. - 1.3.6.1.2.1.11.15 + - name: snmpInGetNexts + oid: 1.3.6.1.2.1.11.16 + type: counter + help: The total number of SNMP Get-Next PDUs which have been accepted and processed + by the SNMP protocol entity. - 1.3.6.1.2.1.11.16 + - name: snmpInSetRequests + oid: 1.3.6.1.2.1.11.17 + type: counter + help: The total number of SNMP Set-Request PDUs which have been accepted and + processed by the SNMP protocol entity. - 1.3.6.1.2.1.11.17 + - name: snmpInGetResponses + oid: 1.3.6.1.2.1.11.18 + type: counter + help: The total number of SNMP Get-Response PDUs which have been accepted and + processed by the SNMP protocol entity. - 1.3.6.1.2.1.11.18 + - name: snmpInTraps + oid: 1.3.6.1.2.1.11.19 + type: counter + help: The total number of SNMP Trap PDUs which have been accepted and processed + by the SNMP protocol entity. - 1.3.6.1.2.1.11.19 + - name: snmpOutTooBigs + oid: 1.3.6.1.2.1.11.20 + type: counter + help: The total number of SNMP PDUs which were generated by the SNMP protocol + entity and for which the value of the error-status field was `tooBig.' - 1.3.6.1.2.1.11.20 + - name: snmpOutNoSuchNames + oid: 1.3.6.1.2.1.11.21 + type: counter + help: The total number of SNMP PDUs which were generated by the SNMP protocol + entity and for which the value of the error-status was `noSuchName'. - 1.3.6.1.2.1.11.21 + - name: snmpOutBadValues + oid: 1.3.6.1.2.1.11.22 + type: counter + help: The total number of SNMP PDUs which were generated by the SNMP protocol + entity and for which the value of the error-status field was `badValue'. - + 1.3.6.1.2.1.11.22 + - name: snmpOutGenErrs + oid: 1.3.6.1.2.1.11.24 + type: counter + help: The total number of SNMP PDUs which were generated by the SNMP protocol + entity and for which the value of the error-status field was `genErr'. - 1.3.6.1.2.1.11.24 + - name: snmpOutGetRequests + oid: 1.3.6.1.2.1.11.25 + type: counter + help: The total number of SNMP Get-Request PDUs which have been generated by + the SNMP protocol entity. - 1.3.6.1.2.1.11.25 + - name: snmpOutGetNexts + oid: 1.3.6.1.2.1.11.26 + type: counter + help: The total number of SNMP Get-Next PDUs which have been generated by the + SNMP protocol entity. - 1.3.6.1.2.1.11.26 + - name: snmpOutSetRequests + oid: 1.3.6.1.2.1.11.27 + type: counter + help: The total number of SNMP Set-Request PDUs which have been generated by + the SNMP protocol entity. - 1.3.6.1.2.1.11.27 + - name: snmpOutGetResponses + oid: 1.3.6.1.2.1.11.28 + type: counter + help: The total number of SNMP Get-Response PDUs which have been generated by + the SNMP protocol entity. - 1.3.6.1.2.1.11.28 + - name: snmpOutTraps + oid: 1.3.6.1.2.1.11.29 + type: counter + help: The total number of SNMP Trap PDUs which have been generated by the SNMP + protocol entity. - 1.3.6.1.2.1.11.29 + - name: snmpEnableAuthenTraps + oid: 1.3.6.1.2.1.11.30 + type: gauge + help: Indicates whether the SNMP entity is permitted to generate authenticationFailure + traps - 1.3.6.1.2.1.11.30 + enum_values: + 1: enabled + 2: disabled + - name: snmpSilentDrops + oid: 1.3.6.1.2.1.11.31 + type: counter + help: The total number of Confirmed Class PDUs (such as GetRequest-PDUs, GetNextRequest-PDUs, + GetBulkRequest-PDUs, SetRequest-PDUs, and InformRequest-PDUs) delivered to + the SNMP entity which were silently dropped because the size of a reply containing + an alternate Response Class PDU (such as a Response-PDU) with an empty variable-bindings + field was greater than either a local constraint or the maximum message size + associated with the originator of the request. - 1.3.6.1.2.1.11.31 + - name: snmpProxyDrops + oid: 1.3.6.1.2.1.11.32 + type: counter + help: The total number of Confirmed Class PDUs (such as GetRequest-PDUs, GetNextRequest-PDUs, + GetBulkRequest-PDUs, SetRequest-PDUs, and InformRequest-PDUs) delivered to + the SNMP entity which were silently dropped because the transmission of the + (possibly translated) message to a proxy target failed in a manner (other + than a time-out) such that no Response Class PDU (such as a Response-PDU) + could be returned. - 1.3.6.1.2.1.11.32 + - name: upsIdentManufacturer + oid: 1.3.6.1.2.1.33.1.1.1 + type: DisplayString + help: The name of the UPS manufacturer. - 1.3.6.1.2.1.33.1.1.1 + - name: upsIdentModel + oid: 1.3.6.1.2.1.33.1.1.2 + type: DisplayString + help: The UPS Model designation. - 1.3.6.1.2.1.33.1.1.2 + - name: upsIdentUPSSoftwareVersion + oid: 1.3.6.1.2.1.33.1.1.3 + type: DisplayString + help: The UPS firmware/software version(s) - 1.3.6.1.2.1.33.1.1.3 + - name: upsIdentAgentSoftwareVersion + oid: 1.3.6.1.2.1.33.1.1.4 + type: DisplayString + help: The UPS agent software version - 1.3.6.1.2.1.33.1.1.4 + - name: upsIdentName + oid: 1.3.6.1.2.1.33.1.1.5 + type: DisplayString + help: A string identifying the UPS - 1.3.6.1.2.1.33.1.1.5 + - name: upsIdentAttachedDevices + oid: 1.3.6.1.2.1.33.1.1.6 + type: DisplayString + help: A string identifying the devices attached to the output(s) of the UPS + - 1.3.6.1.2.1.33.1.1.6 + - name: upsBatteryStatus + oid: 1.3.6.1.2.1.33.1.2.1 + type: gauge + help: The indication of the capacity remaining in the UPS system's batteries + - 1.3.6.1.2.1.33.1.2.1 + enum_values: + 1: unknown + 2: batteryNormal + 3: batteryLow + 4: batteryDepleted + - name: upsSecondsOnBattery + oid: 1.3.6.1.2.1.33.1.2.2 + type: gauge + help: If the unit is on battery power, the elapsed time since the UPS last switched + to battery power, or the time since the network management subsystem was last + restarted, whichever is less - 1.3.6.1.2.1.33.1.2.2 + - name: upsEstimatedMinutesRemaining + oid: 1.3.6.1.2.1.33.1.2.3 + type: gauge + help: An estimate of the time to battery charge depletion under the present + load conditions if the utility power is off and remains off, or if it were + to be lost and remain off. - 1.3.6.1.2.1.33.1.2.3 + - name: upsEstimatedChargeRemaining + oid: 1.3.6.1.2.1.33.1.2.4 + type: gauge + help: An estimate of the battery charge remaining expressed as a percent of + full charge. - 1.3.6.1.2.1.33.1.2.4 + - name: upsBatteryVoltage + oid: 1.3.6.1.2.1.33.1.2.5 + type: gauge + help: The magnitude of the present battery voltage. - 1.3.6.1.2.1.33.1.2.5 + - name: upsBatteryCurrent + oid: 1.3.6.1.2.1.33.1.2.6 + type: gauge + help: The present battery current. - 1.3.6.1.2.1.33.1.2.6 + - name: upsBatteryTemperature + oid: 1.3.6.1.2.1.33.1.2.7 + type: gauge + help: The ambient temperature at or near the UPS Battery casing. - 1.3.6.1.2.1.33.1.2.7 + - name: upsInputLineBads + oid: 1.3.6.1.2.1.33.1.3.1 + type: counter + help: A count of the number of times the input entered an out-of-tolerance condition + as defined by the manufacturer - 1.3.6.1.2.1.33.1.3.1 + - name: upsInputNumLines + oid: 1.3.6.1.2.1.33.1.3.2 + type: gauge + help: The number of input lines utilized in this device - 1.3.6.1.2.1.33.1.3.2 + - name: upsInputLineIndex + oid: 1.3.6.1.2.1.33.1.3.3.1.1 + type: gauge + help: The input line identifier. - 1.3.6.1.2.1.33.1.3.3.1.1 + indexes: + - labelname: upsInputLineIndex + type: gauge + - name: upsInputFrequency + oid: 1.3.6.1.2.1.33.1.3.3.1.2 + type: gauge + help: The present input frequency. - 1.3.6.1.2.1.33.1.3.3.1.2 + indexes: + - labelname: upsInputLineIndex + type: gauge + - name: upsInputVoltage + oid: 1.3.6.1.2.1.33.1.3.3.1.3 + type: gauge + help: The magnitude of the present input voltage. - 1.3.6.1.2.1.33.1.3.3.1.3 + indexes: + - labelname: upsInputLineIndex + type: gauge + - name: upsInputCurrent + oid: 1.3.6.1.2.1.33.1.3.3.1.4 + type: gauge + help: The magnitude of the present input current. - 1.3.6.1.2.1.33.1.3.3.1.4 + indexes: + - labelname: upsInputLineIndex + type: gauge + - name: upsInputTruePower + oid: 1.3.6.1.2.1.33.1.3.3.1.5 + type: gauge + help: The magnitude of the present input true power. - 1.3.6.1.2.1.33.1.3.3.1.5 + indexes: + - labelname: upsInputLineIndex + type: gauge + - name: upsOutputSource + oid: 1.3.6.1.2.1.33.1.4.1 + type: gauge + help: The present source of output power - 1.3.6.1.2.1.33.1.4.1 + enum_values: + 1: other + 2: none + 3: normal + 4: bypass + 5: battery + 6: booster + 7: reducer + - name: upsOutputFrequency + oid: 1.3.6.1.2.1.33.1.4.2 + type: gauge + help: The present output frequency. - 1.3.6.1.2.1.33.1.4.2 + - name: upsOutputNumLines + oid: 1.3.6.1.2.1.33.1.4.3 + type: gauge + help: The number of output lines utilized in this device - 1.3.6.1.2.1.33.1.4.3 + - name: upsOutputLineIndex + oid: 1.3.6.1.2.1.33.1.4.4.1.1 + type: gauge + help: The output line identifier. - 1.3.6.1.2.1.33.1.4.4.1.1 + indexes: + - labelname: upsOutputLineIndex + type: gauge + - name: upsOutputVoltage + oid: 1.3.6.1.2.1.33.1.4.4.1.2 + type: gauge + help: The present output voltage. - 1.3.6.1.2.1.33.1.4.4.1.2 + indexes: + - labelname: upsOutputLineIndex + type: gauge + - name: upsOutputCurrent + oid: 1.3.6.1.2.1.33.1.4.4.1.3 + type: gauge + help: The present output current. - 1.3.6.1.2.1.33.1.4.4.1.3 + indexes: + - labelname: upsOutputLineIndex + type: gauge + - name: upsOutputPower + oid: 1.3.6.1.2.1.33.1.4.4.1.4 + type: gauge + help: The present output true power. - 1.3.6.1.2.1.33.1.4.4.1.4 + indexes: + - labelname: upsOutputLineIndex + type: gauge + - name: upsOutputPercentLoad + oid: 1.3.6.1.2.1.33.1.4.4.1.5 + type: gauge + help: The percentage of the UPS power capacity presently being used on this + output line, i.e., the greater of the percent load of true power capacity + and the percent load of VA. - 1.3.6.1.2.1.33.1.4.4.1.5 + indexes: + - labelname: upsOutputLineIndex + type: gauge + - name: upsBypassFrequency + oid: 1.3.6.1.2.1.33.1.5.1 + type: gauge + help: The present bypass frequency. - 1.3.6.1.2.1.33.1.5.1 + - name: upsBypassNumLines + oid: 1.3.6.1.2.1.33.1.5.2 + type: gauge + help: The number of bypass lines utilized in this device - 1.3.6.1.2.1.33.1.5.2 + - name: upsBypassLineIndex + oid: 1.3.6.1.2.1.33.1.5.3.1.1 + type: gauge + help: The bypass line identifier. - 1.3.6.1.2.1.33.1.5.3.1.1 + indexes: + - labelname: upsBypassLineIndex + type: gauge + - name: upsBypassVoltage + oid: 1.3.6.1.2.1.33.1.5.3.1.2 + type: gauge + help: The present bypass voltage. - 1.3.6.1.2.1.33.1.5.3.1.2 + indexes: + - labelname: upsBypassLineIndex + type: gauge + - name: upsBypassCurrent + oid: 1.3.6.1.2.1.33.1.5.3.1.3 + type: gauge + help: The present bypass current. - 1.3.6.1.2.1.33.1.5.3.1.3 + indexes: + - labelname: upsBypassLineIndex + type: gauge + - name: upsBypassPower + oid: 1.3.6.1.2.1.33.1.5.3.1.4 + type: gauge + help: The present true power conveyed by the bypass. - 1.3.6.1.2.1.33.1.5.3.1.4 + indexes: + - labelname: upsBypassLineIndex + type: gauge + - name: upsAlarmsPresent + oid: 1.3.6.1.2.1.33.1.6.1 + type: gauge + help: The present number of active alarm conditions. - 1.3.6.1.2.1.33.1.6.1 + - name: upsAlarmId + oid: 1.3.6.1.2.1.33.1.6.2.1.1 + type: gauge + help: A unique identifier for an alarm condition - 1.3.6.1.2.1.33.1.6.2.1.1 + indexes: + - labelname: upsAlarmId + type: gauge + - name: upsAlarmDescr + oid: 1.3.6.1.2.1.33.1.6.2.1.2 + type: OctetString + help: A reference to an alarm description object - 1.3.6.1.2.1.33.1.6.2.1.2 + indexes: + - labelname: upsAlarmId + type: gauge + - name: upsAlarmTime + oid: 1.3.6.1.2.1.33.1.6.2.1.3 + type: gauge + help: The value of sysUpTime when the alarm condition was detected - 1.3.6.1.2.1.33.1.6.2.1.3 + indexes: + - labelname: upsAlarmId + type: gauge + - name: upsTestId + oid: 1.3.6.1.2.1.33.1.7.1 + type: OctetString + help: The test is named by an OBJECT IDENTIFIER which allows a standard mechanism + for the initiation of tests, including the well known tests identified in + this document as well as those introduced by a particular implementation, + i.e., as documented in the private enterprise MIB definition for the device + - 1.3.6.1.2.1.33.1.7.1 + - name: upsTestSpinLock + oid: 1.3.6.1.2.1.33.1.7.2 + type: gauge + help: A spin lock on the test subsystem - 1.3.6.1.2.1.33.1.7.2 + - name: upsTestResultsSummary + oid: 1.3.6.1.2.1.33.1.7.3 + type: gauge + help: The results of the current or last UPS diagnostics test performed - 1.3.6.1.2.1.33.1.7.3 + enum_values: + 1: donePass + 2: doneWarning + 3: doneError + 4: aborted + 5: inProgress + 6: noTestsInitiated + - name: upsTestResultsDetail + oid: 1.3.6.1.2.1.33.1.7.4 + type: DisplayString + help: Additional information about upsTestResultsSummary - 1.3.6.1.2.1.33.1.7.4 + - name: upsTestStartTime + oid: 1.3.6.1.2.1.33.1.7.5 + type: gauge + help: The value of sysUpTime at the time the test in progress was initiated, + or, if no test is in progress, the time the previous test was initiated - + 1.3.6.1.2.1.33.1.7.5 + - name: upsTestElapsedTime + oid: 1.3.6.1.2.1.33.1.7.6 + type: gauge + help: The amount of time, in TimeTicks, since the test in progress was initiated, + or, if no test is in progress, the previous test took to complete - 1.3.6.1.2.1.33.1.7.6 + - name: upsShutdownType + oid: 1.3.6.1.2.1.33.1.8.1 + type: gauge + help: This object determines the nature of the action to be taken at the time + when the countdown of the upsShutdownAfterDelay and upsRebootWithDuration + objects reaches zero - 1.3.6.1.2.1.33.1.8.1 + enum_values: + 1: output + 2: system + - name: upsShutdownAfterDelay + oid: 1.3.6.1.2.1.33.1.8.2 + type: gauge + help: Setting this object will shutdown (i.e., turn off) either the UPS output + or the UPS system (as determined by the value of upsShutdownType at the time + of shutdown) after the indicated number of seconds, or less if the UPS batteries + become depleted - 1.3.6.1.2.1.33.1.8.2 + - name: upsStartupAfterDelay + oid: 1.3.6.1.2.1.33.1.8.3 + type: gauge + help: Setting this object will start the output after the indicated number of + seconds, including starting the UPS, if necessary - 1.3.6.1.2.1.33.1.8.3 + - name: upsRebootWithDuration + oid: 1.3.6.1.2.1.33.1.8.4 + type: gauge + help: Setting this object will immediately shutdown (i.e., turn off) either + the UPS output or the UPS system (as determined by the value of upsShutdownType + at the time of shutdown) for a period equal to the indicated number of seconds, + after which time the output will be started, including starting the UPS, if + necessary - 1.3.6.1.2.1.33.1.8.4 + - name: upsAutoRestart + oid: 1.3.6.1.2.1.33.1.8.5 + type: gauge + help: Setting this object to 'on' will cause the UPS system to restart after + a shutdown if the shutdown occurred during a power loss as a result of either + a upsShutdownAfterDelay or an internal battery depleted condition - 1.3.6.1.2.1.33.1.8.5 + enum_values: + 1: "on" + 2: "off" + - name: upsConfigInputVoltage + oid: 1.3.6.1.2.1.33.1.9.1 + type: gauge + help: The magnitude of the nominal input voltage - 1.3.6.1.2.1.33.1.9.1 + - name: upsConfigInputFreq + oid: 1.3.6.1.2.1.33.1.9.2 + type: gauge + help: The nominal input frequency - 1.3.6.1.2.1.33.1.9.2 + - name: upsConfigOutputVoltage + oid: 1.3.6.1.2.1.33.1.9.3 + type: gauge + help: The magnitude of the nominal output voltage - 1.3.6.1.2.1.33.1.9.3 + - name: upsConfigOutputFreq + oid: 1.3.6.1.2.1.33.1.9.4 + type: gauge + help: The nominal output frequency - 1.3.6.1.2.1.33.1.9.4 + - name: upsConfigOutputVA + oid: 1.3.6.1.2.1.33.1.9.5 + type: gauge + help: The magnitude of the nominal Volt-Amp rating. - 1.3.6.1.2.1.33.1.9.5 + - name: upsConfigOutputPower + oid: 1.3.6.1.2.1.33.1.9.6 + type: gauge + help: The magnitude of the nominal true power rating. - 1.3.6.1.2.1.33.1.9.6 + - name: upsConfigLowBattTime + oid: 1.3.6.1.2.1.33.1.9.7 + type: gauge + help: The value of upsEstimatedMinutesRemaining at which a lowBattery condition + is declared - 1.3.6.1.2.1.33.1.9.7 + - name: upsConfigAudibleStatus + oid: 1.3.6.1.2.1.33.1.9.8 + type: gauge + help: The requested state of the audible alarm - 1.3.6.1.2.1.33.1.9.8 + enum_values: + 1: disabled + 2: enabled + 3: muted + - name: upsConfigLowVoltageTransferPoint + oid: 1.3.6.1.2.1.33.1.9.9 + type: gauge + help: The minimum input line voltage allowed before the UPS system transfers + to battery backup. - 1.3.6.1.2.1.33.1.9.9 + - name: upsConfigHighVoltageTransferPoint + oid: 1.3.6.1.2.1.33.1.9.10 + type: gauge + help: The maximum line voltage allowed before the UPS system transfers to battery + backup. - 1.3.6.1.2.1.33.1.9.10 + if_mib: + walk: + - 1.3.6.1.2.1.2 + - 1.3.6.1.2.1.31.1.1 + get: + - 1.3.6.1.2.1.1.3.0 + metrics: + - name: sysUpTime + oid: 1.3.6.1.2.1.1.3 + type: gauge + help: The time (in hundredths of a second) since the network management portion + of the system was last re-initialized. - 1.3.6.1.2.1.1.3 + - name: ifNumber + oid: 1.3.6.1.2.1.2.1 + type: gauge + help: The number of network interfaces (regardless of their current state) present + on this system. - 1.3.6.1.2.1.2.1 + - name: ifIndex + oid: 1.3.6.1.2.1.2.2.1.1 + type: gauge + help: A unique value, greater than zero, for each interface - 1.3.6.1.2.1.2.2.1.1 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifType + oid: 1.3.6.1.2.1.2.2.1.3 + type: EnumAsInfo + help: The type of interface - 1.3.6.1.2.1.2.2.1.3 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + enum_values: + 1: other + 2: regular1822 + 3: hdh1822 + 4: ddnX25 + 5: rfc877x25 + 6: ethernetCsmacd + 7: iso88023Csmacd + 8: iso88024TokenBus + 9: iso88025TokenRing + 10: iso88026Man + 11: starLan + 12: proteon10Mbit + 13: proteon80Mbit + 14: hyperchannel + 15: fddi + 16: lapb + 17: sdlc + 18: ds1 + 19: e1 + 20: basicISDN + 21: primaryISDN + 22: propPointToPointSerial + 23: ppp + 24: softwareLoopback + 25: eon + 26: ethernet3Mbit + 27: nsip + 28: slip + 29: ultra + 30: ds3 + 31: sip + 32: frameRelay + 33: rs232 + 34: para + 35: arcnet + 36: arcnetPlus + 37: atm + 38: miox25 + 39: sonet + 40: x25ple + 41: iso88022llc + 42: localTalk + 43: smdsDxi + 44: frameRelayService + 45: v35 + 46: hssi + 47: hippi + 48: modem + 49: aal5 + 50: sonetPath + 51: sonetVT + 52: smdsIcip + 53: propVirtual + 54: propMultiplexor + 55: ieee80212 + 56: fibreChannel + 57: hippiInterface + 58: frameRelayInterconnect + 59: aflane8023 + 60: aflane8025 + 61: cctEmul + 62: fastEther + 63: isdn + 64: v11 + 65: v36 + 66: g703at64k + 67: g703at2mb + 68: qllc + 69: fastEtherFX + 70: channel + 71: ieee80211 + 72: ibm370parChan + 73: escon + 74: dlsw + 75: isdns + 76: isdnu + 77: lapd + 78: ipSwitch + 79: rsrb + 80: atmLogical + 81: ds0 + 82: ds0Bundle + 83: bsc + 84: async + 85: cnr + 86: iso88025Dtr + 87: eplrs + 88: arap + 89: propCnls + 90: hostPad + 91: termPad + 92: frameRelayMPI + 93: x213 + 94: adsl + 95: radsl + 96: sdsl + 97: vdsl + 98: iso88025CRFPInt + 99: myrinet + 100: voiceEM + 101: voiceFXO + 102: voiceFXS + 103: voiceEncap + 104: voiceOverIp + 105: atmDxi + 106: atmFuni + 107: atmIma + 108: pppMultilinkBundle + 109: ipOverCdlc + 110: ipOverClaw + 111: stackToStack + 112: virtualIpAddress + 113: mpc + 114: ipOverAtm + 115: iso88025Fiber + 116: tdlc + 117: gigabitEthernet + 118: hdlc + 119: lapf + 120: v37 + 121: x25mlp + 122: x25huntGroup + 123: transpHdlc + 124: interleave + 125: fast + 126: ip + 127: docsCableMaclayer + 128: docsCableDownstream + 129: docsCableUpstream + 130: a12MppSwitch + 131: tunnel + 132: coffee + 133: ces + 134: atmSubInterface + 135: l2vlan + 136: l3ipvlan + 137: l3ipxvlan + 138: digitalPowerline + 139: mediaMailOverIp + 140: dtm + 141: dcn + 142: ipForward + 143: msdsl + 144: ieee1394 + 145: if-gsn + 146: dvbRccMacLayer + 147: dvbRccDownstream + 148: dvbRccUpstream + 149: atmVirtual + 150: mplsTunnel + 151: srp + 152: voiceOverAtm + 153: voiceOverFrameRelay + 154: idsl + 155: compositeLink + 156: ss7SigLink + 157: propWirelessP2P + 158: frForward + 159: rfc1483 + 160: usb + 161: ieee8023adLag + 162: bgppolicyaccounting + 163: frf16MfrBundle + 164: h323Gatekeeper + 165: h323Proxy + 166: mpls + 167: mfSigLink + 168: hdsl2 + 169: shdsl + 170: ds1FDL + 171: pos + 172: dvbAsiIn + 173: dvbAsiOut + 174: plc + 175: nfas + 176: tr008 + 177: gr303RDT + 178: gr303IDT + 179: isup + 180: propDocsWirelessMaclayer + 181: propDocsWirelessDownstream + 182: propDocsWirelessUpstream + 183: hiperlan2 + 184: propBWAp2Mp + 185: sonetOverheadChannel + 186: digitalWrapperOverheadChannel + 187: aal2 + 188: radioMAC + 189: atmRadio + 190: imt + 191: mvl + 192: reachDSL + 193: frDlciEndPt + 194: atmVciEndPt + 195: opticalChannel + 196: opticalTransport + 197: propAtm + 198: voiceOverCable + 199: infiniband + 200: teLink + 201: q2931 + 202: virtualTg + 203: sipTg + 204: sipSig + 205: docsCableUpstreamChannel + 206: econet + 207: pon155 + 208: pon622 + 209: bridge + 210: linegroup + 211: voiceEMFGD + 212: voiceFGDEANA + 213: voiceDID + 214: mpegTransport + 215: sixToFour + 216: gtp + 217: pdnEtherLoop1 + 218: pdnEtherLoop2 + 219: opticalChannelGroup + 220: homepna + 221: gfp + 222: ciscoISLvlan + 223: actelisMetaLOOP + 224: fcipLink + 225: rpr + 226: qam + 227: lmp + 228: cblVectaStar + 229: docsCableMCmtsDownstream + 230: adsl2 + 231: macSecControlledIF + 232: macSecUncontrolledIF + 233: aviciOpticalEther + 234: atmbond + 235: voiceFGDOS + 236: mocaVersion1 + 237: ieee80216WMAN + 238: adsl2plus + 239: dvbRcsMacLayer + 240: dvbTdm + 241: dvbRcsTdma + 242: x86Laps + 243: wwanPP + 244: wwanPP2 + 245: voiceEBS + 246: ifPwType + 247: ilan + 248: pip + 249: aluELP + 250: gpon + 251: vdsl2 + 252: capwapDot11Profile + 253: capwapDot11Bss + 254: capwapWtpVirtualRadio + 255: bits + 256: docsCableUpstreamRfPort + 257: cableDownstreamRfPort + 258: vmwareVirtualNic + 259: ieee802154 + 260: otnOdu + 261: otnOtu + 262: ifVfiType + 263: g9981 + 264: g9982 + 265: g9983 + 266: aluEpon + 267: aluEponOnu + 268: aluEponPhysicalUni + 269: aluEponLogicalLink + 270: aluGponOnu + 271: aluGponPhysicalUni + 272: vmwareNicTeam + 277: docsOfdmDownstream + 278: docsOfdmaUpstream + 279: gfast + 280: sdci + 281: xboxWireless + 282: fastdsl + - name: ifMtu + oid: 1.3.6.1.2.1.2.2.1.4 + type: gauge + help: The size of the largest packet which can be sent/received on the interface, + specified in octets - 1.3.6.1.2.1.2.2.1.4 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifSpeed + oid: 1.3.6.1.2.1.2.2.1.5 + type: gauge + help: An estimate of the interface's current bandwidth in bits per second - + 1.3.6.1.2.1.2.2.1.5 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifPhysAddress + oid: 1.3.6.1.2.1.2.2.1.6 + type: PhysAddress48 + help: The interface's address at its protocol sub-layer - 1.3.6.1.2.1.2.2.1.6 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifAdminStatus + oid: 1.3.6.1.2.1.2.2.1.7 + type: gauge + help: The desired state of the interface - 1.3.6.1.2.1.2.2.1.7 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + enum_values: + 1: up + 2: down + 3: testing + - name: ifOperStatus + oid: 1.3.6.1.2.1.2.2.1.8 + type: gauge + help: The current operational state of the interface - 1.3.6.1.2.1.2.2.1.8 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + enum_values: + 1: up + 2: down + 3: testing + 4: unknown + 5: dormant + 6: notPresent + 7: lowerLayerDown + - name: ifLastChange + oid: 1.3.6.1.2.1.2.2.1.9 + type: gauge + help: The value of sysUpTime at the time the interface entered its current operational + state - 1.3.6.1.2.1.2.2.1.9 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifInOctets + oid: 1.3.6.1.2.1.2.2.1.10 + type: counter + help: The total number of octets received on the interface, including framing + characters - 1.3.6.1.2.1.2.2.1.10 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifInUcastPkts + oid: 1.3.6.1.2.1.2.2.1.11 + type: counter + help: The number of packets, delivered by this sub-layer to a higher (sub-)layer, + which were not addressed to a multicast or broadcast address at this sub-layer + - 1.3.6.1.2.1.2.2.1.11 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifInNUcastPkts + oid: 1.3.6.1.2.1.2.2.1.12 + type: counter + help: The number of packets, delivered by this sub-layer to a higher (sub-)layer, + which were addressed to a multicast or broadcast address at this sub-layer + - 1.3.6.1.2.1.2.2.1.12 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifInDiscards + oid: 1.3.6.1.2.1.2.2.1.13 + type: counter + help: The number of inbound packets which were chosen to be discarded even though + no errors had been detected to prevent their being deliverable to a higher-layer + protocol - 1.3.6.1.2.1.2.2.1.13 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifInErrors + oid: 1.3.6.1.2.1.2.2.1.14 + type: counter + help: For packet-oriented interfaces, the number of inbound packets that contained + errors preventing them from being deliverable to a higher-layer protocol - + 1.3.6.1.2.1.2.2.1.14 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifInUnknownProtos + oid: 1.3.6.1.2.1.2.2.1.15 + type: counter + help: For packet-oriented interfaces, the number of packets received via the + interface which were discarded because of an unknown or unsupported protocol + - 1.3.6.1.2.1.2.2.1.15 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifOutOctets + oid: 1.3.6.1.2.1.2.2.1.16 + type: counter + help: The total number of octets transmitted out of the interface, including + framing characters - 1.3.6.1.2.1.2.2.1.16 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifOutUcastPkts + oid: 1.3.6.1.2.1.2.2.1.17 + type: counter + help: The total number of packets that higher-level protocols requested be transmitted, + and which were not addressed to a multicast or broadcast address at this sub-layer, + including those that were discarded or not sent - 1.3.6.1.2.1.2.2.1.17 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifOutNUcastPkts + oid: 1.3.6.1.2.1.2.2.1.18 + type: counter + help: The total number of packets that higher-level protocols requested be transmitted, + and which were addressed to a multicast or broadcast address at this sub-layer, + including those that were discarded or not sent - 1.3.6.1.2.1.2.2.1.18 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifOutDiscards + oid: 1.3.6.1.2.1.2.2.1.19 + type: counter + help: The number of outbound packets which were chosen to be discarded even + though no errors had been detected to prevent their being transmitted - 1.3.6.1.2.1.2.2.1.19 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifOutErrors + oid: 1.3.6.1.2.1.2.2.1.20 + type: counter + help: For packet-oriented interfaces, the number of outbound packets that could + not be transmitted because of errors - 1.3.6.1.2.1.2.2.1.20 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifOutQLen + oid: 1.3.6.1.2.1.2.2.1.21 + type: gauge + help: The length of the output packet queue (in packets). - 1.3.6.1.2.1.2.2.1.21 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifSpecific + oid: 1.3.6.1.2.1.2.2.1.22 + type: OctetString + help: A reference to MIB definitions specific to the particular media being + used to realize the interface - 1.3.6.1.2.1.2.2.1.22 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifInMulticastPkts + oid: 1.3.6.1.2.1.31.1.1.1.2 + type: counter + help: The number of packets, delivered by this sub-layer to a higher (sub-)layer, + which were addressed to a multicast address at this sub-layer - 1.3.6.1.2.1.31.1.1.1.2 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifInBroadcastPkts + oid: 1.3.6.1.2.1.31.1.1.1.3 + type: counter + help: The number of packets, delivered by this sub-layer to a higher (sub-)layer, + which were addressed to a broadcast address at this sub-layer - 1.3.6.1.2.1.31.1.1.1.3 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifOutMulticastPkts + oid: 1.3.6.1.2.1.31.1.1.1.4 + type: counter + help: The total number of packets that higher-level protocols requested be transmitted, + and which were addressed to a multicast address at this sub-layer, including + those that were discarded or not sent - 1.3.6.1.2.1.31.1.1.1.4 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifOutBroadcastPkts + oid: 1.3.6.1.2.1.31.1.1.1.5 + type: counter + help: The total number of packets that higher-level protocols requested be transmitted, + and which were addressed to a broadcast address at this sub-layer, including + those that were discarded or not sent - 1.3.6.1.2.1.31.1.1.1.5 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifHCInOctets + oid: 1.3.6.1.2.1.31.1.1.1.6 + type: counter + help: The total number of octets received on the interface, including framing + characters - 1.3.6.1.2.1.31.1.1.1.6 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifHCInUcastPkts + oid: 1.3.6.1.2.1.31.1.1.1.7 + type: counter + help: The number of packets, delivered by this sub-layer to a higher (sub-)layer, + which were not addressed to a multicast or broadcast address at this sub-layer + - 1.3.6.1.2.1.31.1.1.1.7 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifHCInMulticastPkts + oid: 1.3.6.1.2.1.31.1.1.1.8 + type: counter + help: The number of packets, delivered by this sub-layer to a higher (sub-)layer, + which were addressed to a multicast address at this sub-layer - 1.3.6.1.2.1.31.1.1.1.8 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifHCInBroadcastPkts + oid: 1.3.6.1.2.1.31.1.1.1.9 + type: counter + help: The number of packets, delivered by this sub-layer to a higher (sub-)layer, + which were addressed to a broadcast address at this sub-layer - 1.3.6.1.2.1.31.1.1.1.9 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifHCOutOctets + oid: 1.3.6.1.2.1.31.1.1.1.10 + type: counter + help: The total number of octets transmitted out of the interface, including + framing characters - 1.3.6.1.2.1.31.1.1.1.10 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifHCOutUcastPkts + oid: 1.3.6.1.2.1.31.1.1.1.11 + type: counter + help: The total number of packets that higher-level protocols requested be transmitted, + and which were not addressed to a multicast or broadcast address at this sub-layer, + including those that were discarded or not sent - 1.3.6.1.2.1.31.1.1.1.11 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifHCOutMulticastPkts + oid: 1.3.6.1.2.1.31.1.1.1.12 + type: counter + help: The total number of packets that higher-level protocols requested be transmitted, + and which were addressed to a multicast address at this sub-layer, including + those that were discarded or not sent - 1.3.6.1.2.1.31.1.1.1.12 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifHCOutBroadcastPkts + oid: 1.3.6.1.2.1.31.1.1.1.13 + type: counter + help: The total number of packets that higher-level protocols requested be transmitted, + and which were addressed to a broadcast address at this sub-layer, including + those that were discarded or not sent - 1.3.6.1.2.1.31.1.1.1.13 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifLinkUpDownTrapEnable + oid: 1.3.6.1.2.1.31.1.1.1.14 + type: gauge + help: Indicates whether linkUp/linkDown traps should be generated for this interface + - 1.3.6.1.2.1.31.1.1.1.14 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + enum_values: + 1: enabled + 2: disabled + - name: ifHighSpeed + oid: 1.3.6.1.2.1.31.1.1.1.15 + type: gauge + help: An estimate of the interface's current bandwidth in units of 1,000,000 + bits per second - 1.3.6.1.2.1.31.1.1.1.15 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: ifPromiscuousMode + oid: 1.3.6.1.2.1.31.1.1.1.16 + type: gauge + help: This object has a value of false(2) if this interface only accepts packets/frames + that are addressed to this station - 1.3.6.1.2.1.31.1.1.1.16 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + enum_values: + 1: "true" + 2: "false" + - name: ifConnectorPresent + oid: 1.3.6.1.2.1.31.1.1.1.17 + type: gauge + help: This object has the value 'true(1)' if the interface sublayer has a physical + connector and the value 'false(2)' otherwise. - 1.3.6.1.2.1.31.1.1.1.17 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + enum_values: + 1: "true" + 2: "false" + - name: ifCounterDiscontinuityTime + oid: 1.3.6.1.2.1.31.1.1.1.19 + type: gauge + help: The value of sysUpTime on the most recent occasion at which any one or + more of this interface's counters suffered a discontinuity - 1.3.6.1.2.1.31.1.1.1.19 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + ip_mib: + walk: + - 1.3.6.1.2.1.4.28 + metrics: + - name: ipv4InterfaceIfIndex + oid: 1.3.6.1.2.1.4.28.1.1 + type: gauge + help: The index value that uniquely identifies the interface to which this entry + is applicable - 1.3.6.1.2.1.4.28.1.1 + indexes: + - labelname: ipv4InterfaceIfIndex + type: gauge + - name: ipv4InterfaceReasmMaxSize + oid: 1.3.6.1.2.1.4.28.1.2 + type: gauge + help: The size of the largest IPv4 datagram that this entity can re-assemble + from incoming IPv4 fragmented datagrams received on this interface. - 1.3.6.1.2.1.4.28.1.2 + indexes: + - labelname: ipv4InterfaceIfIndex + type: gauge + - name: ipv4InterfaceEnableStatus + oid: 1.3.6.1.2.1.4.28.1.3 + type: gauge + help: The indication of whether IPv4 is enabled (up) or disabled (down) on this + interface - 1.3.6.1.2.1.4.28.1.3 + indexes: + - labelname: ipv4InterfaceIfIndex + type: gauge + enum_values: + 1: up + 2: down + - name: ipv4InterfaceRetransmitTime + oid: 1.3.6.1.2.1.4.28.1.4 + type: gauge + help: The time between retransmissions of ARP requests to a neighbor when resolving + the address or when probing the reachability of a neighbor. - 1.3.6.1.2.1.4.28.1.4 + indexes: + - labelname: ipv4InterfaceIfIndex + type: gauge