------art_33512_26029887.1132566016499
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi @all,

i made a script, that monitors some web-sites of our company using net::http
and net::smtp.

it pings multiple sites and it's based on this script:
http://habtm.com/articles/2005/09/29/website-monitoring-script

every time an error occures, an email ist sent.
i want to do this every 5 min as a cron-job.

Is there a way to limit the email-notification, that for example only 3
emails with the same error are delivered?

i would like to prevent my mailbox being filled up, when one site is down
for the whole night or so
as it can be done with nagios.

one problem is, that the script has no 'history' information to recognize,
how many notifications have been sent already.

any suggestion how that can be done?

(i hope i made it clear -- sorry for my bad english --)

Best Regards,
Torsten

------art_33512_26029887.1132566016499--