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

5.4. Deploying Agent Plug-ins


Agent plug-in files are stored in the agentInstallDir/rhq-agent/plugins/ directory. Agent plug-ins are deployed by uploading them to the JBoss ON server, and the JBoss ON servers distribute them to the agents. As with server-side plug-ins, agent plug-ins can be deployed to a local JBoss ON server or through the JBoss ON UI.
Agent plug-ins are loaded when the agent starts. When a new agent plug-in is added, the agent can be restarted or a manual plug-in load operation launched.

5.4.1. Remotely Deploying Agent Plug-ins

  1. In the top menu, click the Administration tab.
  2. In the Configuration box on the left navigation bar, click the Agent Plugins link.
  3. Scroll to the Upload Plugin section at the bottom of the page.
  4. Click the Browse... button, and browse to the plug-in JAR file's location.
  5. When the plug-in to be deployed is listed in the box, click the Upload button.
  6. Once you have finished uploading agent plug-ins, use the Scan For Updates button. The update process may take several minutes depending on the size and number of resource types defined by the added plug-ins.
  7. To deploy the plug-in updates to the agents within the system, use the Update Plugins On Agents button.
    Note
    The plug-in can also be deployed by restarting each RHQ Agent or by invoking the Update All Plugins resource operation for each RHQ Agent resource:
    • Select main Inventory tab,
    • select the All Resources option from the Resources menu on the left,
    • select the name of the relevant agent,
    • create a schedule under the Operations tab.

5.4.2. Locally Deploying Agent Plug-ins

Each server installation has a top-level plugins/ directory. The server periodically polls this directory. Any new or updated JAR files are copied to the appropriate directory in the server configuration, and then the original JAR file is deleted from the plugins/ directory.
If the JAR file is on the same host machine as an JBoss ON server, the JAR file can just be copied into that sourceRoot/plugins/ directory and the server will deploy it.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat