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 Networking Monitoring
Licenses GPL
Operating Systems POSIX

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  03 Nov 2002 10:14
  • Rrelease-after

Changes: 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.

  • Rrelease-mid
  •  30 Jan 2001 06:13
  • Rrelease-after

Changes: HTML problems with Outlook Express have been fixed.

  • Rrelease-mid
  •  30 Jan 2001 06:13
  • Rrelease-after

No changes have been submitted for this release.

Rss Recent comments

Rcomment-before 29 Sep 2003 19:25 Rcomment-trans amarasco Rcomment-after

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();
}

Rcomment-before 19 Sep 2002 17:51 Rcomment-trans amarasco Rcomment-after

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

4a67f3a0e029a9881d135c2bec24cbcc_thumb

Project Spotlight

Tasktop

Enterprise-ready productivity software built on Eclipse Mylyn.

000bd42243d03259200e9b756ff58bcd_thumb

Project Spotlight

phpMyAdmin

A tool that handles the basic administration of MySQL over the Web.