[Varnish] #467: prevent percent-aspects of munin plugin from scaling

Varnish varnish-bugs at projects.linpro.no
Thu Mar 12 11:23:00 CET 2009


#467: prevent percent-aspects of munin plugin from scaling
-------------------+--------------------------------------------------------
 Reporter:  anti   |        Type:  enhancement
   Status:  new    |    Priority:  normal     
Milestone:         |   Component:  munin      
  Version:  trunk  |    Severity:  trivial    
 Keywords:         |  
-------------------+--------------------------------------------------------
 Percentage aspects (like ratio and cache-usage) are easier to compare, if
 they are always shown in a 0-100 scale.  The current munin-plugin tries to
 do that, but "graph_scale no" only tells munin not to scale the numbers.

 ''graph_scale no makes munin (rrd) not scale the number. Normally a
 reading of 1000 would be scaled to 1k and 1000000 to '1M' (according to
 scales set with --base explained above).''
 (http://munin.projects.linpro.no/wiki/HowToWritePlugins)

 To actually have rrdtool always paint the graph on a 0-100% scale, it is
 necessary to set graph_args accordingly, replacing the

 `print "graph_scale no\n";`

 in source:trunk/varnish-tools/munin/varnish_munin_plugin.pl#L149 with

 `print "graph_args --lower-limit 0 --upper-limit 100 --rigid\n";`

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/467>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list