Been looking into GUI options for nagify lately. Thought I’d give Cocoa via PyObjC a try. Learned that using PyObjC is at least just as hard as learning Objective-C from scratch. Which I can’t because of the infamous once-you-know-python-you-don’t-want-anything-else-anymore syndrome. Also, there are memory issues and I ran into some obscure failure that I can’t even recall anymore.

So, after a quick look at the even more arcane options, I’m back with PyQt4. Took me a while to figure layouting in Qt Designer out, just to notice that I still can’t build a working distribution with py2app. I’m really looking forward to when everything will be 64bit and we don’t have this multilib/universal pile of crap anymore. Yuck.
My total whackjob of a solution right now is to mutilate a PyObjC-Cocoa Xcode template into running a Qt4 app. It’s not pretty and will probably break sometime in the future, but right now I just want to get some .app out there. Qt also gives me platform independence, which I like.
I’m currently working on having nagify save Nagios data into a local sqlite database so I can generate stats from it later. Those stats will then be used in a fullscreen view mode designed for large displays. At least that’s the plan.
Want to watch
the grassyour tables grow?
(okay, that screenshot isn’t great, but you get the idea)I just wrote a munin plugin that graphs the number of rows in your MySQL databases. If you haven’t heard of Munin yet, check it out – it’s pretty awesome.
I just released version 1.0 of nagify, a new Python library and utility for displaying notifications about Nagios alerts.
The original purpose was to display Growl notifications for Nagios alerts, but nagify is designed to be very flexible and can be expanded to output notifications in pretty much any way.
Please report any bugs to the issue tracker at github.
Update: 1.0.1 is out, now also available via the Python Package Index.


