linux
smartly purge your old backup files on linux
find command to identify old backups and delete them. you should, however, consider doing something a little smarter than this. - john's blog
- 6 comments
- read more
- 8451 reads
how to setup real-time email-notification for critical syslog events
it is often important for system administrators to get real time notification of critical events. unfortunately, it isn't immediately obvious how to do this in the syslog framework. in this article i show you step-by-step how to do this.
- john's blog
- 8 comments
- read more
- 42589 reads
using a guardian to ensure your lamp site is always up
to guarantee maximum uptime for your site, it's a good idea to periodically check the health of your system and restart failing components. you can use a simple program to do this automatically. i like to call this type of program, a "guardian".
clearly guardians shouldn't be used as a crutch for a badly configured system. used appropriately, however, they can decrease downtime due to unexpected events or administrator-error.
in this article, i describe how to implement, install and configure a guardian using a lightweight bash script. i go on to describe how to watch over your lamp install using this guardian. please note that all code and configurations have been tested on debian etch but should be useful for other *nix flavors with subtle modifications.
- john's blog
- 3 comments
- read more
- 9523 reads
setting up syslog for distributed application logging
- john's blog
- read more
- 7425 reads