Splunk AppDynamics

Health Rule for API down (.net)

CommunityUser
Splunk Employee
Splunk Employee

How do I configure/ what to be done to get notification on API down?

Labels (1)
0 Karma

Raunak_Mohanty
Builder

Hi Indarjit,

Depends on what qualifies as API down. We have a number of options here.

1. If we have a Health page which gets invoked periodically then that BT can be used for Health Rule (HR) creation. If there are no calls ( BT metrics not reporting) then it can be a case that APIs are down.

2. We can also create HR on App Agent availability metrics. If availability is down then one of the case could be that the Process is down so Agent is not able to report metrics. But if API is up and for some reason Agent is not able to report any metrics it will lead to a false alarm.

3. If this is IIS hosted app then you will be using an AppPool to host this application which in turn will have a IIS Worker Process (w3wp) to serve the request. We can create HR on the following metric available at Metric Browser and see if the number of w3wps is equal to 0 which will mean w3wp is not running hence won't be able to serve requests

Application Infrastructure Performance|<Tier Name>|IIS|Application Pools|<AppPool Name>|Number of working processes

4. If this is IIS hosted app then you will be using an AppPool which means you can check the status of AppPool itself. You can import the relevant Perfmon Counter using following doc and then create HR on it 

https://docs.appdynamics.com/display/PRO45/Manage+Windows+Performance+Metrics

Thanks,

Raunak

Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...