I figured this out. Incase anyone else needs to know, its done by the following code in custom graph definition:
Code Begin [ CDEF:CurrentIveNCHits=iveNCHits-raw CDEF:LastIveNCHits=PREV(CurrentIveNCHits) CDEF:PrevIveNCHits=PREV(LastIveNCHits) CDEF:DiffIveNCHits=CurrentIveNCHits,PrevIveNCHits,-,0.001,+ ] End This results in the difference between the two samples (this last and the previous) and adds 0.001 to avoid a negative 0.00 (unknown why it happens). This is useful for taking a counter total and determining the count per second, etc. -------------------- m2f -------------------- Read this topic online here: http://forums.zenoss.com/viewtopic.php?p=37466#37466 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
