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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...