I am trying to migrate from NSClient++ 0.4.1 to 0.5.3.29
I am using check_nrpe v3.2.1.
The issue is with the new check_drivesize.
It is driving me nuts with picking up \\?\Volume and causing unnecessary false alerts
Below is working fine without the peskly Volume but it is picking up the CDROM and causing false alerts.
Fine lets filter the CDROM. Now cdrom is gone but the \\Volume is backcheck_nrpe -u -H 10.110.4.24 -t 60 -c check_drivesize -a "warn=used>=60%" "crit=used>=70%" "drive=*"
CRITICAL E:\: 0B/0B used|'D:\ used'=77.50521GB;119.99824;139.99794;0;199.99706 'D:\ used %'=39%;60;70;0;100 'C:\ used'=24.09255GB;59.79374;69.75937;0;99.65624 'C:\ used %'=24%;60;70;0;100 'E:\ used'=0B;0;0;0;0
Can someone please advice how to get rid of the \\Volume. NSClient++ online docs does not help. Google also same.check_nrpe -u -H 10.110.4.24 -t 60 -c check_drivesize -a "warn=used>=60%" "crit=used>=70%" drive=* "filter=type not in ('CDROM')"
CRITICAL System Reserved: 263.68MB/349.996MB used|'\\?\Volume{25a7167b-265c-11e6-80b5-806e6f6e6963}\ used'=263.67968MB;209.99765;244.99726;0;349.99609 '\\?\Volume{25a7167b-265c-11e6-80b5-806e6f6e6963}\ used %'=75%;60;70;0;100 'D:\ used'=77.50521GB;119.99824;139.99794;0;199.99706 'D:\ used %'=39%;60;70;0;100 'C:\ used'=24.09255GB;59.79374;69.75937;0;99.65624 'C:\ used %'=24%;60;70;0;100
Take out drive=*, still the same
check_nrpe -u -H 10.110.4.24 -t 60 -c check_drivesize -a "warn=used>=60%" "crit=used>=70%" "filter=type not in ('CDROM')"
CRITICAL System Reserved: 263.68MB/349.996MB used|'\\?\Volume{25a7167b-265c-11e6-80b5-806e6f6e6963}\ used'=263.67968MB;209.99765;244.99726;0;349.99609 '\\?\Volume{25a7167b-265c-11e6-80b5-806e6f6e6963}\ used %'=75%;60;70;0;100 'D:\ used'=77.50521GB;119.99824;139.99794;0;199.99706 'D:\ used %'=39%;60;70;0;100 'C:\ used'=24.09255GB;59.79374;69.75937;0;99.65624 'C:\ used %'=24%;60;70;0;100
I just want the locally mounted drives. Tried everything but nothing seems to work.
Thanks in advance