Is that possible add prmetheus monitoring support to vyos?
- Difficulty level
- Unknown (require assessment)
- Why the issue appeared?
- Will be filled on close
You can scrap SNMP to prometheus. Not sure if you want any gauges not covered by snmp
install snmp-exporter /etc/prometheus/prometheus.yml : ... scrape_configs: - job_name: 'snmp' static_configs: - targets: - 10.11.22.33 metrics_path: /snmp relabel_configs: - source_labels: [__address__] target_label: __param_target - source_labels: [__param_target] target_label: instance - target_label: __address__ replacement: 127.0.0.1:9116 # The SNMP exporter's real hostname:port. ...
SNMP can be used as a workaround, but it is not suitable for much more than a couple metrics because is it very inefficient. Moreover the prometheus node exporter provide many more metrics out of the box.