On this page:
On this page:
Define Universal Agent Rules
In a Universal Agent rulebook, a
monitor value of
universal identifies a Universal Agent rule.
The state property has the following values for the Universal Agent:
installed: The Universal Agent binaries for the specified version should be downloaded and installed.
started: The Universal Agent binaries for the specified version should be download and installed, and that this version should be running
When you install the Universal Agent, you get a default rulebook that includes a rule for the Universal Agent.
To upgrade the Universal Agent, you simply load the new version of the agent in the repository and increment the version number in the rule. When the Universal Agent detects that the rulebook specifies a different version than the version currently running, it automatically restarts itself with the new version.
Example Universal Agent Rule
The default rulebook includes a default rule for the Universal Agent, as follows:
Using Multiple Universal Agent Rules
You can have multiple Universal Agent rules in a rulebook. Each should specify a different name and a different version. Only one rule at a time can specify a state of
If multiple rules specify a state of
started, only the first one is recognized, and the other
started Universal Agent rules are ignored. As with other rules in the rulebook, Universal Agent rules are ignored if the
condition expression yields a value of