Appdynamics / Appdynamics/api-commandline-tool
get_node_extrainfo.sh recipe doesn't return any data when using LEVEL '0'
还没有人认领这个 Issue。
- 主要语言
- Shell
- 星标
- 46
- 派生
- 41
- PR 合并指标
- 30 天内没有已合并 PR
描述
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.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 recipes/get_node_extrainfo.sh 开始,使用文档中说明的 -E 和 -L 选项重现空输出,并将其与正常工作的 -A 4087 调用进行比较。跟踪 LEVEL 0 的处理方式,并验证 recipe 在保留现有 CSV 输出格式的同时,能够在 controller 级别返回 node 数据。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- shell
- 领域
- cli
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100