Server - deployActivityAndChangeDetailByServerList
Server - deployActivityAndChangeDetailByServerList
Description :
This command returns the job activity performed on the specified target server within the specified date range for Deploy Jobs, NSH Script Jobs and Change Tracking (Snapshot) Jobs. The change tracking details are also shown by this command. The job activity items along with the change tracking details are displayed in the following format:
Server name|Job name|Job run start time|Job run end time|Job Type|Job Run Status|User name|Role name|Server Object Type|Template Part|External Changes|Total Changes Count|ReservedColumnForLater|ReservedColumnForLater
Note that the last two columns (ReservedColumnForLater) contain no data. They are place holders for later use.
Use the startDateString and endDateString arguments to specify the date range, using 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. This command returns a list of server objects.
Return type : java.lang.Void
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
partialResults | String | Partial Activity: valid values are deployActivityOnly, changeDetailOnly, all or empty string |
startDateString | String | Start date. Use the format yyyy/MM/dd HH:mm:ssZ |
endDateString | String | End date. Use the format yyyy/MM/dd HH:mm:ssZ or "" (empty string) to indicate the current date and time (now). |
deployJobIncludeList | com.bladelogic.om.infra.cli.helper.StringList | Deploy/NSH Script Job comma separated include list |
snapshotJobIncludeList | com.bladelogic.om.infra.cli.helper.StringList | Change Tracking/Snapshot Job comma separated include list |
serverList | com.bladelogic.om.infra.cli.helper.StringList | Comma separated Server List. |
Example
The following example returns all the Deploy Job activity and change detail performed on the target server localhost within the date range of 2009/09/15 15:00:14-0700 to "" (now).
Script
Server deployActivityAndChangeDetail "all" "2009/09/15 15:00:14-0700" "" "deploy-include-jobname1,deploy-include-jobname2" "snapjob-include-jobname1,snapjob-include-jobname2" "localhost,testserver"