|
If I understand correctly, what you want is to have a userdefined summary page -- or userdefined summary In/Out graph -- where membership is determined by LastValue>0.
At the moment, all targets identified as interfaces are automatically members of the Summary page, and of the Incoming/Outgoing graphs.
Something like,
routers.cgi*InOut[_]: active
routers.cgi*InSummary[_]: active
maybe, so that the Incoming/Outgoing userdefineds only have active interfaces, and the summary page only has actives? Or,
routers.cgi*Summary[xxx]: Active_Ports active
for each active interface target xxx.
This wouldn't be too hard to do in theory, but it would mess up the internal config caching. The config files are only read once and then cached - but this dynamic reconfiguration would require them to either be recalculated each iteration, or else have a special case option...
Maybe I could have a per-summary option (rather than per-target) to enable the only-if-active option? Or, a per-target option that affects ALL userdefined graphs and summaries that the Target is a member of?
Let me know if this is what you were thinking of...
_________________ Steve Shipway UNIX Systems, ITSS, University of Auckland, NZ Woe unto them that rise up early in the morning... -- Isaiah 5:11
|