Changeset 696
- Timestamp:
- 01/29/05 23:37:23 (7 years ago)
- Files:
-
- trunk/munin-faq-base.html (modified) (1 diff, 1 prop)
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 56 56 </p> 57 57 <p> 58 An example can be found in the plugin "exim_mailstats" - the plugin graphs59 the number of mails that have been received and delivered locally by the60 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 "30062 ultramail per second". :-) A cdef is therefore defined to adjust the63 values into "mails per minute" instead - a much more sensible and readable64 number. To do this, the value is just multiplied by 60. The configuration65 line looks like this: <code>received.cdef received,60,*</code> . In66 "normal" math, you'd just say "received=received*60".67 </p>68 <p>69 58 For a more thorough definition of RPN, take a look at the man-page for 70 59 "rrdgraph". 60 </p> 61 <h3>Q: Can I get a graph to show percentages instead of regular values?</h3> 62 <p> 63 You can modify a graph with two data fields to a percentage view with 64 the following cdef (gotten from Nicolai Langfeldt). It uses two field 65 names, "hit" and "all", with "hit" being the field you want in 66 percentages of "all". 67 <code> 68 hit,all,1,all,0,EQ,IF,/,100,*,UNKN,all,0,EQ,IF,UNKN,all,UNKN,EQ,IF 69 </code> 71 70 </p> 72 71
