Rulebooks control the version, installation type, uninstallation, and the running of the agents.
Rulebooks are JSON files and let you control all of what is stated above by simply adding the correct command to the JSON file.
Here is the syntax used for a Java runtime agent:
{
''name'': '''', #This can be whatever you want
''comments'': '''', #This is optional
''monitor'': ''java'',
''config'':
{
''version'': '''', #Controls version/upgrading
''state'': ''installed | started | attached'', #How the agent will run on node
''controller_host'': '''',
''controller_port'': '''',
''account_name'': '''',
''account_access_key'': '''',
''application_name'': '''',
''tier_name'': '''',
''node_name'': '''',#statically name the node
''node_name_prefix'': '''', #auto name the node with a prefix that you want and the controller will add a unique name.
''deploy_cmd'': '''',
''deploy_env_vars'': '''',
''do_not_deploy_cmd'': '''',
''crash_age_threshold_days'': ''''
},
''condition'': ''''
}