You might have read some of our previous articles talking about using kicker to perform actions on network status changes.
This was always an unsupported solution, and with Leopard it turns out that Apple no longer needed kicker, and so they got rid of it.
Chris Adams and I started kicking around some ideas in Python, and the result is an incredibly flexible framework for triggering events on any change to the SystemConfiguration API, NSWorkspace notifications, and filesystem changes via FSEvents.
You can find this along with some other useful Python Mac sysadmin utilities at the Google Code site pymacadmin.
Anyway, there's a problem.
We need a name.
[Edit: 2008/07/23 – We have a winner! Kok-Yong Tan came up with "cranker" and the primary daemon will be called "crankd" ]
Read on for details….
The only material benefit we can promise you is some Google schwag that is yet to be determined… as well as a permanant line inside the README file, but think of the fame!
We really think this is going to be huge. It's incredibly useful, you can use it to trigger events on network changes, and NSWorkspace notifications like:
but we need a name! We'll update this article when we've chosen one. You can submit a name in the comments below this article, or by joining the Google Group pymacadmin and posting it there.
If you're interested in all the amazing ramifications of Apple opening up the entire Cocoa API to Python in 10.5 as far as sysadmins go, please join the group and code project, and join in. We've already started working on a unit testing framework for Mac OS X image candidates that plays really nicely with InstaDMG.