wernerfred / check_synology

This plugin will check a lot of different values on your Synology DiskStation.
MIT License
17 stars 25 forks source link

Where do authkey privkey come from? #3

Closed 2000teddy closed 3 years ago

2000teddy commented 4 years ago

Hello wernerfred,

how do I get the authkey privkey for running the script. It was not explained where they come from.

So, please give me a hint.

Thanks in advance, Chris

wernerfred commented 4 years ago

Hi @2000teddy,

as described in the README.md file "This plugin uses snmpv3 with MD5 + AES to check a lot of different values on your Synology DiskStation."

So the point is snmp in version 3. If you look up the definition you will learn about authentication and privacy in snmp verison 3 (https://en.wikipedia.org/wiki/Simple_Network_Management_Protocol)

So you have to define the two values in the snmp settings on the host you want to check. If you want to check a synology you will find these in the settings under terminal & snmp. Make sure to check snmp v3.

2000teddy commented 4 years ago

Hello wernerfred,

I was giving the account informations in the settings on terminal & snmp, but there is no possibility there to generate a privkey or a authkey, only username an password.

[image: image.png]

Also the synology documentation gives no hint for both of the mentioned keys: https://www.synology.com/en-us/knowledgebase/DSM/help/DSM/AdminCenter/system_snmp

It seems that synology doesn't maintain the key features?!

Best regards, Mit besten Grüßen,

Christian Ullmann

Am So., 24. Nov. 2019 um 16:17 Uhr schrieb Frederic Werner < notifications@github.com>:

Hi @2000teddy https://github.com/2000teddy,

as described in the README.md file "This plugin uses snmpv3 with MD5 + AES to check a lot of different values on your Synology DiskStation."

So the point is snmp in version 3. If you look up the definition you will learn about authentication and privacy in snmp verison 3 ( https://en.wikipedia.org/wiki/Simple_Network_Management_Protocol)

So you have to define the two values in the snmp settings on the host you want to check. If you want to check a synology you will find these in the settings under terminal & snmp. Make sure to check snmp v3.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/wernerfred/check_synology/issues/3?email_source=notifications&email_token=ACBNB2O343MSCJ7SRATXIR3QVKLHDA5CNFSM4JQSEQ32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFANTNQ#issuecomment-557898166, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACBNB2NRYQISWP26MVEQBY3QVKLHDANCNFSM4JQSEQ3Q .

wernerfred commented 4 years ago

You can set the username, the password (with protocol) and under snmp privacy you can set another password (with protocol).

With the current version of check_synology you have to choose MD5 and AES. Those two passwords are your auth(tentication)key and priv(acy)key.

Hope this helps, if not let me know your thoughts! Cheers

snmp_syno

wernerfred commented 3 years ago

Closing this now, feel free to reopen if appropriate