Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: General perl question. Multiple servers.

by jethro (Monsignor)
on Oct 07, 2007 at 01:49 UTC ( #643202=note: print w/replies, xml ) Need Help??

in reply to General perl question. Multiple servers.

If you want reliable, then don't try to programm the network code yourself, use established methods.

So the syslog suggestion from shmem is the most simple, most economic solution you can find if your applications already use syslog for logging or can be persuaded to do so. Syslog takes care of the network transmission and all you have to do is to parse the local log (the code for that would easily fit in one line).

If that is not possible, a (perl-)script that uses ssh to poll all the servers is IMHO already a very reliable solution (use ssh parameter "-o ConnectTimeout=4", so that ssh doesn't wait so long for offline servers) and be sure to check for success of the ssh.
  • Comment on Re: General perl question. Multiple servers.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://643202]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2021-01-18 01:18 GMT
Find Nodes?
    Voting Booth?