appd get-nodes
Get all nodes in a business application
Description
Get node information for all nodes in a business application
Synopsis
Arguments
site
- (string)
Site where this command will be executed
Example: --site "site-1"
Default: input.site
Attributes: optional
cluster
- (string)
Name of elastic search cluster
Example: --cluster "appdynamics-default"
Default: appdynamics-default
Attributes: optional
application
- (string)
application name or ID
Example: "app-1"
Default: _None_
Attributes: required
node
- (string)
node name or ID
Example: --node "node-1"
Default: _None_
Attributes: optional
tier
- (string)
tier name or ID
Example: --tier "tier-1"
Default: _None_
Attributes: optional
Examples
Input:
Output:[
{
"appAgentVersion": "21.4.0.0 compatible with 4.4.1.0",
"machineAgentVersion": "",
"agentType": "NODEJS_APP_AGENT",
"type": "Other",
"machineName": "ac0015dd9de4",
"appAgentPresent": true,
"nodeUniqueLocalId": "",
"machineId": 86338,
"machineOSType": "Linux",
"tierId": 939705,
"tierName": "ratings",
"machineAgentPresent": false,
"name": "ratings-v1-0",
"ipAddresses": null,
"id": 919391
},
{
"appAgentVersion": "21.4.0.0 compatible with 4.4.1.0",
"machineAgentVersion": "",
"agentType": "NODEJS_APP_AGENT",
"type": "Other",
"machineName": "3105e31e1b26",
"appAgentPresent": true,
"nodeUniqueLocalId": "",
"machineId": 85825,
"machineOSType": "Linux",
"tierId": 939705,
"tierName": "ratings",
"machineAgentPresent": false,
"name": "ratings-v1-0",
"ipAddresses": null,
"id": 919393
}
]
ID NAME TYPE TIER MACHINE-NAME MACHINE-OS MACHINE-AGT-VERSION APP-AGT-VERSION AGENT-TYPE
919391 ratings-v1-0 Other ratings ac0015dd9de4 Linux 21.4.0.0 compatible with 4.4.1.0 NODEJS_APP_AGENT
919393 ratings-v1-0 Other ratings 3105e31e1b26 Linux 21.4.0.0 compatible with 4.4.1.0 NODEJS_APP_AGENT
919418 details-v1 Other details details-v1-84cf9665d8-wvwdz Linux 4.5.3.0 compatible with 4.4.1.0 NATIVE_SDK
ID NAME TYPE TIER MACHINE-NAME MACHINE-OS MACHINE-AGT-VERSION APP-AGT-VERSION AGENT-TYPE
919391 ratings-v1-0 Other ratings ac0015dd9de4 Linux 21.4.0.0 compatible with 4.4.1.0 NODEJS_APP_AGENT
919393 ratings-v1-0 Other ratings 3105e31e1b26 Linux 21.4.0.0 compatible with 4.4.1.0 NODEJS_APP_AGENT
Access Control
To use this command, you need access to the following:
Field | Value |
---|---|
Action | "read" |
Service Type | "appd" |
Service Instance | cluster |
Namespace | |
Object Type | "application" |
Object ID | application |
Please see Access Control for details.