System status bot

Use Jabber to monitor the load average, and other system statistics, on your machines. (Requires python-jabberbot.)

Set jid and password in the config file as appropriate (you'll need to create the Jabber user, and subscribe to its presence, in advance), and run it on the machine that you want to monitor. It just sets the bot's status to the current load average, as reported by /proc/loadavg, the system uptime, as reported by /prog/loadavg, the memory usage, as reported by /proc/meminfo.

It will also show who's currently logged (according to /usr/bin/who) in when querried.

Screenshot

An old screenshot, showing just system load and uptime:

Source Code

You can obtain the source code via git:

git clone https://vcs.uhoreg.ca/git/jabberbots.git/

or browse the git repository.

Or you con download systembot.py, and a sample configuration file.

License

systembot is in the public domain. Do whatever you want with it.