[PDF] [PDF] Server Monitoring - AppDynamics Documentation

Determine Whether a Server is Down itself with the app agent's application, tier, and node settings If you install an App Agent for PHP on the same You should see an "up" arrow symbol for the agent in the Machine Agent Status column



Previous PDF Next PDF





[PDF] Install and Administer Agents - AppDynamics Documentation

When an App Agent is reporting to the Controller, the App Agent Status column shows a green up arrow the Controller server is down for a variety of reasons



[PDF] Server Monitoring - AppDynamics Documentation

Determine Whether a Server is Down itself with the app agent's application, tier, and node settings If you install an App Agent for PHP on the same You should see an "up" arrow symbol for the agent in the Machine Agent Status column



[PDF] 15 Minutes Introduction to AppDynamics - Karunsubramaniancom

Contents What is AppDynamics and how it can save the day? Configure the App agent; Restart the Application and start monitoring like never before From this point, you can drill down to any of the components to get deeper level metrics



[PDF] 7 Steps to Maximizing the Value of AppDynamics APM - Axity

Flow maps are visualizations generated when app agents installed on your application runtime (e g , JVM or CLR) report back to AppDynamics Those reports are 



[PDF] AppDynamics App iQ Platform AppDynamics Essentials Suite

In the AppDynamics mobile app, drill down to an application Check the status of the Universal Agent as reported to the Controller using the REST API, 



[PDF] Cisco Network Insights for Resources Application for Cisco APIC

26 juil 2020 · Before Cisco NIR app installation, Interface and Port Channel down anomaly will not be Click Edit Configuration for a list of sites, status, enable, and disable applications that are instrumented with AppDynamics agents



[PDF] APPDYNAMICS

17 fév 2020 · AppDynamics app agents need to connect to an AppDynamics Controller to A call drill down contains details for that business transaction 



[PDF] Presentation Title - Cisco Live

Web Server App Server 17 BRKCOC-2110 Deployment Status OSI Model DB Agent DevOps DB Profiler (home grown) AppDynamics App Agent LT App Under Drilling down into a unique occurrence of a Business Transaction



[PDF] Installing and Configuring Oracle Application - Oracle Help Center

Drill down to related logs in context of a problem and find its root cause As the APM Java Agent starts monitoring traffic, it logs short status information in between apm agents with an assigned hostname and app server listen ports 3 Modify the such as Microsoft Monitoring Agent, AppDynamics, New Relic, etc

[PDF] appdynamics architecture diagram

[PDF] appdynamics bangalore interview questions

[PDF] appdynamics baseline

[PDF] appdynamics basic interview questions

[PDF] appdynamics basics

[PDF] appdynamics certification dumps

[PDF] appdynamics certification exam

[PDF] appdynamics certification sample questions

[PDF] appdynamics certified associate performance analyst exam #4 pfa 100

[PDF] appdynamics certified associate performance analyst exam cost

[PDF] appdynamics certified implementation professional

[PDF] appdynamics certified implementation professional dumps

[PDF] appdynamics certified implementation professional exam

[PDF] appdynamics certified performance analyst

[PDF] appdynamics cloud

Page 1

Server Monitoring

AppDynamics Pro Documentation

Version 4.0.x

Page 2

Server Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

Standalone Machine Agent Requirements and Supported Environments . . . . . . . . . . . . 3

Standalone Machine Agent Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

Quick Install for the Standalone Machine Agent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

Install the Standalone Machine Agent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

Standalone Machine Agent Configuration Properties . . . . . . . . . . . . . . . . . . . . . . . . . 10

Install the Standalone Machine Agent as a Windows Service . . . . . . . . . . . . . . . . . . 16

Deploy Multiple Standalone Machine Agents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

Configure Multiple Standalone Machine Agents for One Machine for Java . . . . . . . . 20

Resolve Installation Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

