Splunk AppDynamics

How many files are present in any directory

Manish_Matta
New Member

Can we configure and check the number of files present in a directory on AppDynamics.

Labels (3)
0 Karma
1 Solution

Jonathan_Weng
Explorer

Hello Manish,

Thanks for posting to the AppDynamics Community.

AppDynamics does not have a predefined metric to count the number of files contained in a directory, but fortunately there is a custom extension available on the AppDynamics Exchange that can do that:

https://www.appdynamics.com/community/exchange/extension/filewatcher-monitoring-extension/

Or if that extension does not accomplish what you are seeking, it is also possible to write a shell or batch script and build a custom extension yourself. For more information on custom metrics and monitoring extensions, please refer to the following documents:

https://docs.appdynamics.com/display/PRO45/Extensions+and+Custom+Metrics
https://docs.appdynamics.com/display/PRO45/Build+a+Monitoring+Extension+Using+Scripts

Please let me know if this helps or if I have misunderstood your question.

Best regards,

Jonathan

View solution in original post

Jonathan_Weng
Explorer

Hello Manish,

Thanks for posting to the AppDynamics Community.

AppDynamics does not have a predefined metric to count the number of files contained in a directory, but fortunately there is a custom extension available on the AppDynamics Exchange that can do that:

https://www.appdynamics.com/community/exchange/extension/filewatcher-monitoring-extension/

Or if that extension does not accomplish what you are seeking, it is also possible to write a shell or batch script and build a custom extension yourself. For more information on custom metrics and monitoring extensions, please refer to the following documents:

https://docs.appdynamics.com/display/PRO45/Extensions+and+Custom+Metrics
https://docs.appdynamics.com/display/PRO45/Build+a+Monitoring+Extension+Using+Scripts

Please let me know if this helps or if I have misunderstood your question.

Best regards,

Jonathan

Get Updates on the Splunk Community!

Why You Can't Miss .conf25: Unleashing the Power of Agentic AI with Splunk & Cisco

The Defining Technology Movement of Our Lifetime The advent of agentic AI is arguably the defining technology ...

Deep Dive into Federated Analytics: Unlocking the Full Power of Your Security Data

In today’s complex digital landscape, security teams face increasing pressure to protect sprawling data across ...

Your summer travels continue with new course releases

Summer in the Northern hemisphere is in full swing, and is often a time to travel and explore. If your summer ...