28
Since I’m working in a mixed environment (Windows and Linux) I’m expecting from every package I use to be multi-platform. I have started working on a Python script that would help me to locate a MAC address on a Motorola Canopy network, down to the Subscriber Module (SM).
I find PySNMP too complex, too difficult to learn in few minutes. It’s very low-level.
yapysnmp looks great, but it’s troublesome to compile (dependencies on outdated net-snmp).
SNMPy? Linux only….
So I’ve started writing my own code using popen and net-snmp binaries which should work on any platform.
I always like to keep things simple. Nice and easy for someone else to install and start using, so I’m always trying to keep the dependencies on 3rd party stuff to the minimum.
The idea I have is to utilize SQLObject + SQLite to keep track of the MAC addresses (incl. last seen info) so the MAC lookup will be very fast, and run a collector that would sweep through provided subnets collect MAC tables and save that information to the database.


Leave a Reply