-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add compatibility to Opsview NRPE large output patch #3
base: master
Are you sure you want to change the base?
Conversation
Hi there! Sorry for the delay! This seems legit, my only comment on that is to replace .info with .debug message :) |
are you still around for / with this patchset ? there will certainly need some rebase/adaptation vs the last updates done in master branch but nothing hard. |
Yeah, I'm still around, but I still could not bring the nrpe_poller to loop/receive more than 1kB, could you have a look and give me a hint, where I need to loop over the NRPE client responses? |
I'm gonna give it a try on my side, based on what you try to do.. |
Think I've it done. Gonna open another PR with it.. you'll have to give it try.. but : the link you gave (http://www.opsview.com/whats-new/blog/enhancing-nrpe-large-output) doesn't lead anymore to the blog content.. I could found it in the web archive : some other references : |
there : #16 |
@xorpaul ping ;) |
Yeah I saw it :)
|
ok that's fine for me ;) |
Need more time to do this as I'm still running Shinken 1.4 and need to setup an up-to-date Shinken first :/ |
This is just pseudo code that should loop/receive NRPE response packets until it receives a normal NRPE response packet.
I patched my NRPE agents to support larger output than 1 kB:
http://www.opsview.com/whats-new/blog/enhancing-nrpe-large-output
The normal check_nrpe plugin shows the large output correctly, but because Shinken uses the nrpe_poller module it stops after receiving the first 1024 byte :/
I could not bring the nrpe_poller to loop/receive more than 1kB, could you have a look and give me a hint, where I need to loop over the NRPE client responses?