Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/IT Service Level Management Description, User's Guide, Reference and Operator's Guide


jslmreport (outputs report data to a CSV file)

Organization of this page

Function

This command outputs report data, stored in the database, in CSV file format.

Execute this command under the following conditions:

If you are in a cluster environment, execute this command on the active server. You cannot execute it on a standby server.

For details about messages displayed during command execution, see 11.3 Messages.

Format

jslmreport -t { service | system | info | overview | graph }
           -g service-group-name
           -s service-name
           -d report-start-date
           -i { 1day | 1week | 1month | 3months }
           -o output-file-name
          [  -f ]

Execution permission

A user account that belongs to the OS's Administrators group

Storage folder

ITSLM-Manager-installation-folder\mgr\bin\

Arguments

-t

Specifies the category of report data to output as a CSV file. One of the following categories can be specified:

  • service

Specify this to output service performance. Note that service cannot be specified if a service that is not subject to service performance monitoring is specified in the -s option.

  • system

Specify this to output system performance.

  • info

Specify this to output availability information.

  • overview

Specify this to output a service availability overview.

  • graph

Specify this to output a performance chart.

-g service-group-name

Specifies the name of the service group to which the target monitored service belongs.

-s service-name

Specifies the name of the target monitored service.

-d report-start-date

Specifies the date from which the report on the target monitored service is to begin. It is specified as follows.

Table 9‒6: How to specify the report start date

Format

Details

-d YYYYMMDD

YYYY

Specifies the year as a four-digit number.

MM

Specifies the month as a two-digit number.

DD

Specifies the day as a two-digit number.

  • The start date uses the same time zone as ITSLM - Manager.

  • The validity of the start date (whether the date exists on the calendar) is not checked.

-i

Specifies the report interval for the target monitored service. It is specified as follows:

  • 1day

Specify this to output a one-day report.

  • 1week

Specify this to output a one-week report.

  • 1month

Specify this to output a one-month report.

  • 3months

Specify this to output a three-month report.

-o output-file-name

Specifies the name of the output file, as an absolute path, for the report data.

Output format

The first line displays header information, and the second and subsequent lines display data.

