Prometheus custom metrics for windows network share status
# HELP windows_network_share_up windows network share status.
# TYPE windows_network_share_up gauge
windows_network_share_up{mountpoint="//example-a.file.core.windows.net/share-name-x"} 1
windows_network_share_up{mountpoint="//example-b.file.core.windows.net/share-name-y"} 1
windows exporter installed and configured to scrap text file from C:\Prometheus\custom_metrics\promfiles*.prom
- hosts: servers
roles:
- { role: iquzart.win-check-network-drive, network_drives: 'Z:\' }
MIT
Muhammed Iqbal [email protected]