Utility - agentLicenseUsageReportByRelativeDateRange
This command generates a report that lists the number of active agents and the kinds of jobs performed on these agents within a specified relative date range. For example, you can request a report for the last n number of days, months, or years. The report is in XML format.
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 :
The path to the location where you want to write the XML report file.
Number of days/months/years
The following example shows how to use this command to obtain a report for the last month.
blcli Utility agentLicenseUsageReportByRelativeDateRange /mydir/report.xml 1 month
The following example shows how to use this command to obtain a report for the last 2 years.
blcli Utility agentLicenseUsageReportByRelativeDateRange /mydir/report.xml 2 years
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