Updating Monitoring Agents

The monitoring agents need to be updated when a new version of the target monitored system becomes available.

First, make sure the application is run in developer mode in order to make the built-in agents editable. Then add the new version to the agent definition file in config/agents/<agent-id>/agent (see the highlighted entry in the file below).

<?xml version="1.0" encoding="UTF-8"?>
<agent>
  <class>com.ixora.rms.agents.providerhost.ProviderHostAgent</class>
  <version>1.0.0</version>
  <name>agents.postgresql</name>
  <description>postgresql.description</description>

<custom>false</custom>

  <category>databases</category>
  <versions>
    <version>8.3</version>

<version>9.0</version>

  </versions>

Alternatively you can use the Agent Installer tool ("Tools" > "Agent Installer...") to add the new version.

If the agent is based on providers, see "Upgrading provider based monitoring agents". Otherwise see "Upgrading non-provider based monitoring agents". If your agent is based both on providers and on code, apply the recommendations from both documents.