Start the Standalone Machine Agent Automatically on Linux . . . . . . . . . . . . . . . . . . . 23 Start the Standalone Machine Agent Automatically on Windows . . . . . . . . . . . . . . . . 24 Associate Standalone Machine Agents with Applications . . . . . . . . . . . . . . . . . . . . . 25

Metrics Collected by the Standalone Machine Agent . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

Configure Metrics for Virtual Disks and External Network Traffic . . . . . . . . . . . . . . . . 27

Limit Disk Backup Metrics Collection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28

Configure Custom Metrics for the z-OS Machine Agent . . . . . . . . . . . . . . . . . . . . . . . 29

Extensions and Custom Metrics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

Build a Monitoring Extension Using Scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

Build a Monitoring Extension Using Java . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42

Standalone Machine Agent HTTP Listener . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47

JVM Crash Guard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48

Remediation Scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52

Administer the Standalone Machine Agent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55

Upgrade the Standalone Machine Agent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55

Determine Whether a Server is Down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56

Controller Settings for Machine and Database Agents . . . . . . . . . . . . . . . . . . . . . . . . 57

Machine Agent FAQ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59

Copyright © AppDynamics 2012-2015Page 3

Server Monitoring

Related pages:

Install the Standalone Machine Agent

Standalone Machine Agent Architecture

Metrics Collected by the Standalone Machine Agent

Machine Agent FAQ

Watch the video:

Standalone Machine Agent: An Overview

The Standalone Machine Agent is a standalone Java program that collects hardware-related performance statistics from your servers. It can be deployed on any machine that hosts application servers, database servers, messaging servers, Web servers, etc. It has an extensible architecture.

Use the Standalone Machine Agent to:

Collect basic metrics from the operating system that display in the Hardware tabs of the Node Dashboard.

Report the metrics passed in by .custom monitors

Run for policy actions. remediation scripts

Run .JVM Crash Guard

Standalone Machine Agent Requirements and Supported

Environments

On this page:

Supported Platform Matrix for the Standalone Machine Agent

Hardware Requirements

JVM Memory Requirements

CPU Consumption

Supported Platform Matrix for the Standalone Machine Agent The Standalone Machine Agent provides platform-level metrics. It has a default built-in plugin for hardware monitoring. See .Install the Standalone Machine Agent

JVM Requirements for the Standalone Machine Agent

The Standalone Machine Agent runs on a Java Virtual Machine. JVMs versions 1.5 and higher are supported for most installations. If you are using AppDynamics Application Analytics, JVM 1.7 is required.

Copyright © AppDynamics 2012-2015Page 4

The Standalone Machine Agent should work with most, if not all the JVMs supported by the Java ; however, the Standalone Machine Agent is only extensively tested with and fully supportedAgent on Oracle JDK and OpenJDK. Supported Platforms for Default Hardware Monitor Plugin

Operating

System

ArchitectureVersions

Linuxx862.2, 2.4, 2.6 kernels

Linuxamd642.6 kernel

Linuxppc2.6 kernel

Linuxppc642.6 kernel

Linuxia642.6 kernel

Linuxs3902.6 kernel

Linuxs390x2.6 kernel

SolarisSparc-322.6, 7, 8, 9, 10

SolarisSparc-642.6, 7, 8, 9, 10

Solarisx868, 9, 10

Solarisx648, 9, 10

AIXppc4.3, 5.1, 5.2, 5.3, 6.1

AIXppc645.2,5.3,6.1

HP-UXPA-RISC11

HP-UXia6411

FreeBSDx864.x

FreeBSDx865.x, 6.x

FreeBSDx646.x

FreeBSDx86,x647.x,8.x

OpenBSDx864.x,5.x

NetBSDx863.1

Mac OS XPowerPC10.3, 10.4

Copyright © AppDynamics 2012-2015Page 5

Mac OS Xx8610.4, 10.5, 10.6

Mac OS Xx6410.5, 10.6

Windowsx86NT 4.0, 2000 Pro/Server, 2003 Server, XP, Vista, 2008

