Does anyone have any custom RRD commands for creating data points that they're
willing to share?
Specifically, we need to be able to adjust the value of an SNMP OID after it's
retrieved, but before it gets committed to the RRD file. I have been searching
high and low for a way to do this, but there seems to be no documentation
outside of the RRD documentation itself on how to do this. More importantly, it
doesn't look like the "COMPUTE" type is available as an option within Zenoss
when you create a data point.
Here's an example of what I would like to do:
1) Get the SNMP OID (in this case, usedBlocks)
2) Add a percentage of the ${here/totalBlocks} value to the usedBlocks
value--this is to compensate for filesystem overhead and would vary between 5%
and 10% depending on the system
3) Input the transformed value into the RRD file.
I was considering something like this:
DS:ds0:COMPUTE:${here/totalBlocks},.9,*,${here/fullRRDPath}/usedBlocksRaw_usedBlocksRaw.rrd:ds0,-
but the specific syntax is giving me difficulty. Is it possible to transform
values in this manner?
Thanks for any help,
James Ervin
UNC-Chapel Hill
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=14476#14476
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users