Re: request per second statistics

2012-10-02 Thread Joel Krauska
I use something like this: (it has a few things that are specific to my implementation) #!/usr/bin/python import os import csv import urllib2 import pprint import time datadir = '/home/rrdcollect/haproxy-stats/rrds' hostlist = ['a.network.com'] haproxycreds = ['url','user','pass'] key_values =

Re: request per second statistics

2012-10-02 Thread Vivek Malik
I did something similar for graphite using bash and socat to read from haproxy socket. Script at http://pastebin.com/ccenegXb Regards, Vivek On Tue, Oct 2, 2012 at 4:08 PM, Joel Krauska jkrau...@gmail.com wrote: I use something like this: (it has a few things that are specific to my