mickem / nscp

NSClient++
http://nsclient.org
GNU General Public License v2.0
239 stars 94 forks source link

check_drivesize warn/crit values not working #678

Open JakeDEvans opened 4 years ago

JakeDEvans commented 4 years ago

Issue and Steps to Reproduce

Describe your issue and tell us how to reproduce it.

./check_nrpe -H 192.0.2.10 -c check_drivesize "perf-config=*(unit:g)" "warning=used>90%" "critical=used>95%" "filter=removable=1 and type in ('fixed')" drive=E

Expected Behavior

OK E:\: 1.212TB/1.5TB used|'E:\ used'=1.21212TB;1.1999;1.34988;0;1.49987 'E:\ used %'=81%;80;90;0;100

Actual Behavior

WARNING E:\: 1.212TB/1.5TB used|'E:\ used'=1.21212TB;1.1999;1.34988;0;1.49987 'E:\ used %'=81%;80;90;0;100 'C:\ used'=18.26651GB;31.6078;35.55878;0;39.50976 'C:\ used %'=46%;80;90;0;100 'D:\ used'=0B;0;0;0;0

Details

Additional Details

NSClient++ log:

PLEASE PASTE LOG HERE