[mrtg] Re: MRTG and WEB (HTTP) responset time

David Gabler dgabler at americomusa.net
Mon Aug 28 22:25:53 MEST 2000


Jorn,

I would try something like
/usr/bin/time lynx -dump http://home.online.no/~jorner/Mrtg_and_Bay.html
2>&1 | tail -2 | head -1 | perl -e '@a = split/\s+/, <>; @b = split/e/,
@a[2]; print "$b[0]\n"; '

That will get you your number. You will need to format it for MRTG (It is at
least a start).  The time returned will be relative to your graphing machine
and be network dependant.

You might want to consider posting in another format instead of mime
encoded.

David


Hi there,

I have looked hight and low however I can not find any tool that I
can use togheter with MRTG in order graph the responsetime of a URL
(ala http://home.online.no/~jorner/Mrtg_and_Bay.html). mrtg-ping-
probe is almost there.....

Can anyone help me here?

Thanks

Jorn



--
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



--
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