What are Rulebooks used for in the new Universal Agent as it relates to AppDynamics?

  • Questions
  • What are Rulebooks used for in the new Universal Agent as it relates to AppDynamics?
Question ID: 107639
0
0

I am not sure I understand what a Rulebook is and how it works.

Marked as spam
Posted by (Questions: 89, Answers: 0)
Asked on May 1, 2017 1:52 pm
3 views
Answers (1)
0
Private answer

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'': ''''
}

Marked as spam
Posted by (Questions: 0, Answers: 89)
Answered on May 1, 2017 2:15 pm