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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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