You could create a simple daemon that works using the observer OOP
concecpt: Nodes register themselves as observers to the server that should
be monitored, which constantly sends "I am alive" packets AND tries to
notify the connected observers when it's beeing rebooted using another
message.
HTH
-- Eric
From: Amit Saxena <[email protected]>
To: Thomas Bätzler <[email protected]>
Cc: Perl Beginners <[email protected]>, Amit Saxena
<[email protected]>
Date: 07/21/2009 01:51 PM
Subject: Re: How to implement ping script to monitor server up/down state
in
perl ?
Hi Thomas,
Thanks for the response.
The client for which I am working will not allow any external utility /
modules to be installed on their development / production environments.
Moreover they want the solution implemented using Perl only.
Thanks & Regards,
Amit Saxena
On Tue, Jul 21, 2009 at 4:43 AM, Thomas Bätzler
<[email protected]>wrote:
> Amit Saxena <[email protected]> asked:
> > I want a perl ping script (console based) to monitor server up/down
> > state.
>
> Why re-invent the wheel when there's already stuff like mon (
> http://mon.wiki.kernel.org/index.php/Main_Page) or nagios (
> http://www.nagios.org/.)?
>
> HTH,
> Thomas
>
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/