NSClient++ Help (#1) - CheckFiles Linux CommandLine? Error no Matchin with Backslash (#794) - Message List

CheckFiles Linux CommandLine? Error no Matchin with Backslash

Hello,

if i execute this command on my linux bash, i got the message "found files", but the File isn't greater then 1Giga.

/check_nrpe -n -H 129.100.200.235 -p 5666 -c CheckFiles -a path=D:/DWUser/Protokolle/ils max-dir-depth=0  pattern=WicaRechnungen_2011-05-22.txt "filter=size gt 1G" MaxWarn=1 "syntax=%filename%: %size%" debug=true
CheckFile ok|'found files'=0;1;0

The log File says that there ist nothing matching. That's ok but at the end 'found files'. If i write another filter like "filter=size gt 1K" it's the same result. The file has the size 10k!!!! Please help me! Thanks

2011-05-25 15:22:14: debug:modules\CheckDisk\CheckDisk.cpp:713: NOW: 2011-05-25 13:22:14 2011-05-25 15:22:14: debug:include\parsers/filter/where_filter_impl.hpp:91: Input is: D:/DWUser/Protokolle/ils / 10 2011-05-25 15:22:14: debug:include\parsers/filter/where_filter_impl.hpp:91: File pattern: D:/DWUser/Protokolle/ils\WicaRechnungen_2011-05-22.txt 2011-05-25 15:22:14: debug:include\parsers/filter/where_filter_impl.hpp:91: ==> NO Matched: WicaRechnungen_2011-05-22.txt: 3.12M 2011-05-25 15:22:14: debug:include\parsers/filter/where_filter_impl.hpp:91: File pattern: D:/DWUser/Protokolle/ils\*.* 2011-05-25 15:22:14: debug:NSClient++.cpp:1180: Injected Result: OK 'CheckFile ok' 2011-05-25 15:22:14: debug:NSClient++.cpp:1181: Injected Performance Result: found files'=0;1;0'

  • Message #2190

    Size was broken and fixed in rc2 (out in a bit)...

    Michael Medin

Subscriptions