Can I use Rulebooks for dynamically changing environments in AppDynamics?

  • Questions
  • Can I use Rulebooks for dynamically changing environments in AppDynamics?
Question ID: 107640
1
0

Can I use Rulebooks for dynamically changing environments in AppDynamics? I have an environment that changes things like nodes and tiers. Can I handle this in the new Rulebooks functionality?

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

Yes. The Rulebooks are very versatile and AppDynamics has made them to be able to handle dynamically changing environments.

To make a Rulebook for a dynamics environment you simply use the following sytanx:

To have the Rulebook dynamically name your node it would look like this:

''node_name'': ''$javaenv_APP_NAME-$javaenv_NODE_NAME''

Here is an excerpt of a Java Rulebook using dynamic values:

{

''name'': ''Java rule'',
''comments'': ''...comments...'',
''monitor'': ''java'',
''config'':
{
''version'': ''4.3.0.0'',
''state'': ''attached'',
''application_name'': ''$javaenv_APP_NAME'',
''tier_name'': ''${tierName}'',
''node_name'': ''$javaenv_APP_NAME-$javaenv_NODE_NAME'',
''deploy_cmd'': ''...regular expression matching Java command line...''
},
''condition'': ''...boolean expression indicating status of rule...''
}

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