• Stars
    star
    147
  • Rank 251,347 (Top 5 %)
  • Language
  • Created over 3 years ago
  • Updated 12 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Monitoring Synology NAS with snmp-exporter and prometheus

Synology with Prometheus

Monitoring Synology NAS with snmp_exporter and prometheus

dashbaord

Dependency

  • Synology Docker
  • Enabled SSH
  • Administrator Access
  • Enabled SNMP
  • Enabled SNMPv1, SNMPv2 Service
  • Setup Communuity: synology

Architecture

arch

Synology IP

In order to communicate with the synology SNMP service, the target of SNMP Exporter is required to register the Synology IP that is actually in use.

scrape_configs:
  - job_name: 'prometheus'
    static_configs:
      - targets: ['localhost:9090']
        labels:
          group: 'prometheus'
  - job_name: node
    static_configs:
    - targets: ['node-exporter:9100']
  - job_name: 'snmp-exporter'
    static_configs:
    - targets: ['<Synology IP>']
    metrics_path: /snmp
    params:
      module: [synology]
    relabel_configs:
    - source_labels: [__address__]
      target_label: __param_target
    - source_labels: [__param_target]
      target_label: instance
    - source_labels: [__param_target]
      regex: (.*)
      replacement: ${1}:9116
      target_label: __address__

Install

docker-compose up -d

Synology MIBs

SNMP Exporter Config Generator

Reference

https://grafana.com/grafana/dashboards/14284