Category Archives: UNIX

Network and Server Monitoring

One of my passions is automated monitoring and correction of network and server problems. I have the most experience with SiteScope (primarily a commercial website monitoring tool that has branched out to include protocols, application stacks, and whatever custom stuf you want) and Nagios, which is free and open source, and very very configurable.

I would LOVE to form a company implementing these or similar monitoring tools. I’ve done this a lot at work, and a little bit on the side for a few friends and their companies.

I’ve been looking around, and it seems that in addition to Nagios, two other contenders are Zenoss and Cacti. I’ve heard good things about Zenoss, specifically how it is easier to set up than Nagios. I think I may check it out, though I am a fan of Nagios’s flexibility.

Neat Linux tip

Lots of times I have a need to make a backup of a file or such that I end up forgetting about and it sits around taking up disk space. Sometimes in annoyance of this, I have simply skipped making the backup, and have been burned by it. Finally I came up with this alternative:

  1. Make a directory on your desktop called DeleteIn2Weeks. In my case, the full path was /home/guytonw/Desktop/DeleteIn2Weeks
  2. Create the following cron entries:
    0 1 * * * find /home/guytonw/Desktop/DeleteIn2Weeks -mtime +14 -type f -exec echo Deleting {} \;
    1 1 * * * find /home/guytonw/Desktop/DeleteIn2Weeks -mtime +14 -type f -exec rm {} \;

This is nice because any files put in there will automatically be swept away after a sufficient amount of time. (Hopefully I won’t need the backup after 2 weeks’ time!)

Sendmail and Disaster Recovery

With hurricane Rita menacing Houston last weekend, I had to get a fallback mail server set up in case we lost power in the house, where guyton.net is based. (Yeah, I’m cheap, running off my roadrunner account!) Well, I finally documented how to set up the mail hub, relay host, and client machines within the network. See my Sendmail Notes here.

Capitalism vs Open Source

I bought a scanner back in 1999, a Plustek OpticPro 9636T. It worked fine in Windows 98. Unfortunately they did not make this model when Windows XP or 2000 were released, and therefore refused to make a driver for them. I believe it’s on the premise that they would rather people buy another scanner. Geez.

My last Windows 98 machine is almost dead, so I did what any self-respecting geek would do, I hooked it up to my Linux box. It did not work out of the box with Fedora Core 2 – I had to configure some “sane” (Scanner Access Now Easy) settings first, but lo and behold, it works great! You’d better believe I will not be buying another scanner simply because Plustek wants more of my money!

Voice over IP

I’ve been encountering more and more references to VOIP – Voice Over IP – lately. Supposedly I can pay a company a little bit of money (relative to my current phone bill) and set up a computer system at home with VOIP software, resulting in substatial savings on my phone bill along with improved options in my phone call handling. Heck, AT&T has VOIP with unlimited long dist and local for $29/month, and $19 for unlimited local… voip.net has even better rates, plus killer international rates – 2 cents/min to London?!? Wow. Almost makes me want to send the kids to boarding school with the Brits…

One link I came across lately is http://www.softwink.com/papers/Installation_Securing_VoIP_With_Linux/, which talks about an installation on a Linux machine. I’ve got a couple of other links I’ll post eventually when I find them.

Personally I can’t do this yet b/c my wife won’t let us change phone numbers, so I don’t have a driving need to read about it as much. But one day we’ll add a kid’s line, and it’ll come in handy. (Oldest is 10 and on the phone all the time these days).

A friend of mine at work is implementing it – he makes calls to Vietnam fairly often to talk to family – this will be much cheaper for him, plus he can work in conferencing options, all for MUCH cheaper. Hmmmm….

Might be a consideration for some of my side businesses….