diff --git a/generator.yml b/generator.yml index efd71cd..40f421d 100644 --- a/generator.yml +++ b/generator.yml @@ -1,7 +1,9 @@ +auths: + public_v2: + community: public + version: 2 modules: edgerouter: - auth: - community: public walk: - memTotalReal - memAvailReal @@ -31,5 +33,5 @@ modules: - tcpEstabResets - tcpCurrEstab lookups: - - old_index: ifIndex - new_index: ifName + - source_indexes: [ifIndex] + lookup: ifName diff --git a/snmp.yml b/snmp.yml index 8afcd5c..09fb04a 100644 --- a/snmp.yml +++ b/snmp.yml @@ -1,236 +1,257 @@ # WARNING: This file was auto-generated using snmp_exporter generator, manual changes will be lost. -edgerouter: - walk: - - 1.3.6.1.2.1.2.2.1.13 - - 1.3.6.1.2.1.2.2.1.14 - - 1.3.6.1.2.1.2.2.1.19 - - 1.3.6.1.2.1.2.2.1.20 - - 1.3.6.1.2.1.2.2.1.7 - - 1.3.6.1.2.1.2.2.1.8 - - 1.3.6.1.2.1.2.2.1.9 - - 1.3.6.1.2.1.25.2.3.1.5 - - 1.3.6.1.2.1.25.2.3.1.6 - - 1.3.6.1.2.1.25.3.3.1.2 - - 1.3.6.1.2.1.31.1.1.1.1 - - 1.3.6.1.2.1.31.1.1.1.10 - - 1.3.6.1.2.1.31.1.1.1.6 - get: - - 1.3.6.1.2.1.25.1.1.0 - - 1.3.6.1.2.1.25.1.6.0 - - 1.3.6.1.2.1.25.1.7.0 - - 1.3.6.1.2.1.25.2.2.0 - - 1.3.6.1.2.1.6.4.0 - - 1.3.6.1.2.1.6.5.0 - - 1.3.6.1.2.1.6.6.0 - - 1.3.6.1.2.1.6.8.0 - - 1.3.6.1.2.1.6.9.0 - - 1.3.6.1.4.1.2021.11.53.0 - - 1.3.6.1.4.1.2021.4.5.0 - - 1.3.6.1.4.1.2021.4.6.0 - metrics: - - 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: ifName +auths: + public_v2: + community: public + security_level: noAuthNoPriv + auth_protocol: MD5 + priv_protocol: DES + version: 2 +modules: + edgerouter: + walk: + - 1.3.6.1.2.1.2.2.1.13 + - 1.3.6.1.2.1.2.2.1.14 + - 1.3.6.1.2.1.2.2.1.19 + - 1.3.6.1.2.1.2.2.1.20 + - 1.3.6.1.2.1.2.2.1.7 + - 1.3.6.1.2.1.2.2.1.8 + - 1.3.6.1.2.1.2.2.1.9 + - 1.3.6.1.2.1.25.2.3.1.5 + - 1.3.6.1.2.1.25.2.3.1.6 + - 1.3.6.1.2.1.25.3.3.1.2 + - 1.3.6.1.2.1.31.1.1.1.1 + - 1.3.6.1.2.1.31.1.1.1.10 + - 1.3.6.1.2.1.31.1.1.1.6 + get: + - 1.3.6.1.2.1.25.1.1.0 + - 1.3.6.1.2.1.25.1.6.0 + - 1.3.6.1.2.1.25.1.7.0 + - 1.3.6.1.2.1.25.2.2.0 + - 1.3.6.1.2.1.6.4.0 + - 1.3.6.1.2.1.6.5.0 + - 1.3.6.1.2.1.6.6.0 + - 1.3.6.1.2.1.6.8.0 + - 1.3.6.1.2.1.6.9.0 + - 1.3.6.1.4.1.2021.11.53.0 + - 1.3.6.1.4.1.2021.4.5.0 + - 1.3.6.1.4.1.2021.4.6.0 + metrics: + - 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: 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: 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: 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: 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 - lookups: - - labels: - - ifName - 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: ifName + 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: 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 - lookups: - - labels: - - ifName - 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: ifName + 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: 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 - lookups: - - labels: - - ifName - 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: ifName + 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: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: hrSystemUptime + oid: 1.3.6.1.2.1.25.1.1 type: gauge - lookups: - - labels: - - ifName - 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: ifName + help: The amount of time since this host was last initialized - 1.3.6.1.2.1.25.1.1 + - name: hrSystemProcesses + oid: 1.3.6.1.2.1.25.1.6 type: gauge - lookups: - - labels: - - ifName - labelname: ifName - oid: 1.3.6.1.2.1.31.1.1.1.1 - type: DisplayString - - 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: ifName + help: The number of process contexts currently loaded or running on this system. + - 1.3.6.1.2.1.25.1.6 + - name: hrSystemMaxProcesses + oid: 1.3.6.1.2.1.25.1.7 type: gauge - lookups: - - labels: - - ifName - labelname: ifName - oid: 1.3.6.1.2.1.31.1.1.1.1 - type: DisplayString - - 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: ifName + help: The maximum number of process contexts this system can support - 1.3.6.1.2.1.25.1.7 + - name: hrMemorySize + oid: 1.3.6.1.2.1.25.2.2 type: gauge - lookups: - - labels: - - ifName - labelname: ifName - oid: 1.3.6.1.2.1.31.1.1.1.1 - type: DisplayString - - name: hrSystemUptime - oid: 1.3.6.1.2.1.25.1.1 - type: gauge - help: The amount of time since this host was last initialized - 1.3.6.1.2.1.25.1.1 - - name: hrSystemProcesses - oid: 1.3.6.1.2.1.25.1.6 - type: gauge - help: The number of process contexts currently loaded or running on this system. - - 1.3.6.1.2.1.25.1.6 - - name: hrSystemMaxProcesses - oid: 1.3.6.1.2.1.25.1.7 - type: gauge - help: The maximum number of process contexts this system can support - 1.3.6.1.2.1.25.1.7 - - name: hrMemorySize - oid: 1.3.6.1.2.1.25.2.2 - type: gauge - help: The amount of physical read-write main memory, typically RAM, contained - by the host. - 1.3.6.1.2.1.25.2.2 - - name: hrStorageSize - oid: 1.3.6.1.2.1.25.2.3.1.5 - type: gauge - help: The size of the storage represented by this entry, in units of hrStorageAllocationUnits - - 1.3.6.1.2.1.25.2.3.1.5 - indexes: - - labelname: hrStorageIndex + help: The amount of physical read-write main memory, typically RAM, contained + by the host. - 1.3.6.1.2.1.25.2.2 + - name: hrStorageSize + oid: 1.3.6.1.2.1.25.2.3.1.5 type: gauge - - name: hrStorageUsed - oid: 1.3.6.1.2.1.25.2.3.1.6 - type: gauge - help: The amount of the storage represented by this entry that is allocated, in - units of hrStorageAllocationUnits. - 1.3.6.1.2.1.25.2.3.1.6 - indexes: - - labelname: hrStorageIndex + help: The size of the storage represented by this entry, in units of hrStorageAllocationUnits + - 1.3.6.1.2.1.25.2.3.1.5 + indexes: + - labelname: hrStorageIndex + type: gauge + - name: hrStorageUsed + oid: 1.3.6.1.2.1.25.2.3.1.6 type: gauge - - name: hrProcessorLoad - oid: 1.3.6.1.2.1.25.3.3.1.2 - type: gauge - help: The average, over the last minute, of the percentage of time that this processor - was not idle - 1.3.6.1.2.1.25.3.3.1.2 - indexes: - - labelname: hrDeviceIndex + help: The amount of the storage represented by this entry that is allocated, + in units of hrStorageAllocationUnits. - 1.3.6.1.2.1.25.2.3.1.6 + indexes: + - labelname: hrStorageIndex + type: gauge + - name: hrProcessorLoad + oid: 1.3.6.1.2.1.25.3.3.1.2 type: gauge - - 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: ifName + help: The average, over the last minute, of the percentage of time that this + processor was not idle - 1.3.6.1.2.1.25.3.3.1.2 + indexes: + - labelname: hrDeviceIndex + type: gauge + - 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: 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: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + - name: tcpMaxConn + oid: 1.3.6.1.2.1.6.4 type: gauge - lookups: - - labels: - - ifName - 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: ifName + help: The limit on the total number of TCP connections the entity can support + - 1.3.6.1.2.1.6.4 + - name: tcpActiveOpens + oid: 1.3.6.1.2.1.6.5 + type: counter + help: The number of times that TCP connections have made a direct transition + to the SYN-SENT state from the CLOSED state - 1.3.6.1.2.1.6.5 + - name: tcpPassiveOpens + oid: 1.3.6.1.2.1.6.6 + type: counter + help: The number of times TCP connections have made a direct transition to the + SYN-RCVD state from the LISTEN state - 1.3.6.1.2.1.6.6 + - name: tcpEstabResets + oid: 1.3.6.1.2.1.6.8 + type: counter + help: The number of times that TCP connections have made a direct transition + to the CLOSED state from either the ESTABLISHED state or the CLOSE-WAIT state + - 1.3.6.1.2.1.6.8 + - name: tcpCurrEstab + oid: 1.3.6.1.2.1.6.9 type: gauge - lookups: - - labels: - - ifName - labelname: ifName - oid: 1.3.6.1.2.1.31.1.1.1.1 - type: DisplayString - - name: tcpMaxConn - oid: 1.3.6.1.2.1.6.4 - type: gauge - help: The limit on the total number of TCP connections the entity can support - - 1.3.6.1.2.1.6.4 - - name: tcpActiveOpens - oid: 1.3.6.1.2.1.6.5 - type: counter - help: The number of times TCP connections have made a direct transition to the - SYN-SENT state from the CLOSED state. - 1.3.6.1.2.1.6.5 - - name: tcpPassiveOpens - oid: 1.3.6.1.2.1.6.6 - type: counter - help: The number of times TCP connections have made a direct transition to the - SYN-RCVD state from the LISTEN state. - 1.3.6.1.2.1.6.6 - - name: tcpEstabResets - oid: 1.3.6.1.2.1.6.8 - type: counter - help: The number of times TCP connections have made a direct transition to the - CLOSED state from either the ESTABLISHED state or the CLOSE-WAIT state. - 1.3.6.1.2.1.6.8 - - name: tcpCurrEstab - oid: 1.3.6.1.2.1.6.9 - type: gauge - help: The number of TCP connections for which the current state is either ESTABLISHED - or CLOSE- WAIT. - 1.3.6.1.2.1.6.9 - - name: ssCpuRawIdle - oid: 1.3.6.1.4.1.2021.11.53 - type: counter - help: The number of 'ticks' (typically 1/100s) spent idle - 1.3.6.1.4.1.2021.11.53 - - name: memTotalReal - oid: 1.3.6.1.4.1.2021.4.5 - type: gauge - help: The total amount of real/physical memory installed on this host. - 1.3.6.1.4.1.2021.4.5 - - name: memAvailReal - oid: 1.3.6.1.4.1.2021.4.6 - type: gauge - help: The amount of real/physical memory currently unused or available. - 1.3.6.1.4.1.2021.4.6 - auth: - community: public + help: The number of TCP connections for which the current state is either ESTABLISHED + or CLOSE-WAIT. - 1.3.6.1.2.1.6.9 + - name: ssCpuRawIdle + oid: 1.3.6.1.4.1.2021.11.53 + type: counter + help: The number of 'ticks' (typically 1/100s) spent idle - 1.3.6.1.4.1.2021.11.53 + - name: memTotalReal + oid: 1.3.6.1.4.1.2021.4.5 + type: gauge + help: The total amount of real/physical memory installed on this host. - 1.3.6.1.4.1.2021.4.5 + - name: memAvailReal + oid: 1.3.6.1.4.1.2021.4.6 + type: gauge + help: The amount of real/physical memory currently unused or available. - 1.3.6.1.4.1.2021.4.6 +