To demonstrate how you can use our new API, I have created a basic Gnome AppIndicator (crudely named "Memset Status App") which polls our API for server monitoring status information (specifically, the 'ping' check). It will update the status every 10 seconds and if any of the servers are not pinging, the icon will turn red. If everything is OK, the icon will turn (or remain) blue.
I have only tested it on Ubuntu 11.04 and there is no error checking, so it's rather fragile! Nevertheless, you can download
from here .
I'll upload it to our github account at some point and also improve the code and packaging.
[main] api_key = <YOUR KEY HERE> [servers] myserver1 myserver2 myserver3
You should now be able to run memset-status-app.py from a shell.blog comments powered by Disqus