I run the following command :
Code: Select all
[[email protected] ~]# /usr/local/nagios/libexec/check_wmi_plus.pl -H xxxxxxx -u xxxxxxx -p xxxxxx -m checkdrivesize -a 'C:|D:|E:|F:|G:|Q:|H:|I:|L:|M:|N:|R:' -w _FreeGB=10: -c _FreeGB=5:
Code: Select all
OK - C: Total=39.66GB, Used=17.61GB (44.4%), Free=22.05GB (55.6%) OK - D: Total=1300.00GB, Used=1125.88GB (86.6%), Free=174.11GB (13.4%) OK - E: Total=220.00GB, Used=160.84GB (73.1%), Free=59.16GB (26.9%) OK - F: Total=2457.47GB, Used=2086.89GB (84.9%), Free=370.59GB (15.1%) OK - G: Total=3071.87GB, Used=2326.75GB (75.7%), Free=745.12GB (24.3%) OK - M: Total=300.00GB, Used=269.53GB (89.8%), Free=30.47GB (10.2%) CRITICAL - [Triggered by _FreeGB<5] - N: Total=5.00GB, Used=0.54GB (10.8%), Free=4.46GB (89.2%) |'C: Space'=17.61GB; 'C: Utilisation'=44.4%; 'D: Space'=1125.88GB; 'D: Utilisation'=86.6%; 'E: Space'=160.84GB; 'E: Utilisation'=73.1%; 'F: Space'=2086.89GB; 'F: Utilisation'=84.9%; 'G: Space'=2326.75GB; 'G: Utilisation'=75.7%; 'M: Space'=269.53GB; 'M: Utilisation'=89.8%; 'N: Space'=0.54GB; 'N: Utilisation'=10.8%;
How can I do to display only the disk in critical state ?
Rgds,
Frederic