From 9c6dd54b108f1389ad722101fe6a7db22cafbf40 Mon Sep 17 00:00:00 2001 From: bigitag <111128842+bigitag@users.noreply.github.com> Date: Thu, 13 Oct 2022 16:49:40 +0200 Subject: [PATCH] snmp-port Added the ability to transmit the user defined port to easysnmp. Which gives you the ability to define it as a new argument/field in icinga director. --- check_synology.py | 1 + 1 file changed, 1 insertion(+) diff --git a/check_synology.py b/check_synology.py index 6dc875a..9e65eca 100755 --- a/check_synology.py +++ b/check_synology.py @@ -49,6 +49,7 @@ def croak(message=None): try: session = easysnmp.Session( hostname=hostname, + remote_port=port, version=3, timeout=snmp_timeout, retries=snmp_retries,