Windows_Exporter: no metrics for "Network Locations" / we wish to check "disk usage"

27 views
Skip to first unread message

Jason

unread,
Jan 26, 2024, 3:32:29 AM1/26/24
to Prometheus Users
Hi

I use latest windows_Exporter

I mount SMB share with this command:

New-PSDrive -Name P -PSProvider FileSystem -Root
'\\example.org\es-DFR4-index' -Credential example\SA-45-app5 -Persist

But there is no metric about this share:

# HELP windows_logical_disk_size_bytes Total space in bytes, updates
every 10-15 min (LogicalDisk.PercentFreeSpace_Base)
# TYPE windows_logical_disk_size_bytes gauge
windows_logical_disk_size_bytes{volume="C:"} 1.07004035072e+11
windows_logical_disk_size_bytes{volume="D:"} 6.4405635072e+10
windows_logical_disk_size_bytes{volume="E:"} 2.1455962112e+10
windows_logical_disk_size_bytes{volume="HarddiskVolume1"} 3.65953024e+08
windows_logical_disk_size_bytes{volume="L:"} 2.1455962112e+10

I wish to check disk usage of this share.

How-To see metrics of "Network Locations"

Thank you and a nice day!
Jason
OpenPGP_0x0D0C34B5DF58FE9D.asc
OpenPGP_signature.asc

Jason

unread,
Jan 30, 2024, 2:08:17 PM1/30/24
to Prometheus Users
OpenPGP_0x0D0C34B5DF58FE9D.asc
OpenPGP_signature.asc
Reply all
Reply to author
Forward
0 new messages