4.50 Report_SystemUpTime

Use this UNIX Report Script to generate a report detailing the uptime and downtime of monitored computers. Uptime and downtime are illustrated in hours and minutes, as well as the percentage of the monitoring interval during which a computer is running or not. For example, if during a 24-hour monitoring interval, the computer is running for 18 hours and not running for 6 hours, the uptime and downtimes are represented as:

  • Uptime: 18 hours 0 minutes

  • Downtime: 6 hours 0 minutes

  • Uptime: 75%

  • Downtime: 25%

This report uses data collected by the SystemUpTime Knowledge Scripts. In order to have accurate data for this report, these Knowledge Scripts should be scheduled to run every 5 minutes.

Uptime and downtime are calculated during scheduled maintenance. Ad hoc maintenance is considered as downtime, and is included in all calculations.

4.50.1 Resource Objects

Report Agent > AM Repositories > AppManager repository.

4.50.2 Default Schedule

The default schedule is Run once.

4.50.3 Setting Parameter Values

Set the following parameters as needed:

Description

How to Set It

Data source

Use the following parameters to select the data for your report.

Select computer(s)

Click the Browse [...] button to start the data wizard. Use the data wizard to select the computers for your report.

Select the style

Select the style for the first page of the report:

  • By computer and data stream provides links to pages showing a single data stream collected from a computer

  • All data streams on one page generates a report with all data on a single page

The default is By computer and data stream.

Select time range

Click the Browse [...] button to start the time wizard. Use the time wizard to set a specific or sliding time range for data included in your report. The default is 1 day sliding time ending at the current time.

Select peak weekday(s)

Click the Browse [...] button to start the day wizard. Use the day wizard to select the days of the week to include in your report. The default is seven days: Sunday through Saturday.

Aggregation interval

Select the time period by which the data in your report is aggregated:

  • Hourly

  • Daily

  • Weekly

The default is Hourly.

Report settings

Use the following parameters to define the graphical presentation of data, the folder where the report is generated, and properties that identify the report.

Include parameter help card? (y/n)

Set to y to include a card in the report that lists parameter settings for the report script. The default is to include the card.

Include table/chart/both

Select whether you want to include a table, a chart, or both of data stream values in the report. By default, the table is included.

Select chart style

Click the Browse [...] button to open the Chart Settings dialog box. Define the graphic properties of the charts in your report. The default is a line chart.

Select output folder

Click the Browse [...] button to set parameters for the output folder. The default output folder prefix is SystemUpTime.

Add job ID to output folder name? (y/n)

Set to y to append the job ID to the name of the output folder. The default is n.

This is helpful to make the correlation between a specific instance of a Report Script and the corresponding report.

Select properties

Click the Browse [...] button to open the Report Properties dialog box. Set the properties parameters as desired. The default report title is SystemUp Time.

Add time stamp to title? (y/n)

Set to y to append a time stamp to the title of the report, making each title unique. The time stamp is made up of the date and time the report was generated. The default is n.

Adding a time stamp is useful in order to run consecutive iterations of the same report without overwriting previous output.

Event notification

Use the following parameters to raise events associated with generating the report, and to set severity levels for those events.

Event for report success? (y/n)

Set to y to raise an event when the report is successfully generated. The default is y.

Severity level for report success

Set the event severity level, from 1 to 40, to indicate the importance of the event when the report is successful. The default is 35.

Severity level for report with no data

Set the event severity level, from 1 to 40, to indicate the importance of the event when the report has no information in it. The default is 25.

Severity level for report failure

Set the event severity level, from 1 to 40, to indicate the importance of the event when the report fails. The default is 5.

Enable debugging? (y/n)

Set to y to enable debugging. The default is n.