Archived community.zenoss.org | full text search
Skip navigation
Currently Being Moderated

12.5 Creating Custom Device Reports

VERSION 3  Click to view document history
Created on: Oct 27, 2010 1:32 PM by Zenoss API - Last Modified:  Oct 27, 2010 1:49 PM by Zenoss API

 5. Creating Custom Device Reports

Follow these steps to create a custom device report:

  1. From the Web interface, select Reports.

  2. In the tree view, select Custom Device Reports.

  3. From (Add Menu), select Add Custom Device Report.

    The Create Custom Device dialog appears.

  4. Enter a name for the report, and then click Submit.

    The graph edit page appears.

  5. Define report parameters, as follows.

    • Name - Optionally edit the report name.

    • Title - Enter a report title. This title shows in the report display, and is distinct from the report name.

    • Path - Specify the path in the hierarchy where you want the system to store the report.

    • Query - Specify the actual query string for the report. If you want to limit the report to just those devices with a serial number, for example, you can set the Query value to:

      here.hw.serialNumber != ""

    • Sort Column - Specify the column on which you want to sort the report by default.

    • Sort Sense - Specify the sense that the system uses to sort: asc (ascending sort) or desc (descending sort).

    • Columns - Specify the data to be retrieved and displayed in the report. For example, you could specify:

      • getId - Gets the name of any devices.

      • getManageIp - Gets the IP addresses of the devices.

      • getHWSerialNumber - Grabs serial numbers for the devices.

      Note

      For a complete list of valid options, refer to the information on Device schema in the appendix titled "TALES Expressions."

    • Column Names - Optionally specify column names to make the column headers more descriptive.

      For the columns specified in the previous example, you could use these column names:

      • Device

      • Address

      • Serial #

  6. Click Save to save the report.

Comments (0)