-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get_node_extrainfo.sh recipe doesn't return any data when using LEVEL '0' #35
Comments
Hi
This script was developed prior to the recent controller APi changes - node extra detail is now default when collecting node info.
It hasn’t been tested on a more recent controller version but, my initial check would be that the user being used has access for controller level?
…On 12 Dec 2021, 15:25 +0000, nanjum88 ***@***.***>, wrote:
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.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Hi @QuaCKeReD The user is admin with full access to the controller. I tried the list agents api , but that returns data without application name. I am still trying to develop a script thst would return similar data set as get_node_extrainfo.sh, but came across this one in recipies folder. If there's command in act.sh or recipe that pulls similar data , can you point it to me ? Thanks |
Hi
This Controller API https://docs.appdynamics.com/21.11/en/extend-appdynamics/appdynamics-apis/application-model-api#ApplicationModelAPI-RetrieveNodeInformationforAllNodesinaBusinessApplication
…On 12 Dec 2021, 16:34 +0000, nanjum88 ***@***.***>, wrote:
Hi @QuaCKeReD
The user is admin with full access to the controller.
I tried the list agents api , but that returns data without application name. I am still trying to develop a script thst would return similar data set as get_node_extrainfo.sh, but came across this one in recipies folder.
If there's command in act.sh or recipe that pulls similar data , can you point it to me ?
Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: