Back to Opsview FAQ

Internal documentation only

This page has been marked as draft.

Show Total Disk Size in Windows Drive Service Check (ShowAll)

How to display the total disk size in nsc_checkdrivesize service checks within the Status Information section. Note that the total size will not be reflected in the graph.

-H $HOSTADDRESS$ -c nsc_checkdrivesize -a 'Drive=%WINDOWS_DRIVE%: %WINDOWS_DRIVE:1%' -C '%NRPE_CERTIFICATES:1%' -k '%NRPE_CERTIFICATES:2%' -r '%NRPE_CERTIFICATES:3%' -y '%NRPE_CIPHERS:1%'
OK: All drives within bounds.|'C: %'=36%;0;7 'C:'=48342548480B;0;5235424337;0;74791776256
-H $HOSTADDRESS$ -c nsc_checkdrivesize -a 'ShowAll=long Drive=%WINDOWS_DRIVE%: %WINDOWS_DRIVE:1%' -C '%NRPE_CERTIFICATES:1%' -k '%NRPE_CERTIFICATES:2%' -r '%NRPE_CERTIFICATES:3%' -y '%NRPE_CIPHERS:1%
OK: C:: Total: 69.7G - Used: 45G (64%) - Free: 24.6G (36%)|'C: %'=36%;0;7 'C:'=48347365376B;0;5235424337;0;74791776256
["Geneos"] ["FAQ"]

Was this topic helpful?