add snmp exporter from fabbs

This commit is contained in:
nd 2022-06-29 21:09:34 +02:00
parent 3391c2b8a2
commit 51346d08b7
No known key found for this signature in database
GPG key ID: 089EAC11F59D1863
5 changed files with 122 additions and 0 deletions

View file

@ -42,6 +42,20 @@ prometheus_agent:
jobs: {}
promtail:
enable: False
snmp:
enable: False
mib_path: /usr/share/snmp/mibs
args:
"web.listen-address": "[::1]:9116"
"config.file": "/etc/prometheus/snmp.yml"
# A list of objects containing a single key, either `url` or `file`, e.g.:
# - url: https://example.com/path/to/mib
# - file: /path/to/mib
mibs: []
# Generator configuration, see https://github.com/prometheus/snmp_exporter/blob/main/generator/generator.yml
config:
modules: {}
jobs: {}
scrape_timeout: ~
scrape_interval: ~
metrics_path: ~