1. unpack the downloaded archive
    # tar jxvf phpwatchdog-*.tar.bz2
  2. enter into phpwatchdog/ directory and edit the config file (config.php)
    # cd phpwatchdog
    # nano config.php

    Note: here you can see nano, that is an easy to use text editor, but I strongly encourage to learn to use vim (the enhanced version of vi)
  3. put your servers into config.php
    $config['Servers'][$i]['host'] = '';
    $config['Servers'][$i]['server_name'] = '';
    $config['Servers'][$i]['service'][1] = '80';
    $config['Servers'][$i]['service'][2] = '443';

    Every server configuration block must begin with the line "$i++;"
  4. customize your email account for alert reporting into config.php
  5. fire up your browser and go to phpwatchdog installation's path
You can schedule the execution of this script putting a similar command into /etc/cron.hourly/ /usr/bin/php-cgi -q /path/of/phpwatchdog/index.php > /dev/null
or using lynx
lynx -dump http://webhost/path/of/phpwatchdog/index.php > /dev/null 2>&1
or with wget
wget -O /dev/null http://webhost/path/of/phpwatchdog/index.php > /dev/null 2>&1

The directory tools contains some useful scripts: - it's a Perl script used to check the service status if PHP mode is disabled - it's a bash script used to generate (with the help of generate.awk) a configuration block from nmap output

Valid XHTML 1.0 Transitional Valid CSS! Get Firefox! LinuxLinks