Splunk AppDynamics

How can I monitor Disk space on windows machine?

CommunityUser
Splunk Employee
Splunk Employee

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

Labels (1)
0 Karma

Kartikay_Tripat
Path Finder

.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.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

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

0 Karma
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...