此内容没有您所选择的语言版本。

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
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat