Amit Saxena wrote:
> I want a perl ping script (console based) to monitor server up/down
state.
Here's something I wrote ~2000 FWIW. It looks like I was still on
dial-up, and wanted to ping an Internet host every ~10 seconds or so to
prevent my connection from being dropped due to inactivity. Br
Hi Bob,
It seems there is some confusion.
I just want to monitor remote server connectivity (either through ping or
something else) but I don't want to call my programs every few intervals
etc. What I want is a daemon sort of a thing in Perl running either on the
source system (preferably) or on
Thanks Thomas,
I will surely look at mon to know about how to write monitoring code in
Perl.
Thanks & Regards,
Amit Saxena
On Tue, Jul 21, 2009 at 5:25 AM, Thomas Bätzler wrote:
> Amit Saxena wrote:
> > Hi Thomas,
> >
> > Thanks for the response.
> >
> > The client for which I am working will
Amit Saxena :
Hi all,
I want a perl ping script (console based) to monitor server up/down state.
I once made that a subroutine based on Net::Ping:
use Net::Ping;
sub pinghost {
my $host = shift;
my $type = shift || 'icmp';
my $port = shift || 7; # for syn ping
my $stat
From: Amit Saxena
>
> 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.
If they won't allow any utilities, how will you install this one?
Amit Saxena wrote:
> 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.
Actually, mon ist pure
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 w
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
Amit Saxena 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-
Hi all,
I want a perl ping script (console based) to monitor server up/down state.
So far I have tried two different approaches, though none of them were
successful.
*First Approach*
Call the operating system "ping" command from the Perl program and get the
server up/down state. Call this progr
10 matches
Mail list logo