Skip to content

Commit

Permalink
fix: bring back snmp-port (#46)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bigitag authored Mar 11, 2024
1 parent 1063a9a commit 94d2ec0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions check_synology.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def croak(message=None):
try:
session = easysnmp.Session(
hostname=hostname,
remote_port=port,
version=3,
timeout=snmp_timeout,
retries=snmp_retries,
Expand Down

0 comments on commit 94d2ec0

Please sign in to comment.