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 <learn.tech...@gmail.com> To: Thomas Bätzler <t.baetz...@bringe.com> Cc: Perl Beginners <beginners@perl.org>, Amit Saxena <learn.tech...@gmail.com> 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 <t.baetz...@bringe.com>wrote: > Amit Saxena <learn.tech...@gmail.com> 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: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/