Saturday, May 18, 2013

Success!

It's a pass on the RHCE exam, w00t w00t!

Friday, February 01, 2013

Know when your server reboots

If you don't have a fancy monitoring tool in place on your servers, here's a cool little cron job you can add to be notified when your server reboots.

@reboot /bin/echo "$HOSTNAME has rebooted on $(date)" | /bin/mail -s "$HOSTNAME - rebooted" me@somewhere.com

If anyone has suggestions for improvement, I'd love to hear them.