Net::Peep::Client::Pinger - Perl extension for checking whether a host or a variety of services on a host are running
use Net::Peep::Client::Pinger; $pinger = new Net::Peep::Client::Pinger; $SIG{'INT'} = $SIG{'TERM'} = sub { $pinger->shutdown(); exit 0; }; $pinger->Start();
Perl extension for checking whether a host or a variety of services on a host are running. For now it only checks pingability.
It is intended to eventually check not only pingability, but services such as telnet, ssh, ftp, etc.
None by default.
new() - The constructor Start() - Begins pinging hosts and signaling events. Terminates by entering the Net::Peep::Client->MainLoop() method. loop() - The callback called by the Net::Peep::Client->MainLoop() method. See Net::Peep::Client for more information. parse(@text) - Callback given to the Net::Peep::Client->parser() method which parses the pinger client config section of the Peep configuration file. addHost($host) - Adds a Net::Peep::Client::Pinger::Host object to an array. hosts() - Retrieves an array of Net::Peep::Client::Pinger::Host objects added by the addHost method.
Michael Gilfix <mgilfix@eecs.tufts.edu> Copyright (C) 2001
Collin Starkweather <collin.starkweather@colorado.edu>
perl(1), peepd(1), Net::Peep::BC, Net::Peep::Log, Net::Peep::Parser, Net::Peep::Client, pinger.
http://peep.sourceforge.net
To install Net::Peep, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Peep
CPAN shell
perl -MCPAN -e shell install Net::Peep
For more information on module installation, please visit the detailed CPAN module installation guide.