Configuration of the agent

Advanced configuration of the monitoring agent called "cagent".

The agent is configured via its configuration file /etc/cagent/cagent.conf or C:\Program Files\cagent\cagent.conf.

You can use any text editor to open and edit this file.

Use notepad++ or notepad on modern windows. Do not use Word or any other text formatting software.

The option you can use vary from version to version. To get an overview of all possible option execute cagent -p on the command line. This print the current running configuration with all possible options.

Copy the options you want to change and insert it to the cagent.conf file.

If you want to run the agent in the minimal operation mode, insert the following line to the cagent.conf file

operation_mode = "minimal"

Any changes to the config file require a restart of the service. On Linux execute systemctl restart cagent. On Windows use the service control panel or execute on the command line.

Restart the agent
sc stop cagent
sc start cagent