Darien,
You need to do this in the Custom field of a graph object. You can
click on data sources needed and they will be created with DEF
statements. Take a look at the utilization graph for the Filesystem
RRDTemplate in /Server as an example. You can also reference model
values as this graph does by doing ${here/value}. In the Filesystem
graph we get the totalBlocks of a file system this way.
-EAD
On Aug 28, 2006, at 3:38 PM, Darien Sharif wrote:
I need help with somebody who has used RPN fields for RRDDataSource.
Under Devices/PerfConf/ethernetCsmacd I am trying to create more
meaningful graphs by using RPN fields within RRDDataSource. The
issue I have is how CDEF or VDEF variables are referenced within
the RPN stack expression.
As an example to compute input error percentage on a port I did the
following
1. RRD data source ifInErrors had the following in the RPN
field
CDEF:input_errors=ifInErrors
2. RRD data source ifInUcastPkts had the following in the
RPN field
CDEF:input_packets=ifInUcastPkts
3. Created a new RRD data source (INPUT_ERRORS) with no OID
but with the following in the RPN field
CDEF:input_errors,input_packets,DIV
4. Created graph for INPUT_ERRORS
In the above example I get no graph ..... do I have to use or
reference things differently within the RPN field? The admin guide
makes no mention about this feature.
Any help would be much appriciated.
Darien
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users