Server, 7

Windowsx642003 Server, Vista, 2008 Server, 7

The following Linux distributions have been certified:

DistributionVersions

Red Hat6.2, 7.3, 8.0, 9.0

RHEL3, 4, 5, 6

CentOS3, 4, 5

Fedora2, 3, 4, 5, 6, 7, 8, 9, 10

SuSE8, 9, 10, 11

Ubuntu6.06, 8.04, 8.10, 9.04

Debian2.6, 3.0, 3.1, 3.2, 4.0, 5.0

VMware ESX2.x, 3.0

XenServer3.1, 3.2, 4.0, 4.1, 5.0

Slackware10, 11

Mandrake10

Scientific Linux5

Gentoo

If you are using a 64-bit Operating System, use only a 64-bit Java Runtime EnvironmentNote: (JRE).

Hardware Requirements

Agent: 1 additional GB of Ram

Controller: Although we recommend that the AppDynamics Controller be installed on a dedicated server, in some cases the Standalone Machine Agent can co-exist with the Controller on the same system. A Controller with more than 250 nodes must run on a dedicated machine.

Copyright © AppDynamics 2012-2015Page 6

JVM Memory Requirements

While relatively lightweight, the Standalone Machine Agent adds a certain amount of overhead to the overall resource consumption of your computer. AppDynamics recommends allocating the following amounts of additional Heap and PermGen space to accommodate the agent:

Maximum heap size (-Xmx): 100 MB

Maximum PermGen (permanent generation) heap size (-XX:MaxPermSize): 20 MB The exact CPU or memory overhead added by the agent can vary depending on the extensions used and whether the extensions are Java or otherwise. Java extensions would need more heap space; the amount required depends on how the extension is coded. The Standalone Machine Agent can run in very little memory, but if you start loading additional extensions, allocate more heap space 256MB or 512MB just to be safe. Monitor the memory consumption of the agent to ensure that there are sufficient resource allocated to it. You may want to enable Garbage Collection logging on the JVM to tune the heap size for the extensions being used.

CPU Consumption

In terms of CPU consumption, the agent can add anywhere from 0% to 2% additional overhead on CPU usage, depending on how the extensions are coded and how many extensions are running.

Standalone Machine Agent Architecture

Copyright © AppDynamics 2012-2015Page 7

1. 2. 3. 4. 5.

Quick Install for the Standalone Machine Agent

Related pages:

AppDynamics Essentials

Standalone Machine Agent Configuration Properties

Watch the video:

Getting Started with the Standalone Machine Agent

If you downloaded the agent from the AppDynamics download zone, see Install the Standalone

Machine Agent.

Confirm you have access to an AppDynamics Controller: If you use a SaaS controller, AppDynamics sent you the Controller URL and port number in your Welcome Email. If you use the on-premise Controller, you supplied the host and port when you installed the Controller. Log on to the Controller and click the Agent Download Wizard tab.

Click Standalone Machine Agent, then click Next.

The Controller Location URL window displays the connection info for the Controller as detected by the download wizard. Confirm and click .Next (Optional) Click SSL to enable SSL encryption between the agent and the Controller. Enter

Copyright © AppDynamics 2012-2015Page 8

5. 6. 7. 8. 9. 1. 2. 3. 4. 5. the SSL port. For AppDynamics SaaS, the SSL port is 443. Log on as an administrator to the machine. Unzip the MachineAgent.zip file. For example, to unzip the agent on Linux. This is the agent installation directory, : unzip MachineAgent.zip -d /opt/appdynamics/

Launch the Standalone Machine Agent.

java -jar /machineagent.jar

You're ready to begin monitoring.

Log on to the Controller to see your application in action. From here, you can install more agents or you can begin monitoring your application.

Install the Standalone Machine Agent

Related pages:

Standalone Machine Agent Configuration Properties

Associate Standalone Machine Agents with Applications

Installing the Machine Agent on a PHP Node

