ConSol-Monitoring / snclient

SNClient+ - Cross platform monitoring agent
MIT License
48 stars 8 forks source link

"payload length" is not working #21

Closed firatalkis closed 1 year ago

firatalkis commented 1 year ago

Hi,

I have added tag of "payload length" under the " [/setting/NRPE/server] but ı got the following error.

"[2023-07-05 17:04:11.923][Error][pid:6248][listen_nrpe:80] nrpe protocol error: nrpe: response checksum failed: 3529001219 != 122204885"

image

image

sni commented 1 year ago

that's not implemented and i am not sure if we should do it at all. Using nrpe v4 has unlimited payload length, so instead you can remove the -2 and it should just work.

firatalkis commented 1 year ago

yes thats works thanks but if you have output size greater than 1024 byte I think the agent cutting the last character. do you have a comment about it?

sni commented 1 year ago

thanks, good catch, should be fine now.

firatalkis commented 1 year ago

thanks, good catch, should be fine now.

Thanks, I will try it at next week.

firatalkis commented 1 year ago

thanks, good catch, should be fine now.

do you have a chance tried this solution? because I tested version of 0.04 but problem is not fixed.

Still cutting last character when output size greather than 1024 byte.

image

should be output:

image

sni commented 1 year ago

you need to use a nightly build, this fix has not made it into a release yet.

firatalkis commented 1 year ago

oh, I am sorry :) thanks that worked