Created
February 8, 2011 12:21
-
-
Save baylisscg/816356 to your computer and use it in GitHub Desktop.
A synthetic example showing how to create a Munin graph of the average and trend of data taken from other graphs.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[your.domain;Totals] | |
# Comments are hashed | |
update no # This is not a real machine so turn of fetching | |
temp.graph_title My Graph # Name the graph | |
# Indicate the data we want to use in this graph (average and trend are dummy values) | |
temp.graph_order host1=host1.your.domain:plugin_name.value \ | |
host2=host2.your.domain:plugin_name.value \ | |
average=host2.your.domain:plugin_name.value \ | |
trend=host2.your.domain:plugin_name.value | |
# Configure the graph | |
temp.graph_args --lower-limit 10 --upper-limit 40 | |
temp.graph_width 640 | |
temp.graph_height 360 | |
# Turn off graphing the raw data | |
temp.host1.graph no | |
temp.host2.graph no | |
# Set the RRDTool parameters see RRDTool for meaning of cdef and commands | |
# val1,val2,no of sources,command | |
temp.average.cdef host1,host2,2,AVG | |
# Calculate the trend in average over the last 43200 seconds (12 hours) | |
temp.trend.cdef average,43200,TREND |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment