{"id":843,"date":"2017-11-09T12:12:01","date_gmt":"2017-11-09T18:12:01","guid":{"rendered":"http:\/\/www.thedarktimes.us\/wordpress\/?p=843"},"modified":"2017-11-09T12:12:01","modified_gmt":"2017-11-09T18:12:01","slug":"nagios-disk-usage","status":"publish","type":"post","link":"https:\/\/www.thedarktimes.us\/wordpress\/uncategorized\/nagios-disk-usage\/%20","title":{"rendered":"Nagios Disk Usage"},"content":{"rendered":"<h3 id=\"sites-page-title-header\" align=\"left\"><span id=\"sites-page-title\" dir=\"ltr\" tabindex=\"-1\">Disk Usage<\/span><\/h3>\n<div id=\"sites-canvas-main\" class=\"sites-canvas-main\">\n<div id=\"sites-canvas-main-content\">\n<table class=\"sites-layout-name-one-column sites-layout-hbox\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td class=\"sites-layout-tile sites-tile-name-content-1\">\n<div dir=\"ltr\">\n<div>\n<h4><a name=\"TOC-Disk-Free-Space---Specific-Drive\"><\/a>Disk Free Space &#8211; Specific Drive<\/h4>\n<h3><a name=\"TOC-Specific-Amount\"><\/a>Specific Amount<\/h3>\n<p>Check the Disk Free Space for C: drive. Warning alert at 10GB free space and critical alert at 5GB free space.<\/p>\n<p><b>NSClient++ 0.3.9<\/b><br \/>\n<i>No additional configuration is required.<\/i> <b>NOTE: <\/b>Refer to Known Issues at the bottom of this page.<\/div>\n<div><\/div>\n<div>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize -a ShowAll MinWarn=10G MinCrit=5G Drive=C:<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:: 11.5G|'C: %'=81%;83;91 'C:'=11.51G;10;5;0;59<\/code><\/p>\n<p><b>NSClient++ 0.4.1<\/b><br \/>\n<i>No additional configuration is required<br \/>\n<\/i>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize -a ShowAll MinWarn=10G MinCrit=5G Drive=C: perf-unit=G<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:: 11.5G|'C: %'=81%;83;91 'C:'=11.51G;10;5;0;59<br \/>\n<\/code><br \/>\n<b>NSClient++ 0.4.3.131 onwards<\/b><br \/>\n<i>No additional configuration is required<br \/>\n<\/i>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c check_drivesize -a drive=C:<br \/>\n 'warning=free&lt;10G' 'critical=free&lt;5G' show-all<br \/>\n'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${free} free \/<br \/>\n${size} total}' top-syntax='${status}: ${problem_list}'<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: {C: 40.361GB free \/ 59.9GB total}|'C: free'=40.36125G;10;5;0;59.90038 'C: free %'=67%;16;8;0;100<br \/>\n<\/code><\/div>\n<div>\n<h3><a name=\"TOC-Percentage\"><\/a>Percentage<\/h3>\n<p>Check the Disk Free Space for C: drive. Warning alert at 20% free space and critical alert at 10% free space.<\/p>\n<p><b>NSClient++ 0.3.9<\/b><br \/>\n<i>No additional configuration is required<br \/>\n<\/i>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize -a ShowAll MinWarn=20% MinCrit=10% Drive=C:<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:: 11.5G|'C: %'=81%;20;10 'C:'=11.51G;11.9;5.9;0;59<\/code><\/p>\n<p><b>NSClient++ 0.4.1<\/b><br \/>\n<i>No additional configuration is required<br \/>\n<\/i>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize -a ShowAll MinWarn=20% MinCrit=10% Drive=C: perf-unit=G<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:: 11.5G|'C: %'=81%;20;10 'C:'=11.51G;11.9;5.9;0;59<br \/>\n<\/code><\/div>\n<div>\n<b>NSClient++ 0.4.3.131 onwards<\/b><br \/>\n<i>No additional configuration is required<br \/>\n<\/i>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c check_drivesize -a drive=C:<br \/>\n 'warning=free&lt;20%' 'critical=free&lt;10%' show-all<br \/>\n'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${free_pct}%<br \/>\nfree \/ ${size} total}' top-syntax='${status}: ${problem_list}'<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: {C: 67% free \/ 59.9GB total}|'C: free'=40.36123G;11.98007;5.99003;0;59.90038 'C: free %'=67%;19;9;0;100<br \/>\n<\/code><b><\/p>\n<p>NOTE:<\/b> Multiple drives can be specified in the format <code>Drive=C: Drive=J: Drive=Z:<\/code><\/p>\n<\/div>\n<div>\n<div>\n<h4><a name=\"TOC-Disk-Free-Space---ALL-Drives\"><\/a>Disk Free Space &#8211; ALL Drives<\/h4>\n<h3><a name=\"TOC-Specific-Amount1\"><\/a>Specific Amount<\/h3>\n<p>Check the Disk Free Space for ALL drives. Warning alert at 10GB free space and critical alert at 5GB free space.<\/p>\n<p><b>NSClient++ 0.3.9<\/b><br \/>\n<i>No additional configuration is required.<\/i> <b>NOTE: <\/b>Refer to Known Issues at the bottom of this page.<\/div>\n<p>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize -a ShowAll MinWarn=10G MinCrit=5G CheckAll<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:\\: 11.5G, D:\\: 90.3M|'C:\\ %'=81%;83;91 'C:\\'=11.51G;10;5;0;59 'D:\\ %'=100%;49;74 'D:\\'=90.34M;10240;5120;0;20476.99<\/code><\/p>\n<p><b>NSClient++ 0.4.1<\/b><br \/>\n<i>No additional configuration is required<br \/>\n<\/i>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize -a ShowAll MinWarn=10G MinCrit=5G CheckAll perf-unit=G<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:\\: 11.5G, D:\\: 90.4M|'C:\\ %'=81%;83;91 'C:\\'=11.51G;10;5;0;59 'D:\\ %'=100%;49;74 'D:\\'=0.08G;10;5;0;19.99<\/code><\/p>\n<p><b>NSClient++ 0.4.3.131 onwards<\/b><br \/>\n<i>No additional configuration is required<br \/>\n<\/i>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c check_drivesize -a<br \/>\n'warning=free&lt;10G' 'critical=free&lt;5G' show-all<br \/>\n'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${free} free \/<br \/>\n${size} total}' top-syntax='${status}: ${problem_list}'<\/code><\/p>\n<p>Output:<br \/>\n<code>CRITICAL: critical({D:\\ 0B free \/ 0B total}, {System<br \/>\nReserved 70.797MB free \/ 99.996MB total}), {C:\\ 40.361GB free \/ 59.9GB<br \/>\ntotal}, {E:\\ 39.908GB free \/ 39.997GB total}, {Q:\\ 24.909GB free \/<br \/>\n24.997GB total}, {C:\\Mounted Disks\\A Mounted Disk\\ 17.909GB free \/<br \/>\n17.997GB total}|'C:\\ free'=40.36125G;10;5;0;59.90038 'C:\\ free<br \/>\n%'=67%;16;8;0;100 'D:\\ free'=0G;10;5;0;0 'E:\\<br \/>\nfree'=39.90819G;10;5;0;39.99706 'E:\\ free %'=99%;25;12;0;100 'Q:\\<br \/>\nfree'=24.90865G;10;5;0;24.99706 'Q:\\ free %'=99%;40;20;0;100<br \/>\n'\\\\?\\Volume{791a0772-737e-11e4-98ac-806e6f6e6963}\\<br \/>\nfree'=0.06913G;10;5;0;0.09765<br \/>\n'\\\\?\\Volume{791a0772-737e-11e4-98ac-806e6f6e6963}\\ free<br \/>\n%'=70%;10240;5120;0;100 'C:\\Mounted Disks\\A Mounted Disk\\<br \/>\nfree'=17.90887G;10;5;0;17.99706 'C:\\Mounted Disks\\A Mounted Disk\\ free<br \/>\n%'=99%;55;27;0;100<br \/>\n<\/code><\/div>\n<div>\n<b>NOTE:<\/b> as you can see, in 0.4.3.x &#8220;All drives&#8221; means things like the boot volume and optical drives. We get around this by using a filter and exclude options: <code>\"filter=type in ('fixed')\" exclude='System Reserved'<\/code><\/div>\n<div>\nCommand:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c check_drivesize -a<br \/>\n\"filter=type in ('fixed')\" exclude='System Reserved'<br \/>\n'warning=free&lt;10G' 'critical=free&lt;5G' show-all<br \/>\n'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${free} free \/<br \/>\n${size} total}' top-syntax='${status}: ${problem_list}'<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: {C:\\ 40.361GB free \/ 59.9GB total}, {E:\\ 39.908GB<br \/>\nfree \/ 39.997GB total}, {Q:\\ 24.909GB free \/ 24.997GB total},<br \/>\n{C:\\Mounted Disks\\A Mounted Disk\\ 17.909GB free \/ 17.997GB total}|'C:\\<br \/>\nfree'=40.36124G;10;5;0;59.90038 'C:\\ free %'=67%;16;8;0;100 'E:\\<br \/>\nfree'=39.90819G;10;5;0;39.99706 'E:\\ free %'=99%;25;12;0;100 'Q:\\<br \/>\nfree'=24.90865G;10;5;0;24.99706 'Q:\\ free %'=99%;40;20;0;100 'C:\\Mounted<br \/>\n Disks\\A Mounted Disk\\ free'=17.90887G;10;5;0;17.99706 'C:\\Mounted<br \/>\nDisks\\A Mounted Disk\\ free %'=99%;55;27;0;100<\/p>\n<p><\/code><\/p>\n<h3><a name=\"TOC-Percentage1\"><\/a>Percentage<\/h3>\n<p>Check the Disk Free Space for ALL drives. Warning alert at 20% free space and critical alert at 10% free space.<\/p>\n<p><b>NSClient++ 0.3.9<\/b><br \/>\n<i>No additional configuration is required<\/i><i>.<\/i> <b>NOTE: <\/b>Refer to Known Issues at the bottom of this page. Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize -a ShowAll MinWarn=20% MinCrit=10% <\/code><code>CheckAll<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:\\: 11.5G, D:\\: 90.3M|'C:\\ %'=81%;20;10 'C:\\'=11.51G;11.9;5.9;0;59 'D:\\ %'=100%;20;10 'D:\\'=90.34M;4095.39;2047;0;20476.99<\/code><\/p>\n<p><b>NSClient++ 0.4.1<\/b><br \/>\n<i>No additional configuration is required<\/i><br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize -a ShowAll MinWarn=20% MinCrit=10% <\/code><code>CheckAll perf-unit=G<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:\\: 11.5G, D:\\: 90.4M|'C:\\ %'=81%;20;10 'C:\\'=11.51G;11.9;5.9;0;59 'D:\\ %'=100%;20;10 'D:\\'=0.08G;3.99;2;0;19.99<\/code><\/p>\n<p><b>NSClient++ 0.4.3.131 onwards<\/b><br \/>\n<i>No additional configuration is required<br \/>\n<\/i>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c check_drivesize -a<br \/>\n'warning=free&lt;20%' 'critical=free&lt;10%' show-all<br \/>\n'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${free_pct}%<br \/>\nfree \/ ${size} total}' top-syntax='${status}: ${problem_list}'<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: {C:\\ 67% free \/ 59.9GB total}, {D:\\ 0% free \/ 0B<br \/>\ntotal}, {E:\\ 99% free \/ 39.997GB total}, {Q:\\ 99% free \/ 24.997GB<br \/>\ntotal}, {System Reserved 70% free \/ 99.996MB total}, {C:\\Mounted Disks\\A<br \/>\n Mounted Disk\\ 99% free \/ 17.997GB total}|'C:\\<br \/>\nfree'=40.36123G;11.98007;5.99003;0;59.90038 'C:\\ free %'=67%;19;9;0;100<br \/>\n'D:\\ free'=0G;0;0;0;0 'E:\\ free'=39.90819G;7.99941;3.9997;0;39.99706<br \/>\n'E:\\ free %'=99%;19;9;0;100 'Q:\\<br \/>\nfree'=24.90865G;4.99941;2.4997;0;24.99706 'Q:\\ free %'=99%;19;9;0;100<br \/>\n'\\\\?\\Volume{791a0772-737e-11e4-98ac-806e6f6e6963}\\<br \/>\nfree'=0.06913G;0.01953;0.00976;0;0.09765<br \/>\n'\\\\?\\Volume{791a0772-737e-11e4-98ac-806e6f6e6963}\\ free<br \/>\n%'=70%;19;9;0;100 'C:\\Mounted Disks\\A Mounted Disk\\<br \/>\nfree'=17.90887G;3.59941;1.7997;0;17.99706 'C:\\Mounted Disks\\A Mounted<br \/>\nDisk\\ free %'=99%;19;9;0;100<br \/>\n<\/code><\/p>\n<div>\n<b>NOTE:<\/b> as you can see, in 0.4.3.x &#8220;All drives&#8221; means things like the boot volume and optical drives. We get around this by using a filter and exclude options: <code>\"filter=type in ('fixed')\" exclude='System Reserved'<\/code><\/div>\n<p>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c check_drivesize -a<br \/>\n\"filter=type in ('fixed')\" exclude='System Reserved'<br \/>\n'warning=free&lt;20%' 'critical=free&lt;10%' show-all<br \/>\n'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${free_pct}%<br \/>\nfree \/ ${size} total}' top-syntax='${status}: ${problem_list}'<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: {C:\\ 67% free \/ 59.9GB total}, {E:\\ 99% free \/<br \/>\n39.997GB total}, {Q:\\ 99% free \/ 24.997GB total}, {C:\\Mounted Disks\\A<br \/>\nMounted Disk\\ 99% free \/ 17.997GB total}|'C:\\<br \/>\nfree'=40.36123G;11.98007;5.99003;0;59.90038 'C:\\ free %'=67%;19;9;0;100<br \/>\n'E:\\ free'=39.90819G;7.99941;3.9997;0;39.99706 'E:\\ free<br \/>\n%'=99%;19;9;0;100 'Q:\\ free'=24.90865G;4.99941;2.4997;0;24.99706 'Q:\\<br \/>\nfree %'=99%;19;9;0;100 'C:\\Mounted Disks\\A Mounted Disk\\<br \/>\nfree'=17.90887G;3.59941;1.7997;0;17.99706 'C:\\Mounted Disks\\A Mounted<br \/>\nDisk\\ free %'=99%;19;9;0;100<\/p>\n<p><\/code><\/div>\n<div>\n<div>\n<h4><a name=\"TOC-Disk-Free-Space---Exclude-Drive-s-\"><\/a>Disk Free Space &#8211; Exclude Drive(s)<\/h4>\n<h3><a name=\"TOC-Specific-Amount2\"><\/a>Specific Amount<\/h3>\n<p>Check the Disk Free Space for ALL drives EXCEPT the drive(s) we specify. Warning alert at 10GB free space and critical alert at 5GB free space.<\/p>\n<p><span style=\"font-size: medium;\"><b>Exclude E: Drive<\/b><\/span><br \/>\n<b>NSClient++ 0.3.9<\/b><br \/>\n<i>No additional configuration is required.<\/i> <b>NOTE: <\/b>Refer to Known Issues at the bottom of this page.<\/div>\n<div>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize ShowAll -a MinWarn=10G MinCrit=5G CheckAllOthers Drive=E:<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:\\: 12.6G, P:\\: 90.5M|'C:\\ %'=79%;99;91<br \/>\n'C:\\'=12881.03MB;1.95;1024;0;61338 'P:\\ %'=100%;99;79<br \/>\n'P:\\'=90.5MB;1.95;1024;0;25597<\/code><\/p>\n<p><b>NSClient++ 0.4.1<\/b><br \/>\n<i>No additional configuration is required<br \/>\n<\/i>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize ShowAll -a MinWarn=10G MinCrit=5G <\/code><code>CheckAllOthers Drive=E: perf-unit=G<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:\\: 12.6G, P:\\: 90.5M|'C:\\ %'=79%;100;91 'C:\\'=12.579G;0;5;0;59.9 'P:\\ %'=100%;100;79 'P:\\'=0.08799G;0;5;0;24.997<br \/>\n<\/code><br \/>\n<b>NSClient++ 0.4.3.131 onwards<\/b><br \/>\n<i>No additional configuration is required<br \/>\n<\/i>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c check_drivesize -a<br \/>\nexclude='E:\\' 'warning=free&lt;10G' 'critical=free&lt;5G' show-all<br \/>\n'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${free} free \/<br \/>\n${size} total}' top-syntax='${status}: ${problem_list}'<\/code><\/p>\n<p>Output:<br \/>\n<code>CRITICAL: critical({D:\\ 0B free \/ 0B total}, {System<br \/>\nReserved 70.797MB free \/ 99.996MB total}), {C:\\ 40.361GB free \/ 59.9GB<br \/>\ntotal}, {Q:\\ 24.909GB free \/ 24.997GB total}, {C:\\Mounted Disks\\A<br \/>\nMounted Disk\\ 17.909GB free \/ 17.997GB total}|'C:\\<br \/>\nfree'=40.36124G;10;5;0;59.90038 'C:\\ free %'=67%;16;8;0;100 'D:\\<br \/>\nfree'=0G;10;5;0;0 'Q:\\ free'=24.90865G;10;5;0;24.99706 'Q:\\ free<br \/>\n%'=99%;40;20;0;100 '\\\\?\\Volume{791a0772-737e-11e4-98ac-806e6f6e6963}\\<br \/>\nfree'=0.06913G;10;5;0;0.09765<br \/>\n'\\\\?\\Volume{791a0772-737e-11e4-98ac-806e6f6e6963}\\ free<br \/>\n%'=70%;10240;5120;0;100 'C:\\Mounted Disks\\A Mounted Disk\\<br \/>\nfree'=17.90887G;10;5;0;17.99706 'C:\\Mounted Disks\\A Mounted Disk\\ free<br \/>\n%'=99%;55;27;0;100<br \/>\n<\/code><\/p>\n<div>\n<b>NOTE:<\/b> as you can see, in 0.4.3.x &#8220;All drives&#8221; means things like the boot volume and optical drives. We get around this by using a filter and exclude options: <code>\"filter=type in ('fixed')\" exclude='System Reserved'<\/code><\/div>\n<p>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c check_drivesize -a<br \/>\n\"filter=type in ('fixed')\" exclude='System Reserved' exclude='E:\\'<br \/>\n'warning=free&lt;10G' 'critical=free&lt;5G' show-all<br \/>\n'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${free} free \/<br \/>\n${size} total}' top-syntax='${status}: ${problem_list}'<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: {C:\\ 40.361GB free \/ 59.9GB total}, {Q:\\ 24.909GB<br \/>\nfree \/ 24.997GB total}, {C:\\Mounted Disks\\A Mounted Disk\\ 17.909GB free \/<br \/>\n 17.997GB total}|'C:\\ free'=40.36124G;10;5;0;59.90038 'C:\\ free<br \/>\n%'=67%;16;8;0;100 'Q:\\ free'=24.90865G;10;5;0;24.99706 'Q:\\ free<br \/>\n%'=99%;40;20;0;100 'C:\\Mounted Disks\\A Mounted Disk\\<br \/>\nfree'=17.90887G;10;5;0;17.99706 'C:\\Mounted Disks\\A Mounted Disk\\ free<br \/>\n%'=99%;55;27;0;100<\/p>\n<p><\/code><span style=\"font-size: medium;\"><b>Exclude E: Drive AND P: Drive<\/b><\/span><br \/>\n<b>NSClient++ 0.3.9<\/b><br \/>\n<i>No additional configuration is required.<\/i> <b>NOTE: <\/b>Refer to Known Issues at the bottom of this page. Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize ShowAll -a MinWarn=10G MinCrit=5G CheckAllOthers Drive=E:<\/code> <code>Drive=P:<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:\\: 12.6G|'C:\\ %'=79%;99;91 'C:\\'=12881.03MB;3.15;1024;0;61338<\/code><\/p>\n<p><b>NSClient++ 0.4.1<\/b><br \/>\n<i>No additional configuration is required<br \/>\n<\/i>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize ShowAll <\/code><code>-a MinWarn=10G MinCrit=5G <\/code><code>CheckAllOthers Drive=E: Drive=P: perf-unit=G<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:\\: 12.6G|'C:\\ %'=79%;100;91 'C:\\'=12.579G;0;5;0;59.9<br \/>\n<\/code><br \/>\n<b>NSClient++ 0.4.3.131 onwards<\/b><br \/>\n<i>No additional configuration is required<br \/>\n<\/i>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c check_drivesize -a<br \/>\nexclude='E:\\' <\/code><code>exclude='P:\\' 'warning=free&lt;10G' 'critical=free&lt;5G' show-all 'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${free} free \/ ${size} total}' top-syntax='${status}: ${problem_list}'<\/code><\/p>\n<p>Output:<br \/>\n<code>CRITICAL: critical({D:\\ 0B free \/ 0B total}, {System<br \/>\nReserved 70.797MB free \/ 99.996MB total}), {C:\\ 40.361GB free \/ 59.9GB<br \/>\ntotal}, {Q:\\ 24.909GB free \/ 24.997GB total}, {C:\\Mounted Disks\\A<br \/>\nMounted Disk\\ 17.909GB free \/ 17.997GB total}|'C:\\<br \/>\nfree'=40.36124G;10;5;0;59.90038 'C:\\ free %'=67%;16;8;0;100 'D:\\<br \/>\nfree'=0G;10;5;0;0 'Q:\\ free'=24.90865G;10;5;0;24.99706 'Q:\\ free<br \/>\n%'=99%;40;20;0;100 '\\\\?\\Volume{791a0772-737e-11e4-98ac-806e6f6e6963}\\<br \/>\nfree'=0.06913G;10;5;0;0.09765<br \/>\n'\\\\?\\Volume{791a0772-737e-11e4-98ac-806e6f6e6963}\\ free<br \/>\n%'=70%;10240;5120;0;100 'C:\\Mounted Disks\\A Mounted Disk\\<br \/>\nfree'=17.90887G;10;5;0;17.99706 'C:\\Mounted Disks\\A Mounted Disk\\ free<br \/>\n%'=99%;55;27;0;100<br \/>\n<\/code><\/p>\n<div>\n<b>NOTE:<\/b> as you can see, in 0.4.3.x &#8220;All drives&#8221; means things like the boot volume and optical drives. We get around this by using a filter and exclude options: <code>\"filter=type in ('fixed')\" exclude='System Reserved'<\/code><\/div>\n<p>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c check_drivesize -a<br \/>\n\"filter=type in ('fixed')\" exclude='System Reserved' exclude='E:\\' <\/code><code>exclude='P:\\' 'warning=free&lt;10G' 'critical=free&lt;5G' show-all 'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${free} free \/ ${size} total}' top-syntax='${status}: ${problem_list}'<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: {C:\\ 40.361GB free \/ 59.9GB total}, {Q:\\ 24.909GB<br \/>\nfree \/ 24.997GB total}, {C:\\Mounted Disks\\A Mounted Disk\\ 17.909GB free \/<br \/>\n 17.997GB total}|'C:\\ free'=40.36124G;10;5;0;59.90038 'C:\\ free<br \/>\n%'=67%;16;8;0;100 'Q:\\ free'=24.90865G;10;5;0;24.99706 'Q:\\ free<br \/>\n%'=99%;40;20;0;100 'C:\\Mounted Disks\\A Mounted Disk\\<br \/>\nfree'=17.90887G;10;5;0;17.99706 'C:\\Mounted Disks\\A Mounted Disk\\ free<br \/>\n%'=99%;55;27;0;100<br \/>\n<\/code><\/div>\n<h3><a name=\"TOC-Percentage2\"><\/a>Percentage<\/h3>\n<p>Check the Disk Free Space for ALL drives EXCEPT the drive(s) we specify. Warning alert at 20% free space and critical alert at 10% free space.<\/p>\n<p><span style=\"font-size: medium;\"><b>Exclude E: Drive<\/b><\/span><br \/>\n<b>NSClient++ 0.3.9<\/b><br \/>\n<i>No additional configuration is required<br \/>\n<\/i>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize ShowAll <\/code><code>-a MinWarn=20% MinCrit=10% <\/code><code>CheckAllOthers Drive=E:<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:\\: 12.6G, P:\\: 90.5M|'C:\\ %'=80%;1865056;10<br \/>\n'C:\\'=12.58GB;1117175.76;5.99;0;59.9 'P:\\ %'=100%;1865056;10<br \/>\n'P:\\'=90.5MB;477398311.47;2559.7;0;25597<\/code><\/p>\n<p><b>NSClient++ 0.4.1<\/b><br \/>\n<i>No additional configuration is required<br \/>\n<\/i>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize ShowAll <\/code><code>-a MinWarn=20% MinCrit=10% <\/code><code>CheckAllOthers Drive=E: perf-unit=G<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:\\: 12.6G, P:\\: 90.5M|'C:\\ %'=80%;0;10 'C:\\'=12.576G;0;5.99;0;59.9 'P:\\ %'=100%;0;10 'P:\\'=0.08799G;0;2.5;0;24.997<br \/>\n<\/code><br \/>\n<b>NSClient++ 0.4.3.131 onwards<\/b><br \/>\n<i>No additional configuration is required<br \/>\n<\/i>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c check_drivesize -a<br \/>\n<\/code><code>exclude='E:\\' 'warning=free&lt;20%' 'critical=free&lt;10%' show-all 'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${free_pct}% free \/ ${size} total}' top-syntax='${status}: ${problem_list}'<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: {C:\\ 67% free \/ 59.9GB total}, {D:\\ 0% free \/ 0B<br \/>\ntotal}, {Q:\\ 99% free \/ 24.997GB total}, {System Reserved 70% free \/<br \/>\n99.996MB total}, {C:\\Mounted Disks\\A Mounted Disk\\ 99% free \/ 17.997GB<br \/>\ntotal}|'C:\\ free'=40.36123G;11.98007;5.99003;0;59.90038 'C:\\ free<br \/>\n%'=67%;19;9;0;100 'D:\\ free'=0G;0;0;0;0 'Q:\\<br \/>\nfree'=24.90865G;4.99941;2.4997;0;24.99706 'Q:\\ free %'=99%;19;9;0;100<br \/>\n'\\\\?\\Volume{791a0772-737e-11e4-98ac-806e6f6e6963}\\<br \/>\nfree'=0.06913G;0.01953;0.00976;0;0.09765<br \/>\n'\\\\?\\Volume{791a0772-737e-11e4-98ac-806e6f6e6963}\\ free<br \/>\n%'=70%;19;9;0;100 'C:\\Mounted Disks\\A Mounted Disk\\<br \/>\nfree'=17.90887G;3.59941;1.7997;0;17.99706 'C:\\Mounted Disks\\A Mounted<br \/>\nDisk\\ free %'=99%;19;9;0;100<br \/>\n<\/code><\/p>\n<div>\n<b>NOTE:<\/b> as you can see, in 0.4.3.x &#8220;All drives&#8221; means things like the boot volume and optical drives. We get around this by using a filter and exclude options: <code>\"filter=type in ('fixed')\" exclude='System Reserved'<\/code><\/div>\n<p>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c check_drivesize -a<br \/>\n<\/code><code>exclude='E:\\' \"filter=type in ('fixed')\" exclude='System Reserved' 'warning=free&lt;20%' 'critical=free&lt;10%' show-all 'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${free_pct}% free \/ ${size} total}' top-syntax='${status}: ${problem_list}'<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: {C:\\ 67% free \/ 59.9GB total}, {Q:\\ 99% free \/<br \/>\n24.997GB total}, {C:\\Mounted Disks\\A Mounted Disk\\ 99% free \/ 17.997GB<br \/>\ntotal}|'C:\\ free'=40.36123G;11.98007;5.99003;0;59.90038 'C:\\ free<br \/>\n%'=67%;19;9;0;100 'Q:\\ free'=24.90865G;4.99941;2.4997;0;24.99706 'Q:\\<br \/>\nfree %'=99%;19;9;0;100 'C:\\Mounted Disks\\A Mounted Disk\\<br \/>\nfree'=17.90887G;3.59941;1.7997;0;17.99706 'C:\\Mounted Disks\\A Mounted<br \/>\nDisk\\ free %'=99%;19;9;0;100<\/code><\/p>\n<p><span style=\"font-size: medium;\"><b>Exclude E: Drive AND P: Drive<\/b><\/span><br \/>\n<b>NSClient++ 0.3.9<\/b><br \/>\n<i>No additional configuration is required<br \/>\n<\/i>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize ShowAll <\/code><code>-a MinWarn=20% MinCrit=10% <\/code><code>CheckAllOthers Drive=E:<\/code> <code>Drive=P:<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:\\: 12.6G|'C:\\ %'=80%;3301248;10 'C:\\'=12.58GB;1977460.32;5.99;0;59.9<\/code><\/p>\n<p><b>NSClient++ 0.4.1<\/b><br \/>\n<i>No additional configuration is required<br \/>\n<\/i>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize ShowAll <\/code><code>-a MinWarn=20% MinCrit=10% <\/code><code>CheckAllOthers Drive=E: perf-unit=G<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:\\: 12.6G|'C:\\ %'=80%;0;10 'C:\\'=12.576G;0;5.99;0;59.9<br \/>\n<\/code><br \/>\n<b>NSClient++ 0.4.3.131 onwards<\/b><br \/>\n<i>No additional configuration is required<br \/>\n<\/i>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c check_drivesize -a<br \/>\n<\/code><code>exclude='E:\\'\u00a0<\/code><code>exclude='P:\\' 'warning=free&lt;20%' 'critical=free&lt;10%' show-all 'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${free_pct}% free \/ ${size} total}' top-syntax='${status}: ${problem_list}'<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: {C:\\ 67% free \/ 59.9GB total}, {D:\\ 0% free \/ 0B<br \/>\ntotal}, {Q:\\ 99% free \/ 24.997GB total}, {System Reserved 70% free \/<br \/>\n99.996MB total}, {C:\\Mounted Disks\\A Mounted Disk\\ 99% free \/ 17.997GB<br \/>\ntotal}|'C:\\ free'=40.36123G;11.98007;5.99003;0;59.90038 'C:\\ free<br \/>\n%'=67%;19;9;0;100 'D:\\ free'=0G;0;0;0;0 'Q:\\<br \/>\nfree'=24.90865G;4.99941;2.4997;0;24.99706 'Q:\\ free %'=99%;19;9;0;100<br \/>\n'\\\\?\\Volume{791a0772-737e-11e4-98ac-806e6f6e6963}\\<br \/>\nfree'=0.06913G;0.01953;0.00976;0;0.09765<br \/>\n'\\\\?\\Volume{791a0772-737e-11e4-98ac-806e6f6e6963}\\ free<br \/>\n%'=70%;19;9;0;100 'C:\\Mounted Disks\\A Mounted Disk\\<br \/>\nfree'=17.90887G;3.59941;1.7997;0;17.99706 'C:\\Mounted Disks\\A Mounted<br \/>\nDisk\\ free %'=99%;19;9;0;100<br \/>\n<\/code><\/p>\n<div>\n<b>NOTE:<\/b> as you can see, in 0.4.3.x &#8220;All drives&#8221; means things like the boot volume and optical drives. We get around this by using a filter and exclude options: <code>\"filter=type in ('fixed')\" exclude='System Reserved'<\/code><\/div>\n<p>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c check_drivesize -a<br \/>\n<\/code><code>exclude='E:\\'<\/code><code><br \/>\nexclude='P:\\' \"filter=type in ('fixed')\" exclude='System Reserved' 'warning=free&lt;20%' 'critical=free&lt;10%' show-all 'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${free_pct}% free \/ ${size} total}' top-syntax='${status}: ${problem_list}'<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: {C:\\ 67% free \/ 59.9GB total}, {Q:\\ 99% free \/<br \/>\n24.997GB total}, {C:\\Mounted Disks\\A Mounted Disk\\ 99% free \/ 17.997GB<br \/>\ntotal}|'C:\\ free'=40.36123G;11.98007;5.99003;0;59.90038 'C:\\ free<br \/>\n%'=67%;19;9;0;100 'Q:\\ free'=24.90865G;4.99941;2.4997;0;24.99706 'Q:\\<br \/>\nfree %'=99%;19;9;0;100 'C:\\Mounted Disks\\A Mounted Disk\\<br \/>\nfree'=17.90887G;3.59941;1.7997;0;17.99706 'C:\\Mounted Disks\\A Mounted<br \/>\nDisk\\ free %'=99%;19;9;0;100<\/code><code><\/p>\n<p><\/code><\/p>\n<h4><a name=\"TOC-Disk-Usage---Specific-Drive\"><\/a>Disk Usage &#8211; Specific Drive<\/h4>\n<h3><a name=\"TOC-Specific-Amount3\"><\/a> Specific Amount<\/h3>\n<p>Check the Disk Usage for C: drive. Warning alert at 50G usage and critical alert at 100G usage.<\/p>\n<p><b>NSClient++ 0.3.9<\/b><br \/>\n<i>No additional configuration is required<\/i><i>.<\/i> <b>NOTE: <\/b>Refer to Known Issues at the bottom of this page.<br \/>\nCommand:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize -a ShowAll MaxWarn=50G MaxCrit=100G Drive=C:<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:: 11.5G|'C: %'=19%;16;4294967230 'C:'=11.51G;50;100;0;59<\/code><\/p>\n<p><b>NSClient++ 0.4.1<\/b><br \/>\n<i>No additional configuration is required<\/i><i>.<\/i> <b>NOTE: <\/b>Refer to Known Issues at the bottom of this page.<br \/>\nCommand:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize -a ShowAll MaxWarn=50G MaxCrit=100G Drive=C: perf-unit=G<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:: 11.5G|'C: %'=19%;16;4294967230 'C:'=11.51G;50;100;0;59<\/code><\/p>\n<p><b>NSClient++ 0.4.3.131 onwards<\/b><br \/>\n<i>No additional configuration is required<br \/>\n<\/i>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c check_drivesize -a drive=C:<br \/>\n 'warning=used&gt;50G' 'critical=used&gt;100G' show-all<br \/>\n'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${used} used \/<br \/>\n${size} total}' top-syntax='${status}: ${problem_list}'<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: {C: 19.539GB used \/ 59.9GB total}|'C: used'=19.53915G;50;100;0;59.90038 'C: used %'=32%;83;166;0;100<\/p>\n<p><\/code><\/p>\n<h3><a name=\"TOC-Percentage3\"><\/a>Percentage<\/h3>\n<p>Check the Disk Usage for C: drive. Warning alert at 80% usage and critical alert at 90% usage.<\/p>\n<p><b>NSClient++ 0.3.9<\/b><br \/>\n<i>No additional configuration is required<\/i><br \/>\nCommand:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize -a ShowAll MaxWarn=80% MaxCrit=90% Drive=C:<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:: 11.5G|'C: %'=19%;80;90 'C:'=11.51G;47.9;53.9;0;59<\/code><\/p>\n<p><b>NSClient++ 0.4.1<\/b><br \/>\n<i>No additional configuration is required<\/i><br \/>\nCommand:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize -a ShowAll MaxWarn=80% MaxCrit=90% Drive=C: <\/code><code>perf-unit=G<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:: 11.5G|'C: %'=19%;80;90 'C:'=11.51G;47.9;53.9;0;59<\/code><\/p>\n<p><b>NSClient++ 0.4.3.131 onwards<\/b><br \/>\n<i>No additional configuration is required<br \/>\n<\/i>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c check_drivesize -a drive=C:<br \/>\n 'warning=used&gt;80%' 'critical=used&gt;90%' show-all<br \/>\n'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${used_pct}%<br \/>\nused \/ ${size} total}' top-syntax='${status}: ${problem_list}'<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: {C: 33% used \/ 59.9GB total}|'C: used'=19.53915G;47.9203;53.91034;0;59.90038 'C: used %'=32%;79;89;0;100<\/code><\/p>\n<p><b>NOTE:<\/b> Multiple drives can be specified in the format <code>Drive=C: Drive=J: Drive=Z:<\/p>\n<p><\/code><\/p>\n<h4><a name=\"TOC-Disk-Usage---ALL-Drives\"><\/a>Disk Usage &#8211; ALL Drives<\/h4>\n<h3><a name=\"TOC-Specific-Amount4\"><\/a> Specific Amount<\/h3>\n<p>Check the Disk Usage for ALL drives. Warning alert at 50G usage and critical alert at 100G usage.<\/p>\n<p><b>NSClient++ 0.3.9<\/b><br \/>\n<i>No additional configuration is required<\/i><i>.<\/i> <b>NOTE: <\/b>Refer to Known Issues at the bottom of this page.<br \/>\nCommand:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize -a ShowAll MaxWarn=50G MaxCrit=100G CheckAll<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:\\: 11.5G, D:\\: 90.3M|'C:\\ %'=19%;16;4294967230<br \/>\n'C:\\'=11.51G;50;100;0;59 'D:\\ %'=0%;4294967146;4294966896<br \/>\n'D:\\'=90.34M;51200;102400;0;20476.99<\/code><\/p>\n<p><b>NSClient++ 0.4.1<\/b><br \/>\n<i>No additional configuration is required<\/i><br \/>\nCommand:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize -a ShowAll MaxWarn=50G MaxCrit=100G CheckAll <\/code><code>perf-unit=G<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:\\: 11.5G, D:\\: 90.4M|'C:\\ %'=19%;16;4294967230<br \/>\n'C:\\'=11.51G;50;100;0;59 'D:\\ %'=0%;4294967146;4294966896<br \/>\n'D:\\'=0.08G;50;100;0;19.99<\/code><\/p>\n<p><b>NSClient++ 0.4.3.131 onwards<\/b><br \/>\n<i>No additional configuration is required<br \/>\n<\/i>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c check_drivesize -a <\/code><code>'warning=used&gt;50G' 'critical=used&gt;100G' show-all<br \/>\n'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${used} used \/<br \/>\n${size} total}' top-syntax='${status}: ${problem_list}'<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: {C:\\ 19.539GB used \/ 59.9GB total}, {D:\\ 0B used \/<br \/>\n0B total}, {E:\\ 91.004MB used \/ 39.997GB total}, {Q:\\ 90.531MB used \/<br \/>\n24.997GB total}, {System Reserved 29.199MB used \/ 99.996MB total},<br \/>\n{C:\\Mounted Disks\\A Mounted Disk\\ 90.313MB used \/ 17.997GB total}|'C:\\<br \/>\nused'=19.53939G;50;100;0;59.90038 'C:\\ used %'=32%;83;166;0;100 'D:\\<br \/>\nused'=0G;50;100;0;0 'E:\\ used'=0.08887G;50;100;0;39.99706 'E:\\ used<br \/>\n%'=0%;125;250;0;100 'Q:\\ used'=0.0884G;50;100;0;24.99706 'Q:\\ used<br \/>\n%'=0%;200;400;0;100 '\\\\?\\Volume{791a0772-737e-11e4-98ac-806e6f6e6963}\\<br \/>\nused'=0.02851G;50;100;0;0.09765<br \/>\n'\\\\?\\Volume{791a0772-737e-11e4-98ac-806e6f6e6963}\\ used<br \/>\n%'=29%;51202;102404;0;100 'C:\\Mounted Disks\\A Mounted Disk\\<br \/>\nused'=0.08819G;50;100;0;17.99706 'C:\\Mounted Disks\\A Mounted Disk\\ used<br \/>\n%'=0%;277;555;0;100<br \/>\n<\/code><\/p>\n<div>\n<b>NOTE:<\/b> as you can see, in 0.4.3.x &#8220;All drives&#8221; means things like the boot volume and optical drives. We get around this by using a filter and exclude options: <code>\"filter=type in ('fixed')\" exclude='System Reserved'<\/code><\/div>\n<p>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c check_drivesize -a <\/code><code>\"filter=type in ('fixed')\" exclude='System Reserved' <\/code><code>'warning=used&gt;50G' 'critical=used&gt;100G' show-all<br \/>\n'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${used} used \/<br \/>\n${size} total}' top-syntax='${status}: ${problem_list}'<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: {C:\\ 19.539GB used \/ 59.9GB total}, {E:\\ 91.004MB<br \/>\nused \/ 39.997GB total}, {Q:\\ 90.531MB used \/ 24.997GB total},<br \/>\n{C:\\Mounted Disks\\A Mounted Disk\\ 90.313MB used \/ 17.997GB total}|'C:\\<br \/>\nused'=19.53939G;50;100;0;59.90038 'C:\\ used %'=32%;83;166;0;100 'E:\\<br \/>\nused'=0.08887G;50;100;0;39.99706 'E:\\ used %'=0%;125;250;0;100 'Q:\\<br \/>\nused'=0.0884G;50;100;0;24.99706 'Q:\\ used %'=0%;200;400;0;100<br \/>\n'C:\\Mounted Disks\\A Mounted Disk\\ used'=0.08819G;50;100;0;17.99706<br \/>\n'C:\\Mounted Disks\\A Mounted Disk\\ used %'=0%;277;555;0;100<\/p>\n<p><\/code><\/p>\n<h3><a name=\"TOC-Percentage4\"><\/a>Percentage<\/h3>\n<p>Check the Disk Usage for C: drive. Warning alert at 80% usage and critical alert at 90% usage.<\/p>\n<p><b>NSClient++ 0.3.9<\/b><br \/>\n<i>No additional configuration is required<\/i><i>.<\/i> <b>NOTE: <\/b>Refer to Known Issues at the bottom of this page.<br \/>\nCommand:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize -a ShowAll MaxWarn=80% MaxCrit=90% CheckAll<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:\\: 11.5G, D:\\: 90.3M|'C:\\ %'=19%;80;90<br \/>\n'C:\\'=11.51G;47.9;53.9;0;59 'D:\\ %'=0%;80;90<br \/>\n'D:\\'=90.34M;16381.59;18429.29;0;20476.99<\/code><\/p>\n<p><b>NSClient++ 0.4.1<\/b><br \/>\n<i>No additional configuration is required<\/i><br \/>\nCommand:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize -a ShowAll MaxWarn=80% MaxCrit=90% CheckAll <\/code><code>perf-unit=G<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:\\: 11.5G, D:\\: 90.4M|'C:\\ %'=19%;80;90 'C:\\'=11.51G;47.9;53.9;0;59 'D:\\ %'=0%;80;90 'D:\\'=0.08G;15.99;17.99;0;19.99<\/code><\/p>\n<p><b>NSClient++ 0.4.3.131 onwards<\/b><br \/>\n<i>No additional configuration is required<br \/>\n<\/i>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c check_drivesize -a<br \/>\n'warning=used&gt;80%' 'critical=used&gt;90%' show-all<br \/>\n'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${used_pct}%<br \/>\nused \/ ${size} total}' top-syntax='${status}: ${problem_list}'<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: {C:\\ 33% used \/ 59.9GB total}, {D:\\ 100% used \/ 0B<br \/>\ntotal}, {E:\\ 1% used \/ 39.997GB total}, {Q:\\ 1% used \/ 24.997GB total},<br \/>\n{System Reserved 30% used \/ 99.996MB total}, {C:\\Mounted Disks\\A Mounted<br \/>\n Disk\\ 1% used \/ 17.997GB total}|'C:\\<br \/>\nused'=19.53939G;47.9203;53.91034;0;59.90038 'C:\\ used %'=32%;79;89;0;100<br \/>\n 'D:\\ used'=0G;0;0;0;0 'E:\\ used'=0.08887G;31.99765;35.99736;0;39.99706<br \/>\n'E:\\ used %'=0%;79;89;0;100 'Q:\\<br \/>\nused'=0.0884G;19.99765;22.49736;0;24.99706 'Q:\\ used %'=0%;79;89;0;100<br \/>\n'\\\\?\\Volume{791a0772-737e-11e4-98ac-806e6f6e6963}\\<br \/>\nused'=0.02851G;0.07812;0.08788;0;0.09765<br \/>\n'\\\\?\\Volume{791a0772-737e-11e4-98ac-806e6f6e6963}\\ used<br \/>\n%'=29%;79;89;0;100 'C:\\Mounted Disks\\A Mounted Disk\\<br \/>\nused'=0.08819G;14.39765;16.19736;0;17.99706 'C:\\Mounted Disks\\A Mounted<br \/>\nDisk\\ used %'=0%;79;89;0;100<br \/>\n<\/code><\/p>\n<div>\n<b>NOTE:<\/b> as you can see, in 0.4.3.x &#8220;All drives&#8221; means things like the boot volume and optical drives. We get around this by using a filter and exclude options: <code>\"filter=type in ('fixed')\" exclude='System Reserved'<\/code><\/div>\n<p>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c check_drivesize -a<br \/>\n\"filter=type in ('fixed')\" exclude='System Reserved'<br \/>\n'warning=used&gt;80%' 'critical=used&gt;90%' show-all<br \/>\n'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${used_pct}%<br \/>\nused \/ ${size} total}' top-syntax='${status}: ${problem_list}'<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: {C:\\ 33% used \/ 59.9GB total}, {E:\\ 1% used \/<br \/>\n39.997GB total}, {Q:\\ 1% used \/ 24.997GB total}, {C:\\Mounted Disks\\A<br \/>\nMounted Disk\\ 1% used \/ 17.997GB total}|'C:\\<br \/>\nused'=19.53939G;47.9203;53.91034;0;59.90038 'C:\\ used %'=32%;79;89;0;100<br \/>\n 'E:\\ used'=0.08887G;31.99765;35.99736;0;39.99706 'E:\\ used<br \/>\n%'=0%;79;89;0;100 'Q:\\ used'=0.0884G;19.99765;22.49736;0;24.99706 'Q:\\<br \/>\nused %'=0%;79;89;0;100 'C:\\Mounted Disks\\A Mounted Disk\\<br \/>\nused'=0.08819G;14.39765;16.19736;0;17.99706 'C:\\Mounted Disks\\A Mounted<br \/>\nDisk\\ used %'=0%;79;89;0;100<\/code><\/p>\n<h4><a name=\"TOC-Disk-Usage---Exclude-Drive-s-\"><\/a>Disk Usage &#8211; Exclude Drive(s)<\/h4>\n<h3><a name=\"TOC-Specific-Amount5\"><\/a> Specific Amount<\/h3>\n<p>Check the Disk Usage for ALL drives EXCEPT the drive(s) we specify. Warning alert at 50G usage and critical alert at 100G usage.<\/p>\n<p><span style=\"font-size: medium;\"><b>Exclude E: Drive<\/b><\/span><br \/>\n<b>NSClient++ 0.3.9<\/b><br \/>\n<i>No additional configuration is required<\/i><i>.<\/i> <b>NOTE: <\/b>Refer to Known Issues at the bottom of this page.<br \/>\nCommand:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize ShowAll<\/code><code> -a MaxWarn=50G MaxCrit=100G CheckAllOthers Drive=E:<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:\\: 12.6G, P:\\: 90.5M|'C:\\ %'=20%;99;4294967230<br \/>\n'C:\\'=13503569920B;1;0;0;64317550592 'P:\\ %'=0%;99;4294966996<br \/>\n'P:\\'=94900224B;1;0;0;26840395776<\/code><\/p>\n<p><b>NSClient++ 0.4.1<\/b><br \/>\n<i>No additional configuration is required<\/i><i>.<\/i> <b>NOTE: <\/b>Refer to Known Issues at the bottom of this page.<br \/>\nCommand:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize ShowAll<\/code><code> -a MaxWarn=50G MaxCrit=100G CheckAllOthers Drive=E: perf-unit=G<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:\\: 12.6G, P:\\: 90.5M|'C:\\ %'=20%;100;4294967230<br \/>\n'C:\\'=12.576G;0;100;0;59.9 'P:\\ %'=0%;100;4294966996<br \/>\n'P:\\'=0.08799G;0;100;0;24.997<\/code><\/p>\n<p><b>NSClient++ 0.4.3.131 onwards<\/b><br \/>\n<i>No additional configuration is required<br \/>\n<\/i>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c check_drivesize -a<br \/>\nexclude='E:\\' 'warning=free&lt;10G' 'critical=free&lt;5G' show-all<br \/>\n'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} <\/code><code>${used} used \/ ${size} total}' top-syntax='${status}: ${problem_list}'<\/code><\/p>\n<p>Output:<br \/>\n<code>CRITICAL: critical({D:\\ 0B used \/ 0B total}, {System<br \/>\nReserved 29.199MB used \/ 99.996MB total}), {C:\\ 19.539GB used \/ 59.9GB<br \/>\ntotal}, {Q:\\ 90.531MB used \/ 24.997GB total}, {C:\\Mounted Disks\\A<br \/>\nMounted Disk\\ 90.313MB used \/ 17.997GB total}|'C:\\<br \/>\nfree'=40.36098G;10;5;0;59.90038 'C:\\ free %'=67%;16;8;0;100 'D:\\<br \/>\nfree'=0G;10;5;0;0 'Q:\\ free'=24.90865G;10;5;0;24.99706 'Q:\\ free<br \/>\n%'=99%;40;20;0;100 '\\\\?\\Volume{791a0772-737e-11e4-98ac-806e6f6e6963}\\<br \/>\nfree'=0.06913G;10;5;0;0.09765<br \/>\n'\\\\?\\Volume{791a0772-737e-11e4-98ac-806e6f6e6963}\\ free<br \/>\n%'=70%;10240;5120;0;100 'C:\\Mounted Disks\\A Mounted Disk\\<br \/>\nfree'=17.90887G;10;5;0;17.99706 'C:\\Mounted Disks\\A Mounted Disk\\ free<br \/>\n%'=99%;55;27;0;100<br \/>\n<\/code><\/p>\n<div>\n<b>NOTE:<\/b> as you can see, in 0.4.3.x &#8220;All drives&#8221; means things like the boot volume and optical drives. We get around this by using a filter and exclude options: <code>\"filter=type in ('fixed')\" exclude='System Reserved'<\/code><\/div>\n<p>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c check_drivesize -a<br \/>\n\"filter=type in ('fixed')\" exclude='System Reserved' exclude='E:\\'<br \/>\n'warning=free&lt;10G' 'critical=free&lt;5G' show-all<br \/>\n'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${used} used \/<br \/>\n${size} total}' top-syntax='${status}: ${problem_list}'<\/p>\n<p><\/code> Output:<br \/>\n<code>OK: {C:\\ 19.539GB used \/ 59.9GB total}, {Q:\\ 90.531MB<br \/>\nused \/ 24.997GB total}, {C:\\Mounted Disks\\A Mounted Disk\\ 90.313MB used \/<br \/>\n 17.997GB total}|'C:\\ free'=40.36098G;10;5;0;59.90038 'C:\\ free<br \/>\n%'=67%;16;8;0;100 'Q:\\ free'=24.90865G;10;5;0;24.99706 'Q:\\ free<br \/>\n%'=99%;40;20;0;100 'C:\\Mounted Disks\\A Mounted Disk\\<br \/>\nfree'=17.90887G;10;5;0;17.99706 'C:\\Mounted Disks\\A Mounted Disk\\ free<br \/>\n%'=99%;55;27;0;100<\/code><\/p>\n<p><span style=\"font-size: medium;\"><b>Exclude E: Drive AND P: Drive<\/b><\/span><br \/>\n<b>NSClient++ 0.3.9<\/b><br \/>\n<i>No additional configuration is required<\/i><i>.<\/i> <b>NOTE: <\/b>Refer to Known Issues at the bottom of this page.<br \/>\nCommand:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize ShowAll<\/code><code> -a MaxWarn=50G MaxCrit=100G CheckAllOthers Drive=E: <\/code><code>Drive=P:<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:\\: 12.6G|'C:\\ %'=20%;99;4294967230 'C:\\'=13503569920B;1;0;0;64317550592<\/code><\/p>\n<p><b>NSClient++ 0.4.1<\/b><br \/>\n<i>No additional configuration is required<\/i><i>.<\/i> <b>NOTE: <\/b>Refer to Known Issues at the bottom of this page.<br \/>\nCommand:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize ShowAll<\/code><code> -a MaxWarn=50G MaxCrit=100G CheckAllOthers Drive=E: <\/code><code>Drive=P: perf-unit=G<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:\\: 12.6G|'C:\\ %'=20%;100;4294967230 'C:\\'=12.576G;0;100;0;59.9<\/code><\/p>\n<p><b>NSClient++ 0.4.3.131 onwards<\/b><br \/>\n<i>No additional configuration is required<br \/>\n<\/i>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c check_drivesize -a<br \/>\nexclude='E:\\' <\/code><code>exclude='P:\\' 'warning=free&lt;10G' 'critical=free&lt;5G' show-all 'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} <\/code><code>${used} used \/ ${size} total}' top-syntax='${status}: ${problem_list}'<\/code><\/p>\n<p>Output:<br \/>\n<code>CRITICAL: critical({D:\\ 0B used \/ 0B total}, {System<br \/>\nReserved 29.199MB used \/ 99.996MB total}), {C:\\ 19.539GB used \/ 59.9GB<br \/>\ntotal}, {Q:\\ 90.531MB used \/ 24.997GB total}, {C:\\Mounted Disks\\A<br \/>\nMounted Disk\\ 90.313MB used \/ 17.997GB total}|'C:\\<br \/>\nfree'=40.36098G;10;5;0;59.90038 'C:\\ free %'=67%;16;8;0;100 'D:\\<br \/>\nfree'=0G;10;5;0;0 'Q:\\ free'=24.90865G;10;5;0;24.99706 'Q:\\ free<br \/>\n%'=99%;40;20;0;100 '\\\\?\\Volume{791a0772-737e-11e4-98ac-806e6f6e6963}\\<br \/>\nfree'=0.06913G;10;5;0;0.09765<br \/>\n'\\\\?\\Volume{791a0772-737e-11e4-98ac-806e6f6e6963}\\ free<br \/>\n%'=70%;10240;5120;0;100 'C:\\Mounted Disks\\A Mounted Disk\\<br \/>\nfree'=17.90887G;10;5;0;17.99706 'C:\\Mounted Disks\\A Mounted Disk\\ free<br \/>\n%'=99%;55;27;0;100<br \/>\n<\/code><\/p>\n<div>\n<b>NOTE:<\/b> as you can see, in 0.4.3.x &#8220;All drives&#8221; means things like the boot volume and optical drives. We get around this by using a filter and exclude options: <code>\"filter=type in ('fixed')\" exclude='System Reserved'<\/code><\/div>\n<p>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c check_drivesize -a<br \/>\n\"filter=type in ('fixed')\" exclude='System Reserved' exclude='E:\\' <\/code><code>exclude='P:\\' 'warning=free&lt;10G' 'critical=free&lt;5G' show-all 'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${used} used \/ ${size} total}' top-syntax='${status}: ${problem_list}'<\/p>\n<p><\/code> Output:<br \/>\n<code>OK: {C:\\ 19.539GB used \/ 59.9GB total}, {Q:\\ 90.531MB<br \/>\nused \/ 24.997GB total}, {C:\\Mounted Disks\\A Mounted Disk\\ 90.313MB used \/<br \/>\n 17.997GB total}|'C:\\ free'=40.36098G;10;5;0;59.90038 'C:\\ free<br \/>\n%'=67%;16;8;0;100 'Q:\\ free'=24.90865G;10;5;0;24.99706 'Q:\\ free<br \/>\n%'=99%;40;20;0;100 'C:\\Mounted Disks\\A Mounted Disk\\<br \/>\nfree'=17.90887G;10;5;0;17.99706 'C:\\Mounted Disks\\A Mounted Disk\\ free<br \/>\n%'=99%;55;27;0;100<\/p>\n<p><\/code><\/p>\n<h3><a name=\"TOC-Percentage5\"><\/a>Percentage<\/h3>\n<p>Check the Disk Usage for C: drive. Warning alert at 80% usage and critical alert at 90% usage.<\/p>\n<p><span style=\"font-size: medium;\"><b>Exclude E: Drive<\/b><\/span><br \/>\n<b>NSClient++ 0.3.9<\/b><br \/>\n<i>No additional configuration is required<\/i><br \/>\nCommand:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize ShowAll<\/code><code> -a MaxWarn=80% MaxCrit=90% CheckAllOthers Drive=E:<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:\\: 12.6G, P:\\: 90.5M|'C:\\ %'=20%;1;90<br \/>\n'C:\\'=12878.01MB;613.38;55204.2;0;61338 'P:\\ %'=0%;1;90<br \/>\n'P:\\'=90.5MB;255.97;23037.3;0;25597<\/code><\/p>\n<p><b>NSClient++ 0.4.1<\/b><br \/>\n<i>No additional configuration is required<\/i><br \/>\nCommand:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize ShowAll<\/code><code> -a MaxWarn=80% MaxCrit=90% CheckAllOthers Drive=E: <\/code><code>perf-unit=G<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:\\: 12.6G, P:\\: 90.5M|'C:\\ %'=20%;0;90 'C:\\'=12.576G;0;53.91;0;59.9 'P:\\ %'=0%;0;90 'P:\\'=0.08799G;0;22.497;0;24.997<\/code><\/p>\n<p><b>NSClient++ 0.4.3.131 onwards<\/b><br \/>\n<i>No additional configuration is required<br \/>\n<\/i>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c check_drivesize -a<br \/>\n<\/code><code>exclude='E:\\' 'warning=used&gt;80%' 'critical=used&gt;90%' show-all 'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${used_pct}% used \/ ${size} total}' top-syntax='${status}: ${problem_list}'<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: {C:\\ 33% used \/ 59.9GB total}, {D:\\ 100% used \/ 0B<br \/>\ntotal}, {Q:\\ 1% used \/ 24.997GB total}, {System Reserved 30% used \/<br \/>\n99.996MB total}, {C:\\Mounted Disks\\A Mounted Disk\\ 1% used \/ 17.997GB<br \/>\ntotal}|'C:\\ used'=19.53939G;47.9203;53.91034;0;59.90038 'C:\\ used<br \/>\n%'=32%;79;89;0;100 'D:\\ used'=0G;0;0;0;0 'Q:\\<br \/>\nused'=0.0884G;19.99765;22.49736;0;24.99706 'Q:\\ used %'=0%;79;89;0;100<br \/>\n'\\\\?\\Volume{791a0772-737e-11e4-98ac-806e6f6e6963}\\<br \/>\nused'=0.02851G;0.07812;0.08788;0;0.09765<br \/>\n'\\\\?\\Volume{791a0772-737e-11e4-98ac-806e6f6e6963}\\ used<br \/>\n%'=29%;79;89;0;100 'C:\\Mounted Disks\\A Mounted Disk\\<br \/>\nused'=0.08819G;14.39765;16.19736;0;17.99706 'C:\\Mounted Disks\\A Mounted<br \/>\nDisk\\ used %'=0%;79;89;0;100<br \/>\n<\/code><\/p>\n<div>\n<b>NOTE:<\/b> as you can see, in 0.4.3.x &#8220;All drives&#8221; means things like the boot volume and optical drives. We get around this by using a filter and exclude options: <code>\"filter=type in ('fixed')\" exclude='System Reserved'<\/code><\/div>\n<p>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c check_drivesize -a<br \/>\n\"filter=type in ('fixed')\" exclude='System Reserved' exclude='E:\\'<br \/>\n'warning=used&gt;80%' 'critical=used&gt;90%' show-all<br \/>\n'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${used_pct}%<br \/>\nused \/ ${size} total}' top-syntax='${status}: ${problem_list}'<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: {C:\\ 33% used \/ 59.9GB total}, {Q:\\ 1% used \/<br \/>\n24.997GB total}, {C:\\Mounted Disks\\A Mounted Disk\\ 1% used \/ 17.997GB<br \/>\ntotal}|'C:\\ used'=19.53939G;47.9203;53.91034;0;59.90038 'C:\\ used<br \/>\n%'=32%;79;89;0;100 'Q:\\ used'=0.0884G;19.99765;22.49736;0;24.99706 'Q:\\<br \/>\nused %'=0%;79;89;0;100 'C:\\Mounted Disks\\A Mounted Disk\\<br \/>\nused'=0.08819G;14.39765;16.19736;0;17.99706 'C:\\Mounted Disks\\A Mounted<br \/>\nDisk\\ used %'=0%;79;89;0;100<\/code><\/p>\n<p><span style=\"font-size: medium;\"><b>Exclude E: Drive AND P: Drive<\/b><\/span><br \/>\n<b>NSClient++ 0.3.9<\/b><br \/>\n<i>No additional configuration is required<\/i><br \/>\nCommand:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize ShowAll<\/code><code> -a MaxWarn=80% MaxCrit=90% CheckAllOthers Drive=E: <\/code><code>Drive=P:<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:\\: 12.6G|'C:\\ %'=20%;1;90 'C:\\'=12878.01MB;613.38;55204.2;0;61338<\/code><\/p>\n<p><b>NSClient++ 0.4.1<\/b><br \/>\n<i>No additional configuration is required<\/i><br \/>\nCommand:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c CheckDriveSize ShowAll<\/code><code> -a MaxWarn=80% MaxCrit=90% CheckAllOthers Drive=E: <\/code><code>Drive=P: perf-unit=G<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: C:\\: 12.6G|'C:\\ %'=20%;0;90 'C:\\'=12.576G;0;53.91;0;59.9<\/code><\/p>\n<p><b>NSClient++ 0.4.3.131 onwards<\/b><br \/>\n<i>No additional configuration is required<br \/>\n<\/i>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c check_drivesize -a<br \/>\n<\/code><code>exclude='E:\\' <\/code><code>exclude='P:\\' 'warning=used&gt;80%' 'critical=used&gt;90%' show-all 'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${used_pct}% used \/ ${size} total}' top-syntax='${status}: ${problem_list}'<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: {C:\\ 33% used \/ 59.9GB total}, {D:\\ 100% used \/ 0B<br \/>\ntotal}, {Q:\\ 1% used \/ 24.997GB total}, {System Reserved 30% used \/<br \/>\n99.996MB total}, {C:\\Mounted Disks\\A Mounted Disk\\ 1% used \/ 17.997GB<br \/>\ntotal}|'C:\\ used'=19.53939G;47.9203;53.91034;0;59.90038 'C:\\ used<br \/>\n%'=32%;79;89;0;100 'D:\\ used'=0G;0;0;0;0 'Q:\\<br \/>\nused'=0.0884G;19.99765;22.49736;0;24.99706 'Q:\\ used %'=0%;79;89;0;100<br \/>\n'\\\\?\\Volume{791a0772-737e-11e4-98ac-806e6f6e6963}\\<br \/>\nused'=0.02851G;0.07812;0.08788;0;0.09765<br \/>\n'\\\\?\\Volume{791a0772-737e-11e4-98ac-806e6f6e6963}\\ used<br \/>\n%'=29%;79;89;0;100 'C:\\Mounted Disks\\A Mounted Disk\\<br \/>\nused'=0.08819G;14.39765;16.19736;0;17.99706 'C:\\Mounted Disks\\A Mounted<br \/>\nDisk\\ used %'=0%;79;89;0;100<br \/>\n<\/code><\/p>\n<div>\n<b>NOTE:<\/b> as you can see, in 0.4.3.x &#8220;All drives&#8221; means things like the boot volume and optical drives. We get around this by using a filter and exclude options: <code>\"filter=type in ('fixed')\" exclude='System Reserved'<\/code><\/div>\n<p>Command:<br \/>\n<code>check_nrpe -H 192.168.142.137 -t 30 -c check_drivesize -a<br \/>\n\"filter=type in ('fixed')\" exclude='System Reserved' exclude='E:\\' <\/code><code>exclude='P:\\' 'warning=used&gt;80%' 'critical=used&gt;90%' show-all 'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${used_pct}% used \/ ${size} total}' top-syntax='${status}: ${problem_list}'<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: {C:\\ 33% used \/ 59.9GB total}, {Q:\\ 1% used \/<br \/>\n24.997GB total}, {C:\\Mounted Disks\\A Mounted Disk\\ 1% used \/ 17.997GB<br \/>\ntotal}|'C:\\ used'=19.53939G;47.9203;53.91034;0;59.90038 'C:\\ used<br \/>\n%'=32%;79;89;0;100 'Q:\\ used'=0.0884G;19.99765;22.49736;0;24.99706 'Q:\\<br \/>\nused %'=0%;79;89;0;100 'C:\\Mounted Disks\\A Mounted Disk\\<br \/>\nused'=0.08819G;14.39765;16.19736;0;17.99706 'C:\\Mounted Disks\\A Mounted<br \/>\nDisk\\ used %'=0%;79;89;0;100<\/code><\/p>\n<h4><a name=\"TOC-Other-Disk-Types\"><\/a>Other Disk Types<\/h4>\n<p>Mount points or mounted volumes are disks that have been mounted into a folder instead of being assigned a drive letter. This is common where you may have more drives than letters of the alphabet.<\/p>\n<\/div>\n<div>NSClient++ 0.4.2.x versions onwards support mounted disks. They will be checked by default or you can target them specifically:<\/p>\n<p><b>NSClient++ 0.4.2.x<\/b><br \/>\nCommand:<br \/>\n<code>check_nrpe -H win2008r2-01 -c CheckDriveSize -a ShowAll MaxWarn=5G MaxCrit=10G Drive='C:\\Mounted Disks\\A Mounted Disk'<\/code><\/p>\n<p>Output:<br \/>\n<code>OK C:\\Mounted Disks\\A Mounted Disk: Total: 17.997GB - Used:<br \/>\n90.285MB (1%) - Free: 17.909GB (99%)|'C:\\Mounted Disks\\A Mounted Disk<br \/>\nused'=0.08816GB;5;10;0;17.99706 'C:\\Mounted Disks\\A Mounted Disk used<br \/>\n%'=0%;27;55;0;100<\/code><\/div>\n<div>\n<b>NSClient++ <\/b><b>0.4.3.131 onwards<\/b><br \/>\nCommand:<br \/>\n<code>check_nrpe<br \/>\n -H win2008r2-01 -c check_drivesize -a drive='C:\\Mounted Disks\\A Mounted<br \/>\n Disk' 'warning=free&lt;10G' 'critical=free&lt;5G' show-all<br \/>\n'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${used} used \/<br \/>\n${size} total}' top-syntax='${status}: ${problem_list}'<\/code><\/p>\n<p>Output:<br \/>\n<code>OK: {C:\\Mounted Disks\\A Mounted Disk 90.313MB used \/ 17.997GB<br \/>\ntotal}|'C:\\Mounted Disks\\A Mounted Disk free'=17.90887G;10;5;0;17.99706<br \/>\n'C:\\Mounted Disks\\A Mounted Disk free %'=99%;55;27;0;100<\/p>\n<p><\/code><\/div>\n<div>\n<h4><a name=\"TOC-Known-Issues\"><\/a>Known Issues<\/h4>\n<p>Performance data string returns a percentage data source AND a unit data source. It has been observed that in NSClient++ 0.3.9 that:<\/p>\n<ul>\n<li>The unit data source returns incorrect warning and critical values. Example:\n<ul>\n<li>It SHOULD be:\n<ul>\n<li><code>'C:'=11.51G;50;40;0;59<\/code><\/li>\n<\/ul>\n<\/li>\n<li>But it returns:\n<ul>\n<li><code>'C:'=11.51GB;2;1;0;59.9<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>The unit data source, when in a warning or critical state returns the warning or critical value in a different unit to what was used in the MinWarn and MinCrit values. Examples:\n<ul>\n<li>It SHOULD be:\n<ul>\n<li><code>'C:'=11.51G;50;40;0;59<\/code><\/li>\n<\/ul>\n<\/li>\n<li>But it returns:\n<ul>\n<li><code>'C:'=12361519104B;2147483648;0;0;64317550592<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Disk Usage Disk Free Space &#8211; Specific Drive Specific Amount Check the Disk Free Space for C: drive. Warning alert at 10GB free space and critical alert at 5GB free space. NSClient++ 0.3.9 No additional configuration is required. NOTE: Refer to Known Issues at the bottom of this page. Command: check_nrpe -H 192.168.142.137 -t 30 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-843","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.thedarktimes.us\/wordpress\/wp-json\/wp\/v2\/posts\/843","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thedarktimes.us\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thedarktimes.us\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thedarktimes.us\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thedarktimes.us\/wordpress\/wp-json\/wp\/v2\/comments?post=843"}],"version-history":[{"count":1,"href":"https:\/\/www.thedarktimes.us\/wordpress\/wp-json\/wp\/v2\/posts\/843\/revisions"}],"predecessor-version":[{"id":844,"href":"https:\/\/www.thedarktimes.us\/wordpress\/wp-json\/wp\/v2\/posts\/843\/revisions\/844"}],"wp:attachment":[{"href":"https:\/\/www.thedarktimes.us\/wordpress\/wp-json\/wp\/v2\/media?parent=843"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thedarktimes.us\/wordpress\/wp-json\/wp\/v2\/categories?post=843"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thedarktimes.us\/wordpress\/wp-json\/wp\/v2\/tags?post=843"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}