Http statistics with curl

2009-04-15 | #Me

With CURL and RRDTOOL it is possible to collect http request statistics. Below you can find the 2 scripts #************************ #curl-rrdtool.sh #************************ #!/bin/bash # Paths… adjust as necessary BASE="/home/matteo/curl" CONFIG=“config” CURL="/usr/bin/curl" RRDTOOL="/usr/bin/rrdtool" # Given a URL, return a file name # ensure we have the needed parameters # Strip out any non alphas, replace with underscores, # and add a host name FILE=apache.

Continue reading 