On Sep 26, 2008, at 1:43 PM, David Carmean wrote:
I want to graph the sum of a datapoint (e.g. ifHCInOctets) for an arbitrary collection (e.g. all ports on a particular switch, or eth0 on a particular group of servers). I can't figure out the TALES expressions to do so.

Ever since whatever I18N library was added to the URL encoding, I don't know how to debug the request that's actually being built by the report templates.

Anybody figured this out?

I'm not quite sure what you're getting at with the first question. No TALES should be required to do this, only a graph report.

The "encoding" of the RenderServer URLs actually isn't I18N or encoding at all. We had to start gzipping the graph options because they were exceeding Internet Explorer's URL length limit. One way to see what options are actually being passed is to insert a "import pdb; pdb.set_trace()" right after the decompress call in the $ZENHOME/ Products/ZenRRD/RenderServer.py render method, then run Zope in the foreground with "zopectl foreground" and wait for the pdb prompt to appear.

You can then just enter "gopts" at the pdb prompt to see what options are being passed.
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to