Appdynamics / Appdynamics/api-commandline-tool
get_node_extrainfo.sh recipe doesn't return any data when using LEVEL '0'
- Ngôn ngữ chính
- Shell
- Star
- 46
- Fork
- 41
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Hi @QuaCKeReD
Thanks for developing the script to extract detailed Node info. However, we've been trying to get the nodes info at controller level and running into issues, as it returns an empty data set.
https://github.com/Appdynamics/api-commandline-tool/blob/master/recipes/get_node_extrainfo.sh
`./get_node_extrainfo.sh -E saas-nonprod -L 1
ENVIRONMENT: saas-nonprod | LEVEL: 1 | APP_ID: | SOURCE: 0 | DEST: 0
appId,appName,nodeId,nodeName,tierName,machineName,machineOSType,machineAgentVersion,appAgentVersion,agentType,jvmVersion,appServerRestartDate`
Running the command with application Id returns expected data
`./get_node_extrainfo.sh -E saas-prod -A 4087
ENVIRONMENT: saas-prod | LEVEL: 0 | APP_ID: 4087 | SOURCE: 0 | DEST: 0
appId,appName,nodeId,nodeName,tierName,machineName,machineOSType,machineAgentVersion,appAgentVersion,agentType,jvmVersion,appServerRestartDate
4087,**-***,800829,10.10.119.11,JMS,***-***-***,Windows,false,Server Agent #20.10.0.31173 v20.10.0 GA compatible with 4.4.1.0 r29ff7e90931b7171bbfd8336067028701025517a release/20.10.0,APP_AGENT,"Java HotSpot(TM) 64-Bit Server VM 1.7.0_71 Oracle Corporation",1638685355644`
Masked some information for security purposes in the above output.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Bắt đầu với recipes/get_node_extrainfo.sh và tái hiện đầu ra trống bằng cách sử dụng các tùy chọn -E và -L được ghi trong tài liệu, đồng thời so sánh với lệnh gọi -A 4087 đang hoạt động. Theo dõi cách LEVEL 0 được xử lý và xác minh rằng recipe trả về dữ liệu node ở cấp controller trong khi vẫn giữ nguyên định dạng đầu ra CSV hiện có.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- shell
- Lĩnh vực
- cli
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100