The following describes the output format for each data type.

  • Service performance

    The service performance output format is as follows.

    Table 9‒7: Service performance output format

    No.

    Header information

    Data beginning on line 2

    Data details

    1

    Service_Performance_Start_Date

    Start date of the report interval

    YYYY/MM/DD (year/month/day)

    2

    Service_Performance_End_Date

    End date of the report interval

    YYYY/MM/DD (year/month/day)

    3

    Service_Performance_Monitored_Target

    Monitored target

    Name of the selected monitored target

    4

    Service_Performance_Monitor_Item

    Monitor item (unit)

    • Average response time (milliseconds)

    • Throughput (count/second)

    • Error rate (%)

    5

    Service_Performance_Average

    Average#1

    • For average response time:

      Total average response time during the report interval [Figure] number of requests during the report interval (milliseconds)

    • For throughput:

      Number of requests during the report interval (excluding requests whose responses timed out before ITSLM - UR could receive them) [Figure] operation time during the report interval (count/second)

    • For error rate:

      (Number of times HTTP status returned an error response during the report interval + number of requests whose responses timed out before ITSLM - UR could receive them) [Figure] number of requests during the report interval (%)

    6

    Service_Performance_SLO_Compliance_Ratio

    SLO compliance rate#1

    (1.0 - duration of overages of a threshold [Figure] operation time for one month) [Figure] 100 (%)

    7

    Service_Performance_VS_Previous_Term

    Comparison to a previous period (as a percentage)#2, #3

    (Average response time during report interval [Figure] average response time during comparison period for the report interval - 1.0) [Figure] 100 (%)

    #1

    The value is rounded to the first decimal place.

    #2

    The value is rounded to the second decimal place.

    #3

    When comparing to a previous period, the percentage is calculated for the monitored service's service performance, and the table header and the period used for comparison depend on the report interval setting.

    The following table shows the relationship between the report interval and the previous period to which the percentage applies.

    Table 9‒8: Relationship between report interval and previous period to which percentage applies

    No.

    Report interval

    Table header

    Period used for comparison

    1

    1 day

    Compared to previous day

    Day immediately preceding the start date

    2

    1 week

    Compared to previous week

    Seven days immediately preceding the start date

    3

    1 month

    Compared to previous month

    From the same date in the previous month to the preceding day

    4

    3 months

    Compared to previous quarter

    From the same date three months ago to the preceding day

  • System performance

    The system performance output format is as follows.

    Table 9‒9: System performance output format

    No.

    Header information

    Data beginning on line 2

    Data details

    1

    System_Performance_Start_Date

    Start date of the report interval

    YYYY/MM/DD (year/month/day)

    2

    System_Performance_End_Date

    End date of the report interval

    YYYY/MM/DD (year/month/day)

    3

    System_Performance_Host

    Host

    Host name of the selected monitored service

    4

    System_Performance_Monitored_Target

    Monitored target

    Name of the monitoring agent contained in the host

    5

    System_Performance_Monitor_Item

    Monitor item (unit)

    Name of a monitoring item contained in the monitoring agent

    6

    System_Performance_Average

    Average#1

    Average value for the monitoring item

    7

    System_Performance_SLO_Compliance_Ratio

    SLO compliance rate#1

    (1.0 - duration of overages of a threshold [Figure] operation time for one month) [Figure] 100 (%)

    8

    System_Performance_VS_Previous_Term

    Comparison to a previous period (as a percentage)#2, #3

    (Average response time during report interval [Figure] average response time during comparison period for the report interval - 1.0) [Figure] 100 (%)

    #1

    The value is rounded to the first decimal place.

    #2

    The value is rounded to the second decimal place.

    #3

    When comparing to a previous period, the percentage is calculated for the monitored service's system performance, and the table header and the period used for comparison depend on the report interval setting.

    For the relationship between the report interval and the previous period to which the percentage applies, see Table 9-8 Relationship between report interval and previous period to which percentage applies.

  • Availability information

    The availability information output format is as follows.

    Table 9‒10: Availability information output format

    No.

    Header information

    Data beginning on line 2

    Data details

    1

    Availability_Info_Start_Date

    Start date of the report interval

    YYYY/MM/DD (year/month/day)

    2

    Availability_Info_End_Date

    End date of the report interval

    YYYY/MM/DD (year/month/day)

    3

    Availability_Info_Service_Availability

    Service availability %#1

    (Sum of all operation periods during report interval [Figure] (sum of all operation periods during report interval + sum of all error periods during report interval) [Figure] 100) (%)

    4

    Availability_Info_MTTR

    MTTR#2

    Sum of all error periods during report interval [Figure] number of error periods during report interval (minutes)

    5

    Availability_Info_MTBF

    MTBF#2

    Sum of all operation periods during report interval [Figure] number of error periods during report interval (minutes)

    #1

    The value is rounded to the second decimal place.

    #2

    The value is rounded to the first decimal place.

  • Service availability overview

    The service availability overview output format is as follows.

    Table 9‒11: Service availability overview output format

    No.

    Header information

    Data beginning on line 2

    Data details

    1

    Service_Availability_Overview_Date_And_Time

    Date and time#

    Date and time an event related to availability monitoring occurred during the report interval

    2

    Service_Availability_Overview_Event

    Event

    One of the following events related to availability monitoring that occurred during the report interval:

    • Service recovery

    • Start of service monitoring

    • Stop of service monitoring

    • Service stop

    #

    Displayed in the format YYYY/MM/DD hh:mm, using the ITSLM - Manager's time zone.

  • Performance chart information output to CSV file

    The performance chart information output to the CSV file is as follows.

    Table 9‒12: Performance chart information output to CSV file

    No.

    Header information

    Data beginning on line 2

    Data details

    1

    Date

    Date and time

    Date and time data acquired from ITSLM. Displayed in the format YYYY/MM/DD hh:mm, based on the ITSLM - Manager's time zone

    2

    Monitoring item average

    Monitoring item average value

    Average value for the monitoring item

    3

    Monitoring item max

    Monitoring item maximum value

    Maximum value for the monitoring item

    4

    Monitoring item min

    Monitoring item minimum value

    Minimum value for the monitoring item

    .

    .

    .

    6

    Monitoring item average

    Monitoring item average value

    Average value for the monitoring item

    7

    Monitoring item max

    Monitoring item maximum value

    Maximum value for the monitoring item

    8

    Monitoring item min

    Monitoring item minimum value

    Minimum value for the monitoring item

    Note:

    Monitoring items are defined by the following BNF notation:

    monitoring-item ::= name-of-monitored-target "/" name-of-monitored-target-within-monitored-service "/"

    name-of-monitored-target-within-monitored-service ::= "All Web Access"|Web-transaction-name|host-name "/" agent-name

Output character encoding

UTF-8 character encoding is used.

-f

Specifies that the output file specified in the -o option is to be overwritten if it already exists.

If this option is omitted and the output file already exists, the command results in an error.

Notes

Return value

Return value

Description

0

The CSV file was output successfully.

1

Output of the report to a CSV file failed.

130

Processing was canceled because Ctrl+C was pressed.

Example

C:\Program Files\HITACHI\JP1ITSLM\mgr\bin\jslmreport -t service -g Group1 -s Service1 -d 20130128 -i 1month -o c:\report.csv -f