Watch the video:

Getting Started with the Standalone Machine Agent

Ensure you have 1.5 or later installed on the machine. Java 1.7 is required if you wantJava to use AppDynamics Analytics. Shut down the before you install. Standalone Machine Agent processA machine can have Standalone Machine Agent only one active installation at a time. the Standalone Machine Agent installation Downloadzip file. Extract the zip file to the destination directory. Do not use spaces in the destination directory path. For Windows environments, unblock the zip file before you extract it as follows: right-click on the zip file, select Properties, and choose unblock. Configure how the agent connects to the Controller. Configure properties for the Controller host name and port number using either the /conf/controller-info.xml file or by adding system properties to the JVM startup script file. Configure using controller-info.xml: : Configure using System Properties-Dappdynamics.controller.hostName : YesRequired : NoneDefault

Copyright © AppDynamics 2012-2015Page 9

5. 6. 7. Configure using controller-info.xml: : Configure using System Properties-Dappdynamics.controller.port : YesRequired : For On-premise Controller installations: PDefaultort 8090 for HTTP and 8181 for

HTTPS communication.

For SaaS Controller service: Port 80 for HTTP and port 443 for HTTPS communication. If you start a Standalone Machine Agent on a machine that already has a Java Agent or the PHP Agent installed, the Standalone Machine Agent will automatically associate itself with the app agent's application, tier, and node settings. If you install an App Agent for PHP on the same machine as the Standalone Machine Agent, install the App Agent before the Standalone Machine Agent, and do not specify the tier and node in the machine agent configuration. To configure agent to use SSL see .Enable SSL for Communicating with the Controller To configure the agent to use proxy settings see .Proxy Settings for the Controller (For or only.) Configure the agent account information.Multi-tenant modeSaaS installations Specify the properties for Account Name and Account Key as provided in the welcome email sent by AppDynamics Support Team. Configure using controller-info.xml: Configure using System Properties:-Dappdynamics.agent.accountName Configure using controller-info.xml: : -Dappdynamics.controller.hostName Configure using System Properties Configure the business application, tier, and node. If an App Agent is installed on the same machine, AppDynamics automatically makes the association. If no App Agent is installed on the same machine, specify the application, tier, and node name where you want the metrics to appear. Edit the agent /conf/controller-info.xml file and specify the following elements: Configure using controller-info.xml: Configure using System Properties:-Dappdynamics.agent.applicationName

Configure using controller-info.xml:

Configure using System Properties:-Dappdynamics.agent.tierName

Configure using controller-info.xml:

Configure using System Properties:-Dappdynamics.agent.nodeName If you do not provide configuration details the Standalone Machine Agent will not be associated with a business application. You can manually associate the agent in the UI

Copyright © AppDynamics 2012-2015Page 10

7. 8. 9. 10. 11. at a later time. See .Associate Standalone Machine Agents with Applications (Optional) Configure the agent to run automatically when the machine starts on or LinuxWin .dows

Start the agent.

In a command line console, execute the following command to start the Standalone

Machine Agent:

java -Xmx32m -jar machineagent.jar Alternatively, in a Linux environment, you can execute the following command in the background: nohup java -Xmx32m -jar machineagent.jar & Note: The agent requires read, write, and delete permission to the \conf and \logs directories. Depending on the version of unix and whether you're using the , the agent may requireSigar or shell script version of the OS monitor elevated privileges in order to make some system calls to collect metrics. If your application uses a large number of AppDynamics extensions with the Standalone Machine Agent, you may need to increase the size of the memory allocation as follows: java -Xms64m -Xmx64m -jar machineagent.jar &

Verify the agent installation.

Open the /logs/machine-agent.log file. If successful, this file should contain the following message:

Started AppDynamics Machine Agent Successfully

This message is also printed on the STDOUT of the process. Verify that the agent is reporting to the Controller on the Tier Dashboard. You should see an "up" arrow symbol for the agent in the Machine Agent Status column.

