AppD Archive

How to alert if a non-instrumented Windows service goes down?

CommunityUser
Splunk Employee
Splunk Employee

How to alert if a non-instrumented Windows service goes down?

There's an .NET agent on the box, but the service is not instrumented. Is it possible to alert upon up/down of an arbitrary service?

Tags (3)
0 Karma

Angela_Lang
Path Finder

If there is a Windows Performance Counter that reports the status of the server, you could capture it as a metric and use that metric in a health rule. For example, there is a Windows Performance Counter that reports the current status of an IIS application pool:

Performance Category Name:  APP_POOL_WAS

Performance Counter Name:  Current Application Pool State

Instance Name:  The IIS Application Pool you want to monitor

Values: The possible values are 1 through 7.  3 means the app pool is up, 5 means it's down.

Someone wanting to know when an IIS app pool is down could monitor this performance counter as a metric and create a health rule that violates if the value is >4 and <6  (aka =5 - there is no equal comparison operator in health rules).

An easy way to add the performance counter is to download the Windows Performance Counter - Configuration Extension, run it, find and add the counter, then restart the AppDynamics.Agent.Coordinator service. This configuration extension can be found here:

http://community.appdynamics.com/t5/eXchange-Community-AppDynamics/Windows-Performance-Counter-Confi...

You could then create a policy when the rule violates and another when it stops violating.

0 Karma
Get Updates on the Splunk Community!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...