Hi Everyone!
I Added a few OIDs and a couple of targets to an existing and working prometheus server, but they are not showing the metrics which i need to monitor. Everything else, ie the old targets and OIDs are being monitored just fine. Please find the snapshots of the config and the output i received and help me figure out what’s going wrong. Thanks!
Config-
- job_name: ‘UPS’
scrape_interval: 5m
scrape_timeout: 1m
static_configs:
- targets:
-
metrics_path: /snmp
params:
module: [default]
relabel_configs:
- source_labels: [address]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: address
replacement: :9116 # The SNMP exporter’s real hostname:port.
Output-
HELP snmp_scrape_duration_seconds Total SNMP time scrape took (walk and processing).
TYPE snmp_scrape_duration_seconds gauge
snmp_scrape_duration_seconds 13.088691759
HELP snmp_scrape_pdus_returned PDUs returned from walk.
TYPE snmp_scrape_pdus_returned gauge
snmp_scrape_pdus_returned 0
HELP snmp_scrape_walk_duration_seconds Time SNMP walk/bulkwalk took.
TYPE snmp_scrape_walk_duration_seconds gauge
snmp_scrape_walk_duration_seconds 13.088647158