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

Commit d8e14dc

Browse files
authored
fix: warning if profile does not exist (#170)
1 parent 490fff6 commit d8e14dc

File tree

1 file changed

+2
-0
lines changed
  • splunk_connect_for_snmp_poller/manager

1 file changed

+2
-0
lines changed

splunk_connect_for_snmp_poller/manager/tasks.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,8 @@ async def snmp_polling_async(
204204
*get_bulk_specific_parameters,
205205
*static_parameters,
206206
)
207+
else:
208+
logger.warning(f"No profile {ir.profile} found")
207209
# Perform SNNP Polling for oid profile in inventory.csv
208210
else:
209211
# Perform SNNP WALK for oid end with *

0 commit comments

Comments
 (0)