+-le 09.12.2008 15:05:15 +0000, Kai Krueger a dit : | On 08/12/08 20:33, Mathieu Arnold wrote: |> +--On 8 décembre 2008 12:25:43 -0500 Milenko<[EMAIL PROTECTED]> |> wrote: |> | Anyone have any ideas on how we could get some munin graphs showing some |> | statistics for the ROMA servers? |> | |> | Requests per hour - average request time - etc? |> | |> | Building the plugin looks fairly straightforward, but I'm not sure what |> | the easiest way to get the data out would be. |> |> The lb stats may be of use : |> |> http://api1.osm.absolight.net:8080/haproxy?stats |> and |> http://api1.osm.absolight.net/munin/osm.mat.cc/api1.osm.mat.cc.html#Haproxy |> |> | I am not sure how feasible or desirable it would be from within munin, | but if you parse the actual logs the LB produces, those contain both the | queue time as well as the server processing time per request. With that | you could probably create some nice graphs of queue length, time spent | in the queue and average as well as maximum processing time in a given | time period, which could nicely add to the haproxy munin graphs already | available. But as I said, I don't know anything about plug-ins in munin.
I wanted to do it for some time now, I didn't have the time to do it though. A munin plugin is a pretty simple executable, it has two ways of being launched, with a config directive where it returns information on what to store and how to graph it, and without the config directive where it outputs the data. It should be easy to do so in Perl. (But I don't have time to do it these days.) -- Mathieu Arnold _______________________________________________ Tilesathome mailing list [email protected] http://lists.openstreetmap.org/listinfo/tilesathome
