Skip to content

Version 0.3 of servermonitor.py, now with 100% more web 2.0′ness!

Here is version 0.3 of servermonitor.py.  
Added in this version is if a service has a history of going up and down there will be a toggle link to display the history of the services states.  All the HTML that is loaded is pre-rendered and the js lib only does a GET and append to [...]

Version 0.2 of servermonitor.py

Well that didn’t take long for me up get around and update the script to include a method to update the hash of a ConnectAndVerify service
Next step will be to look at the code I wrote and possibly refractor a few bits just to make sure I’m not duplicating code anywhere or doing things in a [...]

Simple server monitoring with servermonitor.py

The problem with most server monitoring systems is they run from inside of your network, as such if there is a major outage past office hours where their monitor server is not capable of sending an alert email out (be it the mail server is down, or internet) you may not get the notification at the time of [...]

Command line meme

Seems like everyone is posting there top ten command line commands, so what the hell…
 
ryanparrishscomputer:~ rparrish$ history|awk ‘{a[$2]++} END{for(i in a){printf “%5d\t%s\n”,a[i],i}}’|sort -rn|head
  57 ls
  51 cd
  45 svn
  22 ssh
  19 paster
  13 sudo
  11 vi
  9 python
  6 ps
  3 whois
This is on a week old OS 10.5 system, so [...]

Installing MySQL + MySQLdb in OS 10.5 (Leopard)

Anyone that is a python developer and that uses mysql will tell you getting MySQLdb can sometimes be a bit of a pain, and every time I reinstall my system I have to dig around to find the instructions to build it properly.So this time I thought I would document what I did on my [...]

svcs

A little side project I had at work has just become open source, my first one!
The project is for giving full subversion control to a Servoy solution.
You can check it out here http://code.google.com/p/svcs

First steps using bzrlib

I am working on a project at work that requires controlling some sort of VCS programatically, preferably with python. Immediately I first tried to use subversion since that is what I have used for the last few years as my (only) VCS of choice but I came to a roadblock pretty quickly, I couldn’t [...]