Opsview Knowledge Center

Creating a Custom Report with iReports

Learn how to create a Custom Report with iReports using Opsview Monitor

iReport

Help regarding using iReport is available at iReport Tutorials & Help.

Deploying a Report on JasperServer

  • Create a new .jrxml file using iReport.
  • In 'Reports', click on 'Add Resource' icon and then JasperServer report.
  • The rest of the steps are self-explanatory. Give link to the new .jrxml file when prompted for.

Notes on using iReport

Make sure the following windows are available:

  • Report Inspector - access to report objects (lots of things unavailable unless this is open, like adding groups or adding parameters)
  • Properties - will list things that can be changed for an particular object

To add a new group, right click on 'report name'.
When charting data, use a time series chart. You then have to right click on the chart element and enter the necessary data:

  • Dataset:

    • Reset type: group
    • Reset group: hostnameservicename
    • Increment group: none
  • Details:

    • Time period: hour (this may be different between a weekly and a monthly report)
    • Add a time series
      • Series expression: $F{perf_label}
      • Time period expression: $F{datetime}
      • Value expression: $F{value}

WARNING: The graph takes the last value in each hour, rather than an average value. This is why some graphs which change frequently (such as ping rta) do not make sense. You will need to do the consolidation at the SQL level to guarantee what the graph should look like.

If you have problems where the category name is too large, switch the style to aegen, which puts the categories in a slanted line.

Creating a Custom Report with iReports

Learn how to create a Custom Report with iReports using Opsview Monitor