Linux SoftwareSystemNetworkingPhpWatchDog 1.16.7

PhpWatchDog 1.16.7


PhpWatchDog is a network monitor application which provides a simple way to check if a service (HTTP, FTP, SSH, etc.) is running or n
Developer:   Paolo Conti
      more software by author →
Price:  0.00
License:   GPL (GNU General Public License)
File size:   0K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


PhpWatchDog is a network monitor application which provides a simple way to check if a service (HTTP, FTP, SSH, etc.) is running or not. PhpWatchDog project can send email to the server's administrator to report malfunctions.

This little script is running into my servers from some time (even from two years!). It's very usefull to alert a system administrators team by email. It's a PHP script, so you can setup a cronjob that run the URL of phpwatchdog's installation when you want (I suggest every hour).

Here are some key features of "PhpWatchDog":
  • check if service is UP or DOWN
  • no need to install anything into monitored servers
  • report to one email address if service is DOWN
  • simple and light
  • easy to install and configure
  • can set the timeout for probing the service status
  • can use fsockopen (PHP) or IO::Socket (PERL) - if for any reasons the fsockopen can operate correctly
  • can monitor n servers with a single instance
  • can alert a custom email address per server
  • to work properly need only APACHE+PHP, no databases or various plugins
  • collect each downtime event into a plain text file

    Installation:

    unpack the downloaded archive

    # tar jxvf phpwatchdog-*.tar.bz2

    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)

    put your servers into config.php

    $i++;
    $config['Servers'][$i]['host'] = '66.35.250.203';
    $config['Servers'][$i]['server_name'] = 'www.sourceforge.net';
    $config['Servers'][$i]['service'][1] = '80';
    $config['Servers'][$i]['service'][2] = '443';

    Every server configuration block must begin with the line "$i++;"
    customize your email account for alert reporting into config.php
    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 usefull scripts:

    chk_socket2.pl - it's a Perl script used to check the service status if PHP mode is disabled
    generate.sh - it's a bash script used to generate (with the help of generate.awk) a configuration block from nmap output
    sh generate.sh

    Usage:

    generate.sh IPADDR SERVERNAME
    eg:
    generate.sh 192.168.0.1 MailServer.com
    tags config servers  dev null  config php  php dev  phpwatchdog index  index php  you can  script used  webhost path  http webhost  configuration block  email address  the service  

    Download PhpWatchDog 1.16.7


     http://prdownloads.sourceforge.net/phpwatchdog/phpwatchdog-1.16.7.tar.bz2?use_mirror=ovh
     http://prdownloads.sourceforge.net/phpwatchdog/phpwatchdog-1.16.7.tar.bz2?use_mirror=kent
     http://prdownloads.sourceforge.net/phpwatchdog/phpwatchdog-1.16.7.tar.bz2?use_mirror=switch


    Authors software

    PhpWatchDog 1.16.7 (by Paolo Conti)
    PhpWatchDog is a network monitor application which provides a simple way to check if a service (HTTP, FTP, SSH, etc.) is running or n


    Similar software

    PhpWatchDog 1.16.7 (by Paolo Conti)
    PhpWatchDog is a network monitor application which provides a simple way to check if a service (HTTP, FTP, SSH, etc.) is running or n

    PingNode 0.1 (by Mike M.)
    PingNode will ping a list of network devices at a specified interval

    Nagios Config 1.3.4 (by Chris Rex)
    Nagios Config project is a Web-based front end for configuring Nagios 1.x.

    Nagios is a host and service monitor designed to inform

    Web Domain Manager 0.05 (by cli_man)

    Nagios 2.6 (by Ethan Galstad)
    Nagios (formerly Netsaint) is a daemon written in C that is designed to monitor networked hosts and services.

    Nagios project has t

    Backup Monitor 1.2.0 (by Matt Freitag)

    Oculus 0.8 (by Bart Friederichs)
    Oculus (The Eye) is a server monitor and a client-server based approach to monitor your servers

    Attach to Email Service Menu 0.7.5 (by Dylan Schrader)
    Attach to Email Service Menu is a service menu for Konqueror that works in conjunction with a python script to allow the user to sele

    Zorbstats 0.24 (by P. Fabrice)
    Zorbstats is a simple Web statistics generator like BigBrotherWebstats but using PHP and MySQL .

    Follow next steps to install the

    lftpsearch 1.2.0 (by Dmitry Shurupov)
    lftpsearch is a set of Perl scripts that are searching for files and directories on FTP servers


    Other software in this category

    Nmap 4.20 (by Fyodor)
    Nmap is a utility for network exploration or security auditing

    iptables 1.3.7 (by Harald Welte)
    iptables and netfilter are building blocks of a framework inside the Linux 2.4.x and 2.6.x kernel

    Linux Bandwidth Arbitrator 9.62 (by astormchaser)
    Linux Bandwidth Arbitrator allows beginning-to-advanced network administrators to control bandwidth

    Ettercap 0.7.3 (by ALoR NaGA)
    Ettercap is a network sniffer/interceptor/logger for ethernet LANs

    rdesktop 1.5.0 (by matthewc)
    rdesktop is an open source client for Windows NT Terminal Server and Windows 2000/2003 Terminal Services, capable of natively speakin

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags