Of course you can do this in perl. However, there are great, robust open source products for performing these tasks. So, excluding self-education, why re-invent the wheel if you don't need to.
George
On Monday, January 6, 2003, at 11:46 AM, Paul Kraus wrote:
You could do it with Perl. Dump the output of the system call ping to a
log file. Set it up to run however often you want to check. In Linux you
could do this by setting up cron job. Not sure how you would do it in
windows.
kind of doing this from memory so let me know if I am wrong.
$var=`ping xxx.xxx.xxx.xxx`;
print LOG "$var\n";
-----Original Message----- From: George Schlossnagle [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 11:45 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Help!!!Not in Perl (though you can write extensions for it in Perl), but try Netsaint (now Nagios): http://www.nagios.org/. George On Monday, January 6, 2003, at 11:55 AM, Jose Vicente Paredes Loor wrote:Hi, friends. I am looking for a script(or a group of them) to monitor mynetwork,imean, i want to ping from one server and collect the datain some webpage maybe, and show the ping result from all my servers inonly onepage. I have scripts to make ping from the server, but idont know howto collect the data to show them after. I need to know when i dont have internet from a specific server. Please help me. Thanks in advance. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]