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

Commit

Permalink
added 2 missing variables
Browse files Browse the repository at this point in the history
  • Loading branch information
okuzhel committed Oct 4, 2021
1 parent 0c2faf1 commit 5a8a418
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion splunk_connect_for_snmp_poller/manager/hec_sender.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ def send_request(endpoint, data):

def post_data_to_splunk_hec(
hec_sender: HecSender,
variables_binds,
host,
variables_binds,
is_metric,
index,
ir: InventoryRecord,
Expand Down
2 changes: 2 additions & 0 deletions splunk_connect_for_snmp_poller/manager/task_utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ async def snmp_get_handler(
)
post_data_to_splunk_hec(
hec_sender,
host,
result,
is_metric,
index,
Expand All @@ -251,6 +252,7 @@ async def snmp_get_handler(
if is_error:
post_data_to_splunk_hec(
hec_sender,
host,
result,
False, # fail during bulk so sending to event index
index,
Expand Down

0 comments on commit 5a8a418

Please sign in to comment.