[Spread-users] Spread in distributed URL monitor application

Mike M saetaes at gmail.com
Wed Mar 2 11:35:13 EST 2005


Hello,

I've been tasked with creating a monitor that can check list of URLs,
and send e-mail messages when one is unreachable or contains errors. 
Handling the monitoring part of this task is very straightforward.

However, one issue I've run into is that the machine that monitors the
URLs may see the URL as down due to a local network connectivity
issue, when in fact the URL is accessable to other machines located
elsewhere on the Internet.  What I'd like to do is use Spread (or
something similar) to create a private peer-to-peer network of
monitors that, when one machine sees a URL down, checks with its peers
and sends an e-mail only when all peers see the same URL as being
down.

Do you think that Spread is the correct tool for this?  Being a newbie
to Spread, I'm not sure if it would be capable of doing what I need it
to.

As it stands, the monitoring part of this script is written in Perl,
and I'd like to continue to use it for the messaging part of this
task.

Any help/code samples would be greatly appreciated!

Thanks,

Mike




More information about the Spread-users mailing list