Community

Zenoss Newsletter
Monitored by Zenoss
SourceForge.net Logo

Graphing One Value from 2 Datapoints

by Paul Mininni last modified 2007-11-19 16:47

How to graph one value with two datapoints that contain an upper and lower 32 bit value. This is common on switches and filers that do not have a 64 bit MIB.

  • New Graph
  • Add High and Low datapoints (these should already be added as a datasource in the template) 
  • Select Each datapoint and change the Line Type to "Not Drawn"
  • Add Data Points -> Custom -> CDEF
  • The RPN is the high order bit value * 4294967296 (2^32) + Low order bit value. So enter
    •   High,4294967296,*,Low,+
    •   Note: The variable name will be the name of the custom cdef used.
    •   This can be checked in the Graph Commands tab
  • Add Data Points -> Custom -> Area (or Line)
  • Enter the name of the CDEF DataPoint in the Value field
  • You MUST enter a RGB color in order to get a graph (00ff00)
  • If you want the cur:, avg: and max: printed on the graph then add a custom GPRINT.
  • All done

 

AddThis Social Bookmark Button
Document Actions