nrpe缓冲区大小超过

时间:2017-05-02 11:07:09

标签: nagios nrpe

我正在研究nagios nrpe,我正在尝试实现自己的nrpe插件,问题是我的插件输出有超过1024字节的char,这比nrpe数据包缓冲区大小更多。

A packet carrying the NRPE payload has a fixed layout where in order of occurence in the packet the following fields are defined:

[2 Byte int16_t] – Version number
[2 Byte int16_t] – Type (Query/Response)
[4 Byte u_int32_t] – CRC32 Checksum
[2 Byte int16_t] – result code (OK, WARNING, ERROR, UNKNOWN)
[1024 Byte char] Buffer

有没有办法增加这个缓冲区的大小??????

0 个答案:

没有答案