This patch adds some handling for the special {text} handling that is missing from nrtg. It does not handle the {startTime:format} or {endTime:format} cases.
Ron Roskens September 20, 2013 at 12:41 AM
The problem is that there are some special translation mappings handled inside opennms-webapp/src/main/java/org/opennms/web/svclayer/support/DefaultRrdGraphService.java that nrtg doesn't also do.
There are two places in rrdgraph.js that have to deal with these values: Data.prototype.push, and Graph.prototype.update.
The thing is the usage of {diffTime} in the mib2.(HC)bits graphs doesn't really make much sense at the nrtg level since all the field is only used to calculate a "total bits in" value. Since you can pause an nrtg graph, the resulting value being displayed does not make much sense. Its kind of disconcerting to see the total bits value increase and decrease overtime as the nrtg graph is displayed.
If you click on the NRTG graph for Bits In/Out the graph is empty. The debug output shows collected ifInOctets and ifOutOctets