Infrastructure (Server, Network, Database)

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I monitor Disk space on windows machine?

Highlighted

How can I monitor Disk space on windows machine?

Hi,

 

I installed machine agents with server visibility (2 servers) & also .NET agents (20 servers), now I want to monitor my disk partitions free/used space, is this possible for .NET agent? Is this possible for machine agent with server visibility with no extra custom metrics/monitors/extensions used?

 

Document says disk partitions space used/free can be possible by basic agent, but I dont know how. Please advise.

 

https://docs.appdynamics.com/display/PRO44/Hardware+Resources+Metrics#HardwareResourcesMetrics-Diska...

 

Thanks

Sandeep

 

How can I monitor Disk space on windows machine?
2 REPLIES 2
Highlighted
AppDynamics Team

Re: How can I monitor Disk space on windows machine?

.Net Agent picks all the counters from Windows Perfmon. Based on your requirement you can further configure .Net Agent to collect additional perfmon counters.

 

This is explained in following document - https://docs.appdynamics.com/display/PRO44/Manage+Windows+Performance+Metrics

 

I think what you are looking for is "Free Megabytes" or "% Free Space" counters under "LogicalDisk" category where instance will be C:,D: etc

 

Following is an example on how <machine-agent> section of .net agents config.xml will look like below after you include these counters -

<machine-agent>
    <perf-counters>
      <perf-counter cat="LogicalDisk" name="Free Megabytes" instance="C:" />
      <perf-counter cat="LogicalDisk" name="% Free Space" instance="C:" />
<perf-counter cat="LogicalDisk" name="Free Megabytes" instance="_Total" /> <perf-counter cat="LogicalDisk" name="% Free Space" instance="_Total" /> </perf-counters>
</machine-agent>

These will show up at Controller UI at Metric Browser at following path or at Individual Node level

Application Infrastructure Performance|<Tier Name>|Custom Metrics|....

Note : You will need to restart the Agent Coordinator Service after making any edits to Config.xml.

 



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Highlighted

Re: How can I monitor Disk space on windows machine?

Hi Tripathi,

 

Thanks for the reply and for the example config. Yes, I am looking for the free space available but with out using perf counters, Is there any option for that?

 

My other requirement is, can I monitor free disk space on a server which has server visibility enable (machine-agent), without using any perf-counter/monitors/extensions?

 

Please advise

 

Thanks

Sandeep