Skip to content

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

Notifications You must be signed in to change notification settings

r-duran/device-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:ab: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:ab: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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages