Issue with SNMP Exporter Configuration for NetApp FAS 2820 Cluster

Dear Team,

We are currently facing an issue with the SNMP Exporter integration for our NetApp FAS 2820 Cluster.

Although the SNMP service is enabled and accessible on the cluster management interface, Prometheus is unable to scrape metrics through the SNMP Exporter. We have verified that:

SNMPv3 credentials and service policies are correctly configured on the NetApp side.

SNMP Exporter is running and reachable on port 9116.

Despite these configurations, the NetApp targets are either marked as down Error scraping target: Get “http://xx.xx.xx.100:9116/snmp?module=dlink_switch”:
dial tcp xx.xx.xx.100:9116: connect: connection refused

Find my .yml configuration below.

prometheus.yml
global:
scrape_interval: 2m
evaluation_interval: 2m

scrape_configs:

  • job_name: ‘prometheus’
    static_configs:

    • targets: [‘localhost:9090’]
  • job_name: ‘netapp_cluster’
    metrics_path: /snmp
    params:
    module: [netapp]
    static_configs:

    • targets:
      • ‘xx.xx.xx.100:161’

snmp.yml
auths:
public_v1:
community: public
security_level: noAuthNoPriv
auth_protocol: MD5
priv_protocol: DES
version: 1
public_v2:
community: public
security_level: noAuthNoPriv
auth_protocol: MD5
priv_protocol: DES
version: 2
public_v3:
community: public
security_level: authPriv
username: npol-ups
auth_protocol: MD5
auth_password: password
priv_protocol: DES
priv_password: password
version: 3
modules:
apcups:
walk:
- 1.3.6.1.4.1.318.1.1.1.12
- 1.3.6.1.4.1.318.1.1.1.2
- 1.3.6.1.4.1.318.1.1.1.3
- 1.3.6.1.4.1.318.1.1.1.4
- 1.3.6.1.4.1.318.1.1.1.7.2
- 1.3.6.1.4.1.318.1.1.10.2.3.2
- 1.3.6.1.4.1.318.1.1.26.10.2.2
- 1.3.6.1.4.1.318.1.1.26.4.3
- 1.3.6.1.4.1.318.1.1.26.6.3
- 1.3.6.1.4.1.318.1.1.26.8.3
get:
- 1.3.6.1.4.1.318.1.1.1.8.1.0

Requesting your assistance to help us troubleshoot and resolve this issue.

Best regards,
Aneesh KC

dial tcp xx.xx.xx.100:9116: connect: connection refused indicates that prometheus cannot reach your snmp-exporter. You’ll need to troubleshoot that link first.

Once you solve network connectivity, you will also want to add the auth param to your url as well: http://xx.xx.xx.100:9116/snmp?module=dlink_switch&auth=public_v3

Fun trick: you can visit that url directly to see the prometheus metrics in your browser. Helpful for troubleshooting