Ticket #272 (closed enhancement: worksforme)

Opened 3 years ago

Last modified 3 years ago

add maxdirdepth or similar to checkFile

Reported by: mr@… Owned by: MickeM
Priority: 1 Milestone: 0.3.6
Component: Core Module Version: 0.3.5
Severity: Feature Requests Keywords:
Cc:

Description

When working with inject checkFile and you want to specify *.* and get a too big buffer, you should be able to define a maxdirdepth to check for the files in.

or explain how truncate will work (never got it to work) :)

Change History

comment:1 Changed 3 years ago by mickem

  • Status changed from new to closed
  • Resolution set to worksforme

If you set truncate to for instance 1023 it will "cut" the resulting text at 1023 characters.

So it will "fit" inside the NRPE return buffer.

(and I think it should work just fine)

MickeM

comment:2 Changed 3 years ago by anonymous

Sorry for the late response but this has been added in the latest RC (check the changelog for details). Both the *.txt wont check subdirectories as well as a new option max-dir-depth for specifying how deep to go.

Michael Medin

Note: See TracTickets for help on using tickets.