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.
When you run one of the checks manually from the XI server's command line, do you see all of the output you are requiring? Or is it being limited to the same amount that XI is displaying in the web interface? If it is being limited chances are things are not quite right on the NSClient++ side of things.
I ran the command from the Nagios server command line. It did truncate to 1023 characters. This will be the same size that is being sent in the email. Bu In NagiosXI's Service Status Details page, it truncates to 255 characters, It does appear that it is a nsclient++ setting needs to be tweaked to send more than 1024 characters and Nagios XI needs it's settings to display more than 255 characters in the web interface. For the NSClient++, it's my understanding from michem at nsclient.org, replied to my post that I needed to update the NRPE settings. But he didn't provide an example and there isn't any documentation that shows the settings. He didn't responded to my follow up question and my second post didn't show up in his forum. So I tried what I thought might work using string_length and payload length in several different locations in the ini file, but with no luck.