[rrd-users] Re: GetHTTP

Matt mjoyce at iinet.net.au
Fri Dec 15 12:24:36 MET 2006


Fwid Simon, you completely write the Nagios check_http plugin will time the
transfer too.
Thanks. 

-----Original Message-----
From: rrd-users-bounce at list.ee.ethz.ch
[mailto:rrd-users-bounce at list.ee.ethz.ch] On Behalf Of Matt
Sent: Tuesday, 12 December 2006 10:47 PM
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] Re: GetHTTP

 
I wanted to check the throughput speed of a wireless link (using nagios) and
none of the nagios plugins were suitible.
I didn't check every option of the many mnay nagios plugins, so perhaps your
right. (google Nagios Exchange)

I ended writing a bash script to do the job, I'm no bash expert, but it
worked.
Essentially, I installed a different version of time, not the shell version,
and placed a 10mb file on a server, then did :

`time -f "e" wget --delete-after -q http://foo.com/10mb`

..and then tested the value of $t
Bash doesn't handle fractions so I used bc to do the math and then tested
for true.

mj


-----Original Message-----
From: rrd-users-bounce at list.ee.ethz.ch
[mailto:rrd-users-bounce at list.ee.ethz.ch] On Behalf Of Simon Hobson
Sent: Tuesday, 12 December 2006 8:41 PM
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] Re: GetHTTP

Baker, John wrote:
>Does anybody know of a program for FreeBSD/Linux that acts in the same 
>way as GetHTTP does for windows? It fetches a page from a web server 
>(and optionally content) and then reports back how much time it took in 
>milliseconds.

It might also be worth looking at the plugins available for Nagios - IIRC
the HTTP check is written in Perl and may be adaptable to your needs.

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list