[mrtg] Re: Monitoring a URL
Michael Grice
grice at binc.net
Fri Jan 30 21:34:50 MET 2004
* Dave Morrow <david.morrow at autodata.net> [040130 13:10]:sfsaf
> Hi all, this is likely an FAQ type question......but I am wondering if
> anyone out there has used MRTG to monitor the response times of websites.
> For example, monitoring http://www.mrtg.org <http://www.mrtg.org> , wait
> for a particular response, and have MRTG record the time the request took to
> process.
Sure. My preferred approach would be to create a script with one of
perl's LWP modules and the Time:HiRes modules. There are some potential
sources of error with this approach--for instance, delay in your script
could result in added delay in the results--but I think that's true of
most approaches.
You could also incorporate curl or libcurl into a script, wget, etc.
--Michael
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list