Standalone Machine Agent Configuration Properties

On this page:

Copyright © AppDynamics 2012-2015Page 11

Where to Configure Standalone Machine

Agent Properties

Example Machine Agent controller-info.xml File

Example Startup Configuration Using System Properties

Standalone Machine Agent Properties

Related pages:

Machine Agent FAQ

Where to Configure Standalone Machine Agent Properties You can configure Standalone Machine Agent properties: in the controller-info.xml file located in the /conf directory in the system properties (-D options) section in the JVM start-up script: java -D -jar /machineagent.jar The system properties override the settings in the controller-info.xml file. Note that the system properties are case-sensitive.

Example Machine Agent controller-info.xml File

8090 Example Startup Configuration Using System Properties

Copyright © AppDynamics 2012-2015Page 12

A bash example. Note that the system properties are case-sensitive. -Dappdynamics.controller.port=8090 -Dappdynamics.agent.tierName=Inventory -Dappdynamics.agent.nodeName=inventory1 org.tomcat.TomcatServer

Standalone Machine Agent Properties

This section describes the Standalone Machine Agentconfiguration properties, including their controller-info-xml elements and their system property options.

Agent-Controller Communication Properties

Controller Host Property

Description: This is the host name or the IP address of the AppDynamics Controller, e.g.

192.168.1.22 or myhost or myhost.abc.com. This is the same host that you use to access the

AppDynamics browser-based user interface.

Element in controller-info.xml: System Property: -Dappdynamics.controller.hostName

Type: String

Default: None

Required: if the Enable Orchestration property is false. If Enable Orchestration is true, and if the agent is deployed in a compute cloud instance created by an AppDynamics workflow, do not set the Controller host unless you want to override the auto-detected value. See .Enable Orchestration Property

Controller Port Property

Description: This is the HTTP(S) port of the AppDynamics Controller. This is the same port that you use to access the AppDynamics browser-based user interface. If the Controller SSL Enabled property is set to true, specify the HTTPS port of the Controller; otherwise specify the HTTP port.

See .Controller SSL Enabled Property

Element in controller-info.xml:

System Property: -Dappdynamics.controller.port

Type: Positive Integer

Default: For On-premise installations, port 8090 for HTTP and port 8181 for HTTPS are the defaults. .For the SaaS Controller Service, port 80 for HTTP and port 443 for HTTPS are the defaults Required: Yes, if the Enable Orchestration property is false. If Enable Orchestration is true, and if the agent is deployed in a compute cloud instance created by an AppDynamics workflow, do not set the Controller port unless you want to override the

Copyright © AppDynamics 2012-2015Page 13

auto-detected value. See .Enable Orchestration Property Standalone Machine Agent Identification Properties If the Standalone Machine Agent is installed on a machine that does not have an App Server agent, configure the application name, tier name and the node name. Otherwise these configurations are not required for the Standalone Machine Agent.

Account Access Key Property

Description: This is the account access key used to authenticate with the Controller. Element in controller-info.xml: System Property: -Dappdynamics.agent.accountAccessKey

Type: String

Default: None

Required: Yes.

Application Name Property

Description: This is the name of the logical business application that this JVM node belongs to. Note that this is not the deployment name(ear/war/jar) on the application server. If a business application of the configured name does not exist, it is created automatically. Element in controller-info.xml: System Property: -Dappdynamics.agent.applicationName

Type: String

Defaults: None

Required: If a registered app server agent is already installed on the same host as this machine agent, this configuration is not required.

Tier Name Property

Description: This is the name of the logical tier that this JVM node belongs to. Note that this is not the deployment name (ear/war/jar) on the application server. If a tier of the configured name does not exist, it is created automatically.

Element in controller-info.xml:

System Property: -Dappdynamics.agent.tierName

Type: String

Defaults: None

Required: If a registered app server agent is already installed on the same host as this machine agent, this configuration is not required.

Node Name Property

Copyright © AppDynamics 2012-2015Page 14

Description: This is the name of the JVM node.

Element in controller-info.xml:

System Property: -Dappdynamics.agent.nodeName

Type: String

Defaults: None

Required: If a registered app server agent is already installed on the same host as this Standalone Machine Agent, this configuration is not required.

Multi-Tenant Mode Properties

If the AppDynamics Controller is running in multi-tenant mode or if you are using the AppDynamics SaaS Controller, specify the account name and account access key for this agent to authenticate with the Controller. If the Controller is running in single-tenant mode (the default) there is no need to configure these values. When the agent is registered with an AppDynamics SaaS Controller, features used to run Remedi ation Scripts If you later reconfigure the agent controller-info.xml to register with aare disabled non-SaaS or on-premise Controller, the agent can run local scripts as usual.

Account Name Property

Description: This is the account name used to authenticate with the Controller. If you are using the AppDynamics SaaS Controller, the Account Name is provided in the Welcome email sent by AppDynamics.

Element in controller-info.xml:

System Property: -Dappdynamics.agent.accountName

Type: String

Default: None

Required: Yes for AppDynamics SaaS Controller and other multi-tenant users; no for single-tenant users.

Proxy Properties for the Controller

These properties route data to the Controller through a proxy.

Proxy Host Property

Description: This is the proxy host name or IP address.

Element in controller-info.xml: Not applicable

System Property: -Dappdynamics.http.proxyHost

Type: String

Default: None

Copyright © AppDynamics 2012-2015Page 15

Required No

Proxy Port Property

Description: This is the proxy HTTP(S) port.

Element in controller-info.xml: Not applicable

System Property: -Dappdynamics.http.proxyPort

Type: Positive Integer

Default: None

Required: No

Other Properties

Controller SSL Enabled Property

Description: This property specifies whether the agent should use SSL (HTTPS) to connect to the Controller. If SSL Enabled is true, set the Controller Port property to the HTTPS port of the

Controller. See .Controller Port Property

Element in controller-info.xml: System Property: -Dappdynamics.controller.ssl.enabled

Type: Boolean

Default: False

Required: No

Enable Orchestration Property

Description: When set to true, this property enables Standalone Machine Agent workflow task execution. It also enables auto-detection of the controller host and port when the app server is a compute cloud instance created by an AppDynamics orchestration workflow. In a cloud compute environment, auto-detection is necessary for the Create Machine tasks in the workflow to run correctly. See and .Controller Host PropertyController Port Property The machine agent polls for task executions only when orchestration is enabled. If the host machine on which this agent resides is not created through AppDynamics workflow orchestration, this property should be set to false. Element in controller-info.xml:

System Property: Not applicable

Type: Boolean

Default: False

Copyright © AppDynamics 2012-2015Page 16

Required: No

Force Agent Registration Property

Description: Set to true only under the following conditions: The agent has been moved to a new application and/or tier from the UI and You want to override that move by specifying a new application name and/or tier name in the agent configuration. If there is already a registered app server agent installed on the same host as this machine agent, this override does not work. If you want to override the UI in this case, you must force the agent registration change from the app server agent configuration. Element in controller-info.xml:

System Property: Not applicable

Type: Boolean

Default: False

Required: No

Unique Host ID Property

Description: This property logically partitions a single physical host or virtual machine. You can use the unique host id when you want to use the same node name for multiple nodes on the same physical machine. Set the value to a string that is unique across the entire managed infrastructure. The string may not contain any spaces. If this property is set on the Standalone Machine Agent, it must be set on the app agent as well. Note that if more than one app agent is running on the host, to see machine agent metrics it is necessary to run a new Standalone Machine Agent instance every time you specify a different unique host id on that host.

Element in controller-info.xml: Not applicable

System Property: -Dappdynamics.agent.uniqueHostId

Type: String

Default: None

quotesdbs_dbs10.pdfusesText_16