Skip to content
SNMP based network L2&L3 device tracker with device type and output plugin architecture written in python
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
plugins
.gitignore
README.md
config.yml.example
device_tracker.py
plugin_factory.py

README.md

device-tracker

SNMP based network L2&L3 device tracker with device type and output plugin architecture written in python

Output Plugins

Output plugins need to implement "output(self, data)" method. The "data" is a python dict with the following structure:

{"00🆎cd:ef:00:11":{"if_index":string, "if_num":string, "if_name":string, "if_alias":string, "if_description":string, "if_speed":string, "if_mtu":string, "if_pvid":string, "client_mac":string, "vlan":string, "vlan_name":string, "device_name":string, "device_system":string, "device_location":string},

"00🆎cd:ef:00:22":{"if_index":string, "if_num":string, "if_name":string, "if_alias":string, "if_description":string, "if_speed":string, "if_mtu":string, "if_pvid":string, "client_mac":string, "vlan":string, "vlan_name":string, "device_name":string, "device_system":string, "device_location":string, "device_ip":string}, .............. .............. .............. }

As you see the data dict is indexed with "mac addresses" and each mac address has varius information fields.

Something went wrong with that request. Please try again.