A. G.,

The documentation for this is the source at the moment. You have access to the 
full Zenoss object tree from within reports so documenting the reporting 
language would end up just being an API document for Zenoss as a whole. Some 
HOWTOs and examples would be helpful, but the stock reports and page templates 
can be used as a reference.

I'll try to answer some of your specific question though. Let's start with 
accessing the data point values directly.


Code:

<table tal:define="devices python:here.Devices.getSubDevices();">
  <tr>
    <th>Device</th>
    <th>Load Average</th>
  </tr>

  <tal:block tal:repeat="device devices">
  <tr tal:define="load python:device.getRRDValue('laLoadInt5_laLoadInt5');">
    <td tal:content="device/id">Device ID</td>
    <td tal:content="load">0.1</td>
  </tr>
  </tal:block>
</table>




All monitored components (even devices) inherit from RRDView. Look at the 
$ZENHOME/Products/ZenModel/RRDView.py to get an idea of what methods are 
available for accessing the performance template data.

------------------------
 Chet Luther




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=8466#8466

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to