AppD Archive

Availabilty Monitoring through AppD.

CommunityUser
Splunk Employee
Splunk Employee

Hi Guys,

Im new to AppD Environment, But i have a little knowlwdge on APM concepts.

Need your suggestions on below query as the Query is little wierd, bear with me.

Can we pull infra(Server) Availabilty report form AppD? If yes, Please elaborate the reason.

Something we are looking like below format.

ServerName Avaiabilty 
Server1 99.9
Server2 89.5

Thanks,

0 Karma

Arun_Dasetty
Super Champion

Hi,

We show such status in Node dashboard -> Agents section and appserver status screen as referred in below screenshot but we do not have direct metric that could give % of availability of the agent reporting status(we assume here if agent is avaulable and reporting jvm is up and running and given that no agent connectivity issues exists between controller and agent) 

However you could manipulate the <value> element data result from rest api retrieved from metric brower and retun using shell scipt as custom metrics as % value as follows:

- say for last 2 mts the sum of <value> element is evaluated for rest api response as 1+0 = 1 and 1/2(2 is mts) *100 = 50% is agent/server uptime 

Sample metric path referred in metric browser Infrastructure Performance|ECommerce Server|Individual Nodes|Node_8000|Agent|App|Availability

And rest api sample url for duration of data in minites http parameter and value "duration-in-mins" is 2 

http://<controllerhost>:<port>/controller/rest/applications/E-Commerce%20Demo/metric-data?metric-path=Application%20Infrastructure%20Performance%7CECommerce%20Server%7CIndividual%20Nodes%7CNode_8000%7CAgent%7CApp%7CAvailability&time-range-type=BEFORE_NOW&duration-in-mins=2&rollup=false

image.png

image.png

image.png

image.png

refer docs to send custom metrics using machine agent to controller 

https://docs.appdynamics.com/display/PRO40/Extensions+and+Custom+Metrics

https://docs.appdynamics.com/display/PRO40/Build+a+Monitoring+Extension+Using+Scripts

Let us know if that information helps.

Regards,

Arun

Tags (2)
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Arun,

Thanks for the detailed explination. However, I unerstood like we cannot drill the Availability of Bunch of servers at a time. Correct?

Thanks.

0 Karma

Arun_Dasetty
Super Champion

Hi ,

Actually we can using either appservers view from UI Or metrics browser view Or rest api with asterisk (* symbol) in URL with tier and node name with above * symbol replaced from copy rest URL of particular rest api node URL from metric browser, refer below screenshots, Hope that information helps.

 image.png

image.png

image.png

image.png

Example rest uri: /controller/rest/applications/E-Commerce%20Demo/metric-data?metric-path=Application%20Infrastructure%20Performance%7C*%7CIndividual%20Nodes%7C*%7CAgent%7CApp%7CAvailability&time-range-type=BEFORE_NOW&duration-in-mins=15

Regards,

Arun

0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...