snmp_exporter for prometheus show little information.

snmp_exporter for prometheus show little information,

Code:
# HELP snmp_scrape_duration_seconds Total SNMP time scrape took (walk and processing).
# TYPE snmp_scrape_duration_seconds gauge
snmp_scrape_duration_seconds{module="if_mib"} 0.000661222
# HELP snmp_scrape_packets_retried Packets retried for get, bulkget, and walk.
# TYPE snmp_scrape_packets_retried gauge
snmp_scrape_packets_retried{module="if_mib"} 0
# HELP snmp_scrape_packets_sent Packets sent for get, bulkget, and walk; including retries.
# TYPE snmp_scrape_packets_sent gauge
snmp_scrape_packets_sent{module="if_mib"} 4
# HELP snmp_scrape_pdus_returned PDUs returned from get, bulkget, and walk.
# TYPE snmp_scrape_pdus_returned gauge
snmp_scrape_pdus_returned{module="if_mib"} 1
# HELP snmp_scrape_walk_duration_seconds Time SNMP walk/bulkwalk took.
# TYPE snmp_scrape_walk_duration_seconds gauge
snmp_scrape_walk_duration_seconds{module="if_mib"} 0.000625093
# HELP sysUpTime 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
# TYPE sysUpTime gauge
sysUpTime 1.404305e+06
 
Now i see, my generator.yml is :
Code:
auths:
  public_v2:
    community: public
    version: 2
  private_v2:
    community: public
    version: 2
  # ... other auth configurations

modules:
  # Default IF-MIB interfaces table with ifIndex.
  if_mib:
    walk: [sysUpTime, interfaces, ifXTable]
  # Interfaces if ifAlias is unique.
  if_mib_ifalias:
    walk: [sysUpTime, interfaces, ifXTable]
  # Interfaces if ifDescr is unique.
  if_mib_ifdescr:
    walk: [sysUpTime, interfaces, ifXTable]
  # Interfaces if ifName is unique.
  if_mib_ifname:
    walk: [sysUpTime, interfaces, ifXTable]
 
Still no usefull information,

Code:
# HELP snmp_scrape_duration_seconds Total SNMP time scrape took (walk and processing).
# TYPE snmp_scrape_duration_seconds gauge
snmp_scrape_duration_seconds{module="if_mib"} 0.001583654
snmp_scrape_duration_seconds{module="ip_mib"} 0.000994785
snmp_scrape_duration_seconds{module="ucd_memory"} 0.000320944
snmp_scrape_duration_seconds{module="ucd_system_stats"} 0.000329951
# HELP snmp_scrape_packets_retried Packets retried for get, bulkget, and walk.
# TYPE snmp_scrape_packets_retried gauge
snmp_scrape_packets_retried{module="if_mib"} 0
snmp_scrape_packets_retried{module="ip_mib"} 0
snmp_scrape_packets_retried{module="ucd_memory"} 0
snmp_scrape_packets_retried{module="ucd_system_stats"} 0
# HELP snmp_scrape_packets_sent Packets sent for get, bulkget, and walk; including retries.
# TYPE snmp_scrape_packets_sent gauge
snmp_scrape_packets_sent{module="if_mib"} 3
snmp_scrape_packets_sent{module="ip_mib"} 2
snmp_scrape_packets_sent{module="ucd_memory"} 1
snmp_scrape_packets_sent{module="ucd_system_stats"} 1
# HELP snmp_scrape_pdus_returned PDUs returned from get, bulkget, and walk.
# TYPE snmp_scrape_pdus_returned gauge
snmp_scrape_pdus_returned{module="if_mib"} 0
snmp_scrape_pdus_returned{module="ip_mib"} 0
snmp_scrape_pdus_returned{module="ucd_memory"} 0
snmp_scrape_pdus_returned{module="ucd_system_stats"} 0
# HELP snmp_scrape_walk_duration_seconds Time SNMP walk/bulkwalk took.
# TYPE snmp_scrape_walk_duration_seconds gauge
snmp_scrape_walk_duration_seconds{module="if_mib"} 0.00149633
snmp_scrape_walk_duration_seconds{module="ip_mib"} 0.000963527
snmp_scrape_walk_duration_seconds{module="ucd_memory"} 0.000242342
snmp_scrape_walk_duration_seconds{module="ucd_system_stats"} 0.000244761
 
Currently little more information,

Prometheus.yml

module: [if_mib,ip_mib,system,ucd_memory,ucd_system_stats,hrSystem,hrStorage,hrDevice,hrSWRun,hrSWRunPerf,hrSWInstalled]

Code:
# HELP hrSystemDate The host's notion of the local date and time of day. - 1.3.6.1.2.1.25.1.2
# TYPE hrSystemDate gauge
hrSystemDate 1.754834694e+09
# HELP hrSystemInitialLoadDevice The index of the hrDeviceEntry for the device from which this host is configured to load its initial operating system configuration (i.e., which operating system code and/or boot parameters) - 1.3.6.1.2.1.25.1.3
# TYPE hrSystemInitialLoadDevice gauge
hrSystemInitialLoadDevice 393216
# HELP hrSystemInitialLoadParameters This object contains the parameters (e.g - 1.3.6.1.2.1.25.1.4
# TYPE hrSystemInitialLoadParameters gauge
hrSystemInitialLoadParameters{hrSystemInitialLoadParameters="0x61736B2044617665"} 1
# HELP hrSystemMaxProcesses The maximum number of process contexts this system can support - 1.3.6.1.2.1.25.1.7
# TYPE hrSystemMaxProcesses gauge
hrSystemMaxProcesses 21508
# HELP hrSystemNumUsers The number of user sessions for which this host is storing state information - 1.3.6.1.2.1.25.1.5
# TYPE hrSystemNumUsers gauge
hrSystemNumUsers 1
# HELP hrSystemProcesses The number of process contexts currently loaded or running on this system. - 1.3.6.1.2.1.25.1.6
# TYPE hrSystemProcesses gauge
hrSystemProcesses 283
# HELP hrSystemUptime The amount of time since this host was last initialized - 1.3.6.1.2.1.25.1.1
# TYPE hrSystemUptime gauge
hrSystemUptime 2.465126e+06
# HELP sysContact 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
# TYPE sysContact gauge
sysContact{sysContact="Alain <devosalain@ymail.com>"} 1
# HELP sysDescr A textual description of the entity - 1.3.6.1.2.1.1.1
# TYPE sysDescr gauge
sysDescr{sysDescr="FreeBSD myfreebsd 14.3-RELEASE-p1 FreeBSD 14.3-RELEASE-p1 releng/14.3-n271434-2ea99b8ed142 MYKERNEL amd64"} 1
# HELP sysLocation The physical location of this node (e.g., 'telephone closet, 3rd floor') - 1.3.6.1.2.1.1.6
# TYPE sysLocation gauge
sysLocation{sysLocation="Sitting on the Dock of the Bay"} 1
# HELP sysName An administratively-assigned name for this managed node - 1.3.6.1.2.1.1.5
# TYPE sysName gauge
sysName{sysName="myfreebsd"} 1
# HELP sysORDescr A textual description of the capabilities identified by the corresponding instance of sysORID. - 1.3.6.1.2.1.1.9.1.3
# TYPE sysORDescr gauge
sysORDescr{sysORDescr="The MIB for Message Processing and Dispatching.",sysORIndex="2"} 1
sysORDescr{sysORDescr="The MIB module for SNMPv2 entities",sysORIndex="4"} 1
sysORDescr{sysORDescr="The MIB module for logging SNMP Notifications.",sysORIndex="10"} 1
sysORDescr{sysORDescr="The MIB module for managing IP and ICMP implementations",sysORIndex="8"} 1
sysORDescr{sysORDescr="The MIB module for managing TCP implementations",sysORIndex="6"} 1
sysORDescr{sysORDescr="The MIB module for managing UDP implementations",sysORIndex="7"} 1
sysORDescr{sysORDescr="The MIB modules for managing SNMP Notification, plus filtering.",sysORIndex="9"} 1
sysORDescr{sysORDescr="The SNMP Management Architecture MIB.",sysORIndex="1"} 1
sysORDescr{sysORDescr="The management information definitions for the SNMP User-based Security Model.",sysORIndex="3"} 1
sysORDescr{sysORDescr="View-based Access Control Model for SNMP.",sysORIndex="5"} 1
# HELP sysORID 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
# TYPE sysORID gauge
sysORID{sysORDescr="The MIB for Message Processing and Dispatching.",sysORID="1.3.6.1.6.3.11.3.1.1",sysORIndex="2"} 1
sysORID{sysORDescr="The MIB module for SNMPv2 entities",sysORID="1.3.6.1.6.3.1",sysORIndex="4"} 1
sysORID{sysORDescr="The MIB module for logging SNMP Notifications.",sysORID="1.3.6.1.2.1.92",sysORIndex="10"} 1
sysORID{sysORDescr="The MIB module for managing IP and ICMP implementations",sysORID="1.3.6.1.2.1.4",sysORIndex="8"} 1
sysORID{sysORDescr="The MIB module for managing TCP implementations",sysORID="1.3.6.1.2.1.49",sysORIndex="6"} 1
sysORID{sysORDescr="The MIB module for managing UDP implementations",sysORID="1.3.6.1.2.1.50",sysORIndex="7"} 1
sysORID{sysORDescr="The MIB modules for managing SNMP Notification, plus filtering.",sysORID="1.3.6.1.6.3.13.3.1.3",sysORIndex="9"} 1
sysORID{sysORDescr="The SNMP Management Architecture MIB.",sysORID="1.3.6.1.6.3.10.3.1.1",sysORIndex="1"} 1
sysORID{sysORDescr="The management information definitions for the SNMP User-based Security Model.",sysORID="1.3.6.1.6.3.15.2.1.1",sysORIndex="3"} 1
sysORID{sysORDescr="View-based Access Control Model for SNMP.",sysORID="1.3.6.1.6.3.16.2.2.1",sysORIndex="5"} 1
# HELP sysORLastChange 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
# TYPE sysORLastChange gauge
sysORLastChange 0
# HELP sysORUpTime The value of sysUpTime at the time this conceptual row was last instantiated. - 1.3.6.1.2.1.1.9.1.4
# TYPE sysORUpTime gauge
sysORUpTime{sysORDescr="The MIB for Message Processing and Dispatching.",sysORIndex="2"} 0
sysORUpTime{sysORDescr="The MIB module for SNMPv2 entities",sysORIndex="4"} 0
sysORUpTime{sysORDescr="The MIB module for logging SNMP Notifications.",sysORIndex="10"} 0
sysORUpTime{sysORDescr="The MIB module for managing IP and ICMP implementations",sysORIndex="8"} 0
sysORUpTime{sysORDescr="The MIB module for managing TCP implementations",sysORIndex="6"} 0
sysORUpTime{sysORDescr="The MIB module for managing UDP implementations",sysORIndex="7"} 0
sysORUpTime{sysORDescr="The MIB modules for managing SNMP Notification, plus filtering.",sysORIndex="9"} 0
sysORUpTime{sysORDescr="The SNMP Management Architecture MIB.",sysORIndex="1"} 0
sysORUpTime{sysORDescr="The management information definitions for the SNMP User-based Security Model.",sysORIndex="3"} 0
sysORUpTime{sysORDescr="View-based Access Control Model for SNMP.",sysORIndex="5"} 0
# HELP sysObjectID The vendor's authoritative identification of the network management subsystem contained in the entity - 1.3.6.1.2.1.1.2
# TYPE sysObjectID gauge
sysObjectID{sysObjectID="1.3.6.1.4.1.8072.3.2.8"} 1
# HELP sysServices A value which indicates the set of services that this entity may potentially offer - 1.3.6.1.2.1.1.7
# TYPE sysServices gauge
sysServices 72
# HELP sysUpTime 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
# TYPE sysUpTime gauge
sysUpTime 2.064737e+06
 
Back
Top