Tag Archives: sysadmin

Excellent Apache Log Analyser & Monitor

I’ve been looking up hill and down dale for a good (Python-based – fanboy!! Woo!!) log analyser and monitor for Apache. It looks like I’ve found one – and awesome it is too! wtop is by far the best I’ve come across of the options available and I’m not just saying that because its Python [...]

Python Virtual Host Creator

I just threw together a quick Python script which generates a virtual host file, enables it, creates the web directory and restarts the webserver. It’s basic – but I found it useful.  Maybe someone else will too. #!/usr/bin/python import os, sys, getopt def main(argv): try: opts, args = getopt.getopt(argv, “hd:a:”, ["help", "domain="]) except getopt.GetoptError: usage() [...]

Managing Cron Jobs – Without Steroids

There’s a funky RubyGem available over on Rubyforge for managing your systems cron jobs.  When I first started to read about it I got confused because it says you add a cron job for the jobmanager which then runs your cron jobs. Madness…not quite. This jobmanager thingy actually provides a great set of tools that [...]