Unsupported content

 

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Utility - agentLicenseUsageReportByAbsoluteDateRange

Utility - agentLicenseUsageReportByAbsoluteDateRange

Description :

This command generates a report that lists the number of active agents and the kinds of jobs performed on these agents within a specified absolute date range. The report is in XML format.

Use the startDateString and endDateString arguments to specify the date range. Enclose all date strings in double quotes. Use the following syntax:

"yyyy/MM/dd HH:mm:ssZ"

where Z indicates the UTC timezone.

For example, to specify December 15, 2009, 3:14 PM in USA Mountain Time, you would specify:

"2009/12/15 15:00:14-0700"

To indicate this time for France, you would specify:

"2009/12/15 15:00:14+0100"

and so on.

Note

This BLCLI command has been optimized in version 8.7 of BMC Server Automation. For earlier versions of BMC Server Automation, BMC recommends that you do not use it. Instead, you can use a script provided by BMC; obtain this script from BMC Communities.

Return type : java.lang.Void

Command Input :

Variable Name

Variable Type

Description

reportFilePath

String

The path to the location where you want to write the XML report file.

startDateString

String

Start date, enclosed in double quotes. Use the format "yyyy/MM/dd HH:mm:ssZ"

endDateString

String

End date, enclosed in double quotes. Use the format "yyyy/MM/dd HH:mm:ssZ" or "" (empty string) to indicate the current date and time (now).

Example

The following example shows how to use this command to obtain a report for a specific date range.

Script

blcli Utility agentLicenseUsageReportByAbsoluteDateRange /mydir/report.xml "2013/01/12 01:02:04-0500" "" 

Example

The following example shows an output report for a period of 30 months.

Configuration Manager Agent Activity License Report
Date: Mon Nov 24 09:42:16 EST 2014
Selected Date Range: Thu May 24 09:42:16 EDT 2012    to    Mon Nov 24 09:42:16 EST 2014
BladeLogic Environment (Database URL): jdbc:oracle:thin:@localhost:1521:orcl
Currently Active Agent Count: 34
BladeLogic Manager Suite Type       Minimum BBSA Licenses Required to Enable Currently Used Functionality
Configuration Manager          14
Compliance Manager             0
Provisioning Manager           75
Configuration Manager + Compliance Manager or Server Automation Suite            5
Compliance Manager + Provisioning Manager or Server Automation Suite             0
Configuration Manager + Provisioning Manager or Server Automation Suite          10
Compliance Manager + Provisioning Manager + Configuration Manager or Server Automation Suite  0
Was this page helpful? Yes No Submitting... Thank you

Comments