Ticket #373 (closed defect: fixed)

Opened 22 months ago

Last modified 21 months ago

Checkfile2 returns data in broken format?

Reported by: sr_dev Owned by:
Priority: 1 Milestone: 0.3.8
Component: None Version: 0.3.7
Severity: Bugs Keywords: checkfile2
Cc:

Description

./check_nrpe -H 1.2.3.4 -c checkfile2 -a max-dir-depth=0 MaxWarn=1 MaxCrit=1 path="c:\temp" pattern="*.txt" filter+size=">0"

Returns: hej1.txt, hej2.txt, hej1.txt, hej2.txt: 2 > critical|'hej1.txt, hej2.txt'=2;1;1;

./check_nrpe -H 1.2.3.4 -c checkfile2 -a max-dir-depth=0 MaxWarn=1 MaxCrit=1 file="c:\temp\*.*" filter+size=">0 " Returns: CheckFile ok|'no files found'=0;1;1;

./check_nrpe -H 1.2.3.4 -c checkfile2 -a max-dir-depth=0 MaxWarn=1 MaxCrit=1 file="c:\temp\*.txt" filter+size=">0"

Returns: hej1.txt, hej1.txt: 1 > critical|'hej1.txt'=1;1;1;

Seems something is broken in the format? Nsclient version 0.3.7.493

Change History

comment:1 Changed 21 months ago by mickem

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone set to 0.3.8

This is fixed I hope in 0.3.8

Note: See TracTickets for help on using tickets.