Projects / net-check

net-check

The net-check package is a pair of simple perl scripts that will monitor and report on your internet connectivity. net-check monitors your internet connection (with user defined packet loss threshold), reconnects your internet connection after 2 failures, logs all up and downtimes, e-mails the user a monthly status report with downtime recorded and adjusted service fee.

Tags
Licenses
Operating Systems

Recent releases

  •  03 Nov 2002 15:14

    Release Notes: A lot of the program was rewritten. Net::Ping is now used, so no external 'ping' calls are needed. This release is also pconfig compatible.

    •  11 Oct 2000 10:15

      Release Notes: HTML problems with Outlook Express have been fixed.

      •  30 May 2000 02:33

        No changes have been submitted for this release.

        Recent comments

        29 Sep 2003 19:25 amarasco

        Patch for v1.6 if you have ICMP blocked
        Some really REALLY stupid ISPs (like Adelphia cable) are blocking ICMP ping, thinking it will actually help stop worms, etc.

        This patch works for a sample of one user, which is not me.

        This is what I told him to do, and it worked:

        1. Install the latest Net::Ping. To do that:
        perl -MCPAN -e shell
        (then you get a prompt)
        install Net::Ping
        (wait a while while it compiles, etc)
        quit

        2. Erase old one - towards end of install it told me the old was still around:
        rm /usr/lib/perl5/5.6.0/Net/Ping.pm

        3. Change net-check to look like this at the part where you see Net::Ping->new:

        my $pinger = Net::Ping->new("syn");
        my $good = 0;
        for (1..$packets) {
        print STDERR "ping #$_... \n";
        $pinger->ping($router);
        sleep 2;
        $good++ if $pinger->ack();
        }

        19 Sep 2002 17:51 amarasco

        Known issue
        I just upgraded to iputils v20020124 and found out that ping changed output format. Since it is not really a bug, more of a config issue, I didn't post a new version here. Simply change the $lossloc to 5 from 6. If you want the config check to work again, you also need to change the /packet loss/ to /% loss/

        - Aaron

        Screenshot

        Project Spotlight

        OpenStack4j

        A Fluent OpenStack client API for Java.

        Screenshot

        Project Spotlight

        TurnKey TWiki Appliance

        A TWiki appliance that is easy to use and lightweight.