Skip to content

Commit

Permalink
Merge pull request #9 from infrasonar/dev
Browse files Browse the repository at this point in the history
Fix address and cleanup unused MIBS
  • Loading branch information
joente authored Oct 9, 2024
2 parents dd8b253 + be4a595 commit 0fd3f53
Show file tree
Hide file tree
Showing 155 changed files with 1 addition and 440,982 deletions.
2 changes: 1 addition & 1 deletion lib/snmpclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def get_snmp_client(
asset_config: dict,
check_config: dict) -> Union[Snmp, SnmpV1, SnmpV3]:
address = check_config.get('address')
if address is None:
if not address:
address = asset.name

version = asset_config.get('version', '2c')
Expand Down
4 changes: 0 additions & 4 deletions mibs/README.md

This file was deleted.

Loading

0 comments on commit 0fd3f53

Please sign in to comment.