I want to monitor my network and do some actions (e.g. send an email) every time a new device shows up in the network. Which operating system/api would make this job the easiest. I was looking at OpenWRT and Tomato but am open for other suggestions. Obviously this can likely be done with any operating system but as I have very little experience with network engineering I would appreciate it if there was a very simple way to do this. Preferably I would like to write my scripts in something like python but that's only a secondary requirement.