Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#272 closed enhancement (worksforme)

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 (2)

comment:1 Changed 4 years ago by mickem

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

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 4 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.