cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Controller (SaaS, On Premises)

How many files are present in any directory

SOLVED
Manish.Matta
Explorer

How many files are present in any directory

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

By replying you agree to the Terms and Conditions of the AppDynamics Community.
How many files are present in any directory
1 REPLY 1
Jonathan.Weng
AppDynamics Team

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