Opened 22 months ago

Closed 22 months ago

Last modified 22 months ago

#473 closed defect (fixed)

Buffer too small

Reported by: ellingtonsantos Owned by: MickeM
Priority: 1 Milestone: 0.4.0
Component: CheckSystem Version: 0.3.9
Severity: Bugs Keywords:
Cc:

Description (last modified by mickem)

After executing a homemade script, sometimes nsclient++ returns follow messages:

2011-08-16 14:02:20: error:NSClient++.cpp:1172: UNKNOWN: Return buffer to small to handle this command.
2011-08-16 14:02:20: error:NSClient++.cpp:1172: UNKNOWN: Return buffer to small to handle this command.
2011-08-16 14:02:20: error:include\NSCHelper.cpp:241: Inject buffer to small, increase the value of: string_length.
2011-08-16 14:02:20: error:include\NSCHelper.cpp:241: Inject buffer to small, increase the value of: string_length.
2011-08-16 14:02:20: error:NSClient++.cpp:1172: UNKNOWN: Return buffer to small to handle this command.
2011-08-16 14:02:20: error:include\NSCHelper.cpp:241: Inject buffer to small, increase the value of: string_length.

Change History (2)

comment:1 Changed 22 months ago by mickem

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

NRPE only supports 1024 chars (out-of-the-box) and NSClient++ (0.3.x) only supports 4096 internally without configuration mentioned above.

0.4.0 solves this internally and at some point also externally by replacing NRPE with a better protocol.

But if you use NRPE you probably want to limit your script output to not return a lot of data...

Michael Medin

comment:2 Changed 22 months ago by mickem

  • Component changed from Core to CheckSystem
  • Description modified (diff)
Note: See TracTickets for help on using tickets.