Monday, February 27, 2012

Install Postfix Before Compiling Nagios Plugins

In the course of trying to get Nagios Plugins compiled, I learned something. After compiling the plugins, I discovered Postfix (or Sendmail for that matter) was not installed on the server, so I ran yum to install it. When I tested the check_mailq for Nagios (as the nagios user), I ran into this error:

ERROR: is not executable by (uid 1002:gid(1002 1002))

or if the check is manually run by root:

ERROR: is not executable by (uid 0:gid(0 10 6 4 3 2 1 0))

Bunches of searching online only found posts about this error for qmail. When one breaks open the source code for check_mailq, it appears to be a path error. It boiled down to if Postfix is not installed when you compile the Nagios Plugins, it doesn't find the path for the Perl script. Since Posfix was now installed, I just needed to recompile the Nagios Plugins. Poof, check_mailq now works.

Saturday, February 11, 2012

Lets Fix America By Enouraging More Debt

A few weeks ago, my wife started getting bunches of CTI credit card offers in the mail. Like almost one a day. Looks like our opt-out time I signed us up for years ago has expired. So I searched on Google and found the FTC website that talks about what one can do which points OptOutPrescreen.com.

Good news, it looks like one can now permanently opt-out of getting pre-approved offers of credit and insurance. However it looks like lobbyists who work for these companies convinced lawmakers that instead of an easy permanent opt-out online, you have to snail mail a signed form, I'm assuming because that takes extra time and people are generally lazy.

I hate debt, particularly needless debt. The economy is in the can largely because of debt, and needless credit cards are a bad way to get people sucked into it. I encourage anyone reading this to take the time to permanently opt-out of credit card mail offers by taking the extra 5 minutes needed to snail mail in the request.