The linkchk package

[Tags: gpl, program]

It supports both IPv4 and IPv6. It works by monitoring the routing table and pinging the gateway (next hop) of a network interface. When the link is up and functioning the ping time is displayed in a small gtk window, otherwise the link status is displayed. linkchk can also run in a tty.


[Skip to ReadMe]

Properties

Version0.0.2
Change logChangeLog
Dependenciesbase, gtk, haskell98, popenhs, regex-compat, unix [details]
LicenseGPL
AuthorJens-Ulrik Petersen
MaintainerJens-Ulrik Petersen <juhp@01.246.ne.jp>
CategorySystem
Home pagehttp://www.haskell.org/~petersen/haskell/linkchk/
Executableslinkchk
UploadedSun Feb 17 05:18:02 UTC 2008 by GwernBranwen
Downloads218 total (13 in last 30 days)
Votes
0 []
StatusDocs not available [build log]
All reported builds failed as of 2015-05-20 [all 2 reports]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for linkchk-0.0.2

linkchk is an active network link monitor
(c) 2001 Jens-Ulrik Petersen <juhp@01.246.ne.jp>

It is licensed under GPL 2 and comes with no warranty.

The latest version can be found at: <http://www.01.246.ne.jp/~juhp/linkchk>

DESCRIPTION

By default it repeatedly pings the IPv4 (or IPv6) address of
the default gateway of a given interface appearing in the
routing table and shows the link status in a small gtk
window or in a tty.  With appropriate options it can be used
monitor any interface with a gateway or to ping any specific
host.  gtk+hs is currently required to build it.  The reason
for starting this project was to monitor an unreliable ppp
link at home with a tendency suddenly to start dropping
packets after a while.

Currently it uses some options of ping, ping6 and netstat
that are probably specific to Linux, but porting to most
unices should be straightforward I imagine.  If you get
linkchk working on another platform and can send me patches,
or can send me "ifconfig" and "netstat" output from your
platform, then I will be happy to try to fold them into the
distribution.

If you find linkchk useful, or have comments, feedback or
other contributions, I would be glad to hear from you.

BUILDING

In order to build linkchk you need to have installed

* gtk+hs: a recent version (I'm using 0.12.1 from cvs)
	(available from <http://www.cse.unsw.edu.au/~chak/haskell/gtk/>).
* c2hs: a recent version (I'm using 0.10.1 from cvs)
* ghc: a recent version (I'm using 5.02)

Once you have those in place, you should be able to build in
the standard way;  ie something like:

	% ./configure
	% make
	% make install

should make and install the executable "linkchk", that
you can then test by running.  "linkchk --help" lists its
options.

See the generic INSTALL instructions for more information on building.