Skip to content

Commit cb744f4

Browse files
Ryan Fairclothomrozowicz-splunk
andauthored
fix: repeat process_snmp_data right after loading mibs (#369) (#370)
Co-authored-by: omrozowicz-splunk <[email protected]>
1 parent 28b26dd commit cb744f4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

splunk_connect_for_snmp/snmp/manager.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,9 @@ def do_work(
310310
)
311311
if tmp_mibs:
312312
self.load_mibs(tmp_mibs)
313-
if tmp_retry:
314-
retry = True
313+
self.process_snmp_data(
314+
varBindTable, metrics, address, bulk_mapping
315+
)
315316

316317
if varbinds_get:
317318
for (errorIndication, errorStatus, errorIndex, varBindTable,) in getCmd(

0 commit comments

Comments
 (0)