Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting "Wrong SNMP PDU digest" when executing a check #16

Open
gkasKaR opened this issue Feb 24, 2022 · 3 comments
Open

Getting "Wrong SNMP PDU digest" when executing a check #16

gkasKaR opened this issue Feb 24, 2022 · 3 comments

Comments

@gkasKaR
Copy link

gkasKaR commented Feb 24, 2022

Hello there,

as the captions mentions, I receive an error when executing any check against a Synology NAS (7.0.1-42218 Update 2).
On the other hand nwc_health gets a valid response with the same credentials.

wrong_pdu

Am I doing something wrong? Or ist this a bug?

Thanks for reply

@wernerfred
Copy link
Owner

hey @gkasKaR is this issue still present? Could you try with latest version (@master) as a lot did change in the last few weeks?

@amotl
Copy link
Contributor

amotl commented Aug 3, 2022

Hi there,

maybe this issue is related to #9 in any way? Currently, the protocols are hardcoded to auth_protocol="MD5" and privacy_protocol="AES128", with security_level="auth_with_privacy". Maybe the appliance Synology NAS (7.0.1-42218 Update 2) needs different settings?

session = easysnmp.Session(
hostname=hostname,
version=3,
security_level="auth_with_privacy",
security_username=user_name,
auth_password=auth_key,
auth_protocol="MD5",
privacy_password=priv_key,
privacy_protocol="AES128")

Other than sharing my thoughts on this topic, I also would like to encourage you to try the latest version of the program.

With kind regards,
Andreas.

@amotl
Copy link
Contributor

amotl commented Aug 3, 2022

Hi again,

we have been able to find that the reason for this error is because check_synology does not support SHA as private key protocol, see #9 (comment). With the current version of the program, the error message is:

UNKNOWN - Authentication failure (incorrect password, community or key)

With kind regards,
Andreas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants