Crank House :: scheck

Home
RSS Reader
Monday Night Golf
HowTo's
Scott Moriarty
Crankhouse Classic
Site Overview

Downloads

Download Page
NTimer
scheck

Friends

Bill Rowell
Kyle Bradshaw
Dan Pickett

Important Links

The Basics of UNIX Philosophy

Bad Vista

scheck :: Server monitor for Linux

About scheck

I am in the process of porting scheck from C to C++. I am going to be doing it as a branch, and the pure C version will always be available.
There will be no new features in the C++ version, except ( hopefully ) for cleaner code.

Scheck is a free ( LGPL ) server monitoring application which runs on a GNU/Linux host. It will attempt to make a TCP connection to a host on a specified port. If the connection fails, a message is logged to a log file at ~/.scheck/scheck.log, and an email is sent. If that connection comes back up, it will then send another message and an entry is made in the log. Messages are sent when the status of a port changes.

The code is not the best code in the world, but it's small and I have run it through valgrind to clean any memory leaks. It doesn't require any SMTP server to be running on the localhost, it uses it's own super simple SMTP engine for delivering messages.

Compiling scheck

To compile ( there is no install ) scheck, all you have to do is cd into the scheck/src directory ( scheck-X.X/src ), and type make. It should compile and put the executable in the current working directory.

cd scheck-X.XX/src
make
./scheck

I have compiled it with gcc versions 2.96 ( some in between ) and 3.3.6.

Running scheck

The first run of scheck will prompt for some simple configuration information, and any following runs should be run as follows:

scheck &

Download

This is the first time I am putting scheck up for download, because I have been lazy. I have used it at 2 jobs since 2000, and at home. It has done all that I expected it to do, but it's not awesome. Feel free to work on it yourself, as it is released under the LGPL.

scheck 0.1
scheck ( tar ball )

Valid CSS! Valid XHTML 1.0! Firefox 2 Apache httpd 2.0
Contact: joe at crankhouse d0t c0m
. . . . .