check_wmi_plus -m checkdrivesize doesn't work
Posted: Tue Dec 08, 2015 10:07 am
Hi,
I run the following command : ./check_wmi_plus.pl -H xxxxxxx -u xxxxxxx -p xxxxxxx -m checkdrivesize -a "C|D|E|Q|H|I|L|M|N" -w 85 -c 92
and it returns the result :
OK - C: Total=48.73GB, Used=40.21GB (82.5%), Free=8.52GB (17.5%) OK - D: Total=1850.00GB, Used=1290.53GB (69.8%), Free=559.47GB (30.2%) OK - E: Total=30.00GB, Used=1.80GB (6.0%), Free=28.19GB (94.0%) CRITICAL - [Triggered by _Used%>92] - F: Total=300.00GB, Used=289.96GB (96.7%), Free=10.04GB (3.3%) WARNING - [Triggered by _Used%>85] - G: Total=350.00GB, Used=316.15GB (90.3%), Free=33.85GB (9.7%) OK - H: Total=150.00GB, Used=110.16GB (73.4%), Free=39.84GB (26.6%) |'C: Space'=40.21GB; 'C: Utilisation'=82.5%;85;92; 'D: Space'=1290.53GB; 'D: Utilisation'=69.8%;85;92; 'E: Space'=1.80GB; 'E: Utilisation'=6.0%;85;92; 'F: Space'=289.96GB; 'F: Utilisation'=96.7%;85;92; 'G: Space'=316.15GB; 'G: Utilisation'=90.3%;85;92; 'H: Space'=110.16GB; 'H: Utilisation'=73.4%;85;92;
I specified : -a "C|D|E|Q|H|I|L|M|N"
That means I want to monitor those disks and no other ones.
How do you explain that it also displays results for F:, G: ?
Rgds,
Frederic
I run the following command : ./check_wmi_plus.pl -H xxxxxxx -u xxxxxxx -p xxxxxxx -m checkdrivesize -a "C|D|E|Q|H|I|L|M|N" -w 85 -c 92
and it returns the result :
OK - C: Total=48.73GB, Used=40.21GB (82.5%), Free=8.52GB (17.5%) OK - D: Total=1850.00GB, Used=1290.53GB (69.8%), Free=559.47GB (30.2%) OK - E: Total=30.00GB, Used=1.80GB (6.0%), Free=28.19GB (94.0%) CRITICAL - [Triggered by _Used%>92] - F: Total=300.00GB, Used=289.96GB (96.7%), Free=10.04GB (3.3%) WARNING - [Triggered by _Used%>85] - G: Total=350.00GB, Used=316.15GB (90.3%), Free=33.85GB (9.7%) OK - H: Total=150.00GB, Used=110.16GB (73.4%), Free=39.84GB (26.6%) |'C: Space'=40.21GB; 'C: Utilisation'=82.5%;85;92; 'D: Space'=1290.53GB; 'D: Utilisation'=69.8%;85;92; 'E: Space'=1.80GB; 'E: Utilisation'=6.0%;85;92; 'F: Space'=289.96GB; 'F: Utilisation'=96.7%;85;92; 'G: Space'=316.15GB; 'G: Utilisation'=90.3%;85;92; 'H: Space'=110.16GB; 'H: Utilisation'=73.4%;85;92;
I specified : -a "C|D|E|Q|H|I|L|M|N"
That means I want to monitor those disks and no other ones.
How do you explain that it also displays results for F:, G: ?
Rgds,
Frederic