Appendix B Agents Configuration Format
N2WS allows configuring remote and local agents from the UI. See section 6.1.2.
  • The configuration in the text box needs to be in ‘INI’ format.
  • According to the section header, N2WS will pass the key-value pairs to the appropriate agents.
  • Each agent writes the set of key-value pairs it receives for a section to its configuration file and restarts to reload the configuration.
To configure agents:
  1. 1.
    Select
    Server Settings > Agents Configuration.
  2. 2.
    Write the configuration in the text box with the section header followed by its key-pair, as shown in the sample rules below.
  3. 3.
    Select Publish.
The following sample rules show how to configure relevant agents:
  • Pass configuration to all remote agents of a given policy. The following will pass the key-value max_seconds_to_wait_for_vss=100 to all remote agents that belong to the policy by the name ‘p1’:
1
[policy__p1]
2
max_seconds_to_wait_for_vss=100
Copied!
  • Pass configuration to a specific remote agent. The following will pass the key-value max_seconds_to_wait_for_vss=100 to the remote agent whose AWS instance ID is ‘agent_id ‘:
1
[agent__agent_id]
2
max_seconds_to_wait_for_vss=100
Copied!
  • Pass configuration to all remote agents. The following will pass the key-value max_seconds_to_wait_for_policy=600 to all remote agents:
1
[all_remote_agents]
2
max_seconds_to_wait_for_policy=600
Copied!
  • Pass configuration to a local agent. The following will pass the key-value max_seconds_to_wait_for_policy=600 to the local agent:
1
[local_agent]
2
max_seconds_to_wait_for_policy=600
Copied!
One or more instances of all of the above can be pasted together to the text box in the Agent Configuration screen. On Publish, N2WS iterates over all sections and passes the relevant configuration to each agent.
Last modified 5mo ago
Copy link