CheckFiles Linux CommandLine Error no Matchin with Backslash

Forums NSClient++ support CheckFiles Linux CommandLine Error no Matchin with Backslash

This topic contains 1 reply, has 2 voices, and was last updated by  Michael Medin 3 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2068

    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′

    #8534

    Michael Medin
    Keymaster

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

    // Michael Medin

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.