Red Hat Training

A Red Hat training course is available for Red Hat Satellite

34.76. Method: listSystemEvents

Description

List all system events for given server. This includes all events for the server since registration. This might require the caller to filter the results to fetch the desired events.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • int serverId - ID of system
Returns

The following return values are available for this method:

  • array:
    • struct - action
      • int failed_count - Number of times action failed
      • string modified - Date modified (deprecated by modified_date)
      • dateTime.iso8601 modified_date - Date modified
      • string created - Date created. (deprecated by created_date)
      • dateTime.iso8601 created_date - Date created
      • string action_type
      • int successful_count - Number of times action was successful
      • string earliest_action - Earliest date this action will occur
      • int archived - If this action is archived. (1 or 0)
      • string scheduler_user - available only if concrete user has scheduled the action
      • string prerequisite - Pre-requisite action (optional)
      • string name - Name of this action
      • int id - ID of this action
      • string version - Version of action
      • string completion_time - The date and time the event was completed; format is YYYY-MM-dd hh:mm:ss.ms e.g. 2007-06-04 13:58:13.0 (optional) (deprecated by completed_date)
      • dateTime.iso8601 completed_date - The date and time the event was completed (optional)
      • string pickup_time - The date and time of the action pick-up. Format is YYYY-MM-dd hh:mm:ss.ms e.g. 2007-06-04 13:58:13.0 (optional) (deprecated by pickup_date)
      • dateTime.iso8601 pickup_date - The date and time of the action pick-up. (optional)
      • string result_msg - The result string after the action executes on the client machine (optional)
      • array additional_info - This array contains additional information for the event, if available
        • struct - info
          • string detail - The detail provided depends on the specific event; for example, for a package event, this is the package name; for an errata event, this is the advisory name and synopsis; for a config file event, this is the path and optional revision information
          • string result - The result (if included) depends on the specific event; for example, for a package or errata event, no result is included; for a config file event, the result might include an error (if one occurred, such as the file was missing); in the case of a config file comparison, it might include the differenes found
Available since: 10.8