Archive for April, 2009
Zagg earbuds, the z.buds…

zbud_award_01

I admit it, I have an iPhone, and I love it, but I hate the ear buds that come with it.   So the other day I was talking to the great Shane Lowry and he had mentioned that he picked up some z.buds.   I was in the market really for a new blue tooth head set since I have been doing a lot of driving, I have been using the Apple ear buds with the built-in mic, and they have been at best “ok”.    So going on the advice of Shane, and a 35% coupon, I picked up the z.buds.  I’ve had them officially 2 days, they are noise canceling and the sound out of them is A-W-E-S-O-M-E, don’t go spending $99 on the Bose earbuds, when you can get a better sound, with a mic, for much less. 

 

ZAGG

 zbud_black

mail.app Envelope Index

A while ago I started having a lot of problems with one IMAP account I have configured in mail.app on my mac.
I took the standard approach to delete the account, re-create it, and so on. You can see from prior posts, I ran cli maintenance on the sqllite3 database that mail.app uses.

I got fed up and decided to try something, I would delete the Envelope Index file. The file was around 30mb in size, not huge, but decent size.
When I started mail.app back up, it had to understandably rebuild each of the mailboxes I have configured. When it finished, it is now only 10mb in size, you think there might have been some corruption?
envelope-index-info

Creating a Nagios Plug-in … making it easy.

Creating a Nagios plug-in looks daunting and hard at first. It’s really not as hard as you think.
Here is a couple things you should know:

Know what you want to monitor.
I create most of my plug-ins in bash scripts and perl scripts. (other languages supported, those are just what I use)
Know your exit codes.
Your plug-in output should be helpful and informative.

Exit codes are simple, and key to your plug-in success.

0 – OK
1 – WARN
2 – CRITICAL
3 – UKNOWN

Now those look family don’t they, they are the states or status of a service. i.e. my disk space is in OK state because I have 120GB free space.
nagios_-screenshots

here is a sample code snippet:

if [ $space -ge $CRITCAL ] ; then
echo "DISK SPACE CRITICAL - 90% disk space used [10GB free on /]"
exit 2;
fi

Need Nagios/Monitoring consulting? Maybe I can help, I am currently working on, as project lead, one of the biggest Nagios installs, for a Wal-Mart and Novell.