alhazmy13 / Synology-NAS-monitoring

influxDB, Grafana, snmp and telegraf
203 stars 27 forks source link

snmp v3 #10

Closed mase1981 closed 1 year ago

mase1981 commented 2 years ago

First, thank you so much for the incredible solution. Second, Not a bug, but wanted to ask. Is there a way to use this with SNMP v3 vs v1/2 with public? Thank you so much !

mase1981 commented 1 year ago

This can be closed. figured out you can by modifying the config file adding the below: /etc/telegraf/telegraf.conf

[[inputs.snmp]] agents = [ "172.17.0.1" ] version = 3 auth_protocol = "sha" auth_password = :XXXXX" sec_level = "authPriv" priv_protocol = "AES" priv_password = "YYYYY" sec_name = "ZZZZZ"

And modifying the NAS v3 configs to match.

alhazmy13 commented 1 year ago

Sorry for the late reply. You are right; you can change the /etc/telegraf/telegraf.conf with your mentioned configs