File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -557,6 +557,13 @@ register tier_get Retrieve Tier Information by Tier Name
557557describe tier_get << EOF
558558Retrieve Tier Information by Tier Name. Provide the application and the tier as parameters
559559EOF
560+ function tier_nodes {
561+ apiCall -X GET " /controller/rest/applications/\$ {a}/tiers/\$ {t}/nodes" " $@ "
562+ }
563+ register tier_nodes" Retrieve Node Information for All Nodes in a Tier"
564+ describe tier_nodes << EOF
565+ Retrieve Node Information for All Nodes in a Tier. Provide the application and the tier as parameters
566+ EOF
560567function metric_list {
561568 local APPLICATION=${CONFIG_CONTROLLER_DEFAULT_APPLICATION}
562569 local METRIC_PATH=" "
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ function tier_nodes {
4+ apiCall -X GET " /controller/rest/applications/\$ {a}/tiers/\$ {t}/nodes" " $@ "
5+ }
6+
7+ register tier_nodes" Retrieve Node Information for All Nodes in a Tier"
8+
9+ describe tier_nodes << EOF
10+ Retrieve Node Information for All Nodes in a Tier. Provide the application and the tier as parameters
11+ EOF
Original file line number Diff line number Diff line change 11#! /bin/bash
2-
32USER_CONFIG=" $HOME /.appdynamics/adc/config.sh"
43GLOBAL_CONFIG=" /etc/appdynamics/adc/config.sh"
54
@@ -64,6 +63,7 @@ source ./commands/bt/list.sh
6463
6564source ./commands/tier/list.sh
6665source ./commands/tier/get.sh
66+ source ./commands/tier/nodes.sh
6767
6868source ./commands/metric/list.sh
6969source ./commands/metric/get.sh
You can’t perform that action at this time.
0 commit comments