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 snmp exporter enabled true and add the following scrape config victoria metrics agent extrascrapeconfigs \ job name 'snmp' static configs \ targets \ 192 168 1 2 # snmp device \ switch local # snmp device \ tcp\ //192 168 1 3 1161 # snmp device using tcp transport and custom port metrics path /snmp params auth \[public v2] module \[if mib] relabel configs \ source labels \[ address ] target label param target \ source labels \[ param target] target label instance \ target label address replacement devopsnow agent snmp exporter devopsnow 9116 and reinstall the helm chart using the following command helm upgrade install devopsnow agent n devopsnow \\ \ repo https //registry devopsnow\ io/chartrepo/public \\ f \<path to opsverse values yaml file> 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 snmp exporter extraconfigmapmounts \ name snmp exporter configmap mountpath /run/secrets/snmp exporter subpath snmp custom yaml configmap snmp exporter configmap configmap # your configmap here readonly true defaultmode 420 extraargs \[" config file=/run/secrets/snmp exporter/snmp custom yaml"] single machine configuration alternatively, you can install the prometheus snmp exporter https //github com/prometheus/snmp exporter on a single machine prerequisite(s) you have the opsverse agent running on the machine https //docs opsverse io/install the opsverse agent#dszlx run this command to install the snmp exporter \# for amd64 curl https //raw\ githubusercontent com/opsverseio/installers/main/prometheus exporters/install exporter amd64 sh | sudo bash s e snmp \# for arm64 curl https //raw\ githubusercontent com/opsverseio/installers/main/prometheus exporters/install exporter arm64 sh | sudo bash s e snmp edit the opsverse agent config file by using the following command sudo vi /etc/opsverse/agent config yaml add the snmp exporter job under scrape configs and edit the fields as required \ job name 'snmp exporter' static configs \ targets \ 192 168 1 2 # snmp device \ switch local # snmp device \ tcp\ //192 168 1 3 1161 # snmp device using tcp transport and custom port metrics path /snmp params auth \[public v2] module \[if mib] 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 hostname\ port 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>