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 wrote: > I use something like this: > (it has a few things that are specific to my implementation) > > #!/us

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 = ['

request per second statistics

2012-10-02 Thread Saul Waizer
Hello List, This is a general question, has anyone developed a method of polling statistics from HAproxy to determine the current requests per second rate? I am building a custom nagios plugin that will also work with graphite and cacti, i am trying to find the best approach to gather RPS statisti