Changeset 696

Show
Ignore:
Timestamp:
01/29/05 23:37:23 (7 years ago)
Author:
jimmyo
Message:

Added note about percentages.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/munin-faq-base.html

    • Property cvs2svn:cvs-rev changed from 1.9 to 1.10
    r663 r696  
    5656</p> 
    5757<p> 
    58 An example can be found in the plugin "exim_mailstats" - the plugin graphs 
    59 the number of mails that have been received and delivered locally by the 
    60 system. The values are gathered and stored in a "mails per second"-format. 
    61 On most systems, this is a bit odd, since you'll get numbers like "300 
    62 ultramail per second". :-) A cdef is therefore defined to adjust the 
    63 values into "mails per minute" instead - a much more sensible and readable 
    64 number. To do this, the value is just multiplied by 60. The configuration 
    65 line looks like this: <code>received.cdef received,60,*</code> . In 
    66 "normal" math, you'd just say "received=received*60". 
    67 </p> 
    68 <p> 
    6958For a more thorough definition of RPN, take a look at the man-page for 
    7059"rrdgraph". 
     60</p> 
     61<h3>Q: Can I get a graph to show percentages instead of regular values?</h3> 
     62<p> 
     63You can modify a graph with two data fields to a percentage view with 
     64the following cdef (gotten from Nicolai Langfeldt). It uses two field 
     65names, "hit" and "all", with "hit" being the field you want in 
     66percentages of "all". 
     67<code> 
     68hit,all,1,all,0,EQ,IF,/,100,*,UNKN,all,0,EQ,IF,UNKN,all,UNKN,EQ,IF 
     69</code> 
    7170</p> 
    7271