Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Commit

Permalink
fix: warning if profile does not exist (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
weliasz authored Oct 27, 2021
1 parent 490fff6 commit d8e14dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions splunk_connect_for_snmp_poller/manager/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ async def snmp_polling_async(
*get_bulk_specific_parameters,
*static_parameters,
)
else:
logger.warning(f"No profile {ir.profile} found")
# Perform SNNP Polling for oid profile in inventory.csv
else:
# Perform SNNP WALK for oid end with *
Expand Down

0 comments on commit d8e14dc

Please sign in to comment.