ObserveNow
...
Integrations
Infrastructure

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

Kubernetes Agent Configuration

Add the following YAML snippets to the OpsVerse agent's values.yaml file.

YAML


And add the following scrape config:

YAML


and reinstall the helm chart using the following command:

Shell


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:

YAML






Single Machine Configuration

Alternatively, you can install the Prometheus SNMP Exporter on a single machine.



Prerequisite(s):

Run this command to install the SNMP Exporter

Shell

  • Edit the OpsVerse agent config file by using the following command:
Shell

  • Add the SNMP exporter job under scrape_configs and edit the fields as required.
Shell


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:

auths: custom_auth: community: mysecret security_level: SomethingReadOnly username: <username> password: <pass> auth_protocol: SHA256 priv_protocol: AES priv_password: <privpass>