Svcmon is a TCP service monitor with email alert functionality for detecting and reporting service downtime.
The software is written in Perl, and it requires a small handful of standard Perl modules that should be included as part of your base Perl installation. These modules include Net::SMTP, IO::Socket, and Getopt::Std.
Installing svcmon is a breeze. Simply download the tarball and extract it to an appropriate location, and you're good to go. For example:
# cd /usr/local
# wget
# tar xzf ./svcmon.tar.gz
# ls ./svcmon README bin etc
There are two configuration files with svcmon, both of which will be discussed below. They can be found at:
# cd /usr/local/svcmon
# ls etc svcmail.conf svcmon.conf
Before continuing, ensure that svcmon.pl is executable:
# chmod u+x /usr/local/svcmon/bin/svcmon.pl
All in all, svcmon is a fantastic watchdog with excellent functionality and convenience.
Version 1.0: N/A