Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am using DNS round robin load balancing and have divided my total traffic onto multiple servers. Each server does around 300-400req/second but I am interested in having an aggregate graph telling me the TOTAL of all requests per second served by our architecture.

Is there any way I can do this. Right now each graph in Munin comes as a separate graph as they depict things on one server.

I am using configuration as follow which doesn't work

doesnt work for me, does this configuration got errors?

[TRAFFIC.AGGREGATED]
  update no
  requests.graph_title nGinx requests
  requests.graph_vlabel nGinx requests per second
  requests.draw LINE2
  requests.graph_args --base 1000
  requests.graph_category nginx
  requests.label req/sec
  requests.type DERIVE
  requests.min 0
  requests.graph_order output
  requests.output.sum \
    lb1.visualwebsiteoptimizer.com:nginx_request_lb1.visualwebsiteoptimizer.com_request.request \
    lb3.visualwebsiteoptimizer.com:nginx_request_lb2.visualwebsiteoptimizer.com_request.request \
    lb3.visualwebsiteoptimizer.com:nginx_request_lb3.visualwebsiteoptimizer.com_request.request
share|improve this question

3 Answers 3

up vote 4 down vote accepted

There is a way look:

[ppke.hu;All_Totals]
  update no
  uptime.graph_title Uptimes
  uptime.graph_vlabel uptime in days
  uptime.draw LINE2
  uptime.graph_order \
    host1=host1.ppke.hu:uptime.uptime \
    host2=host2.ppke.hu:uptime.uptime \
    host3=host3.ppke.hu:uptime.uptime \
  uptime.graph_category system

I think you get the idea.

Later I replaced my munin monitoring with a more complete solution....

share|improve this answer
    
doesnt work for me, does this configuration got errors? –  Sparsh Gupta Jun 25 '11 at 21:32

Yes, you can build aggregate graphs.

Here's the how-to on the Munin site.

Basically, you create a fake node in your munin.conf, and the describe the sources, but it's easier to read the link than explain.

share|improve this answer

Munin is extremely picky about hostnames and groups. In your example replace TRAFFIC.AGGREGATED with something like <mydomain>;Totals

For example, check this answer from btm.geek: http://blog.loftninjas.org/2010/04/08/an-evening-with-munin-graph-aggregation/

[localdomain;2xLoad]
update no

dload.graph_title 2xload
dload.double.stack one=localhost.localdomain:load.load two=localhost.localdomain:load.load
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.