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

Commit

Permalink
fix: build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
weliasz committed Oct 29, 2021
1 parent 11a037b commit 40765c5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
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 @@ -215,7 +215,7 @@ def extract_additional_properties(fields, metric_name, metric_value, server_conf
if metric_name.startswith("sc4snmp." + family):
stripped = metric_name[: metric_name.index("_")]

input_text = metric_name[metric_name.index("_") + 1:]
input_text = metric_name[metric_name.index("_") + 1 :]

entries = oid_families[family][enricher_additional_varbinds]
for entry in entries:
Expand Down
1 change: 0 additions & 1 deletion tests/test_additional_data_extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,3 @@ def test_data_extraction(self):
self.assertEqual(fields3["IP_two"], "0_0_0_0")
self.assertEqual(fields3["index_number"], "0")
self.assertEqual(fields3["port_two"], "13348")

0 comments on commit 40765c5

Please sign in to comment.