SNMP-enabled hardware
OpsVerse ObserveNow has support to pull metrics from most SNMP-enabled hardware, such as firewalls, switches, modems and IOT devices.
To setup SNMP Exporter, we create a set of targets/urls to monitor. And the OpsVerse agent queries the exporter with these targets/urls which generates endpoint metrics.
A sample configuration is shown below
Please ensure that the SNMP-enabled device is accessible from the machine/cluster running the OpsVerse Agent
Add the following YAML snippets to the OpsVerse agent's values.yaml file.
And add the following scrape config:
and reinstall the helm chart using the following command:
To add custom auth/modules, create a configmap with the auth modules as shown at the end of this page, then set the following in values.yaml:
Alternatively, you can install the Prometheus SNMP Exporter on a single machine.
Prerequisite(s):
Run this command to install the SNMP Exporter
- Edit the OpsVerse agent config file by using the following command:
- Add the SNMP exporter job under scrape_configs and edit the fields as required.
To add custom auth, edit /etc/opsverse/exporters/snmp/snmp-config-custom.yml to add a custom auth module and restart the snmp-exporter service using systemctl restart prom-snmp-exporter.service.
Sample: