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

Commit

Permalink
feat: initial support for parsing IF-MIB data (ADDON-39612)
Browse files Browse the repository at this point in the history
- added a basic support for extracting from an SNMP WALK:
  - the total number of network interfaces,
  - all indexes associated to each network interface
  - all interface names available
 - some unit-test added

 In this way, we have the basic information required for
 sending additional data to Splunk.
  • Loading branch information
lstoppa committed Jul 22, 2021
1 parent e10051f commit 39fae8e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# limitations under the License.
#


# See http://www.net-snmp.org/docs/mibs/interfaces.html for additional implementation details
def extract_if_mib_only(translated_walk_result):
return filter(
lambda translation: all(
Expand Down

0 comments on commit 39fae8e

Please sign in to comment.