Increase NRPE payload
Posted: Mon May 05, 2014 1:33 pm
It appears that the Windows NSClient++ 0.4.2 has fixed the nrpe payload limitation of 1024 characters. I attempt to increase the payload size to 2048. But it doesn't appear to work. Do you happen to have an example on how to configure the nsclient++ and/or the NagiosXI server? My goal is to use the real-time eventlog monitor, which I do have working. But I would like not to truncate the message that is sent back to NagiosXI. I don't necessarily need to log the full message, but I would like the full message(s) to be sent in the email alert.
See Message #3448
http://nsclient.org/nscp/discussion/message/3452
See Message #3647
http://www.nsclient.org/nscp/discussion/topic/1431
See Lines 1515 and 1770
https://www.nsclient.org/nscp/browser/nscp/changelog
In NSClient++ 0.4.2 configuration file- nsclient.ini, I attempted several combinations of the following settings below.
See Message #3448
http://nsclient.org/nscp/discussion/message/3452
See Message #3647
http://www.nsclient.org/nscp/discussion/topic/1431
See Lines 1515 and 1770
https://www.nsclient.org/nscp/browser/nscp/changelog
In NSClient++ 0.4.2 configuration file- nsclient.ini, I attempted several combinations of the following settings below.
Code: Select all
[/settings/default]
string_length=2048
payload length = 2048
;
[/settings/NRPE/client]
string_length = 2048
payload length = 2048
;
[/settings/NRPE/server]
string_length = 2048
payload length = 2048
;
[/settings/NRPE/client/targets/default]
string_length = 2048
payload length = 2048