Skip to content
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

send_multi RC fix #7

Closed
wants to merge 1 commit into from
Closed

send_multi RC fix #7

wants to merge 1 commit into from

Conversation

flackem
Copy link
Contributor

@flackem flackem commented Nov 12, 2010

Hi Sven,
send_multi did not exit with a proper nagios compliant RC in case of success. The result were plenty of
Return code of 17 for check of service 'xyz was out of bounds
FIxed now.

Cheers,
-Matthias

send_multi now returns OK (RC 0) if child_checks have been delivered.
The previous return of the number of delivered checks was not Nagios
compliant.
@sni
Copy link
Owner

sni commented Nov 12, 2010

merci, its applied.

sni added a commit that referenced this pull request Nov 19, 2024
this leads to crashes sometimes:

    #0  0x00007ffff6f56387 in raise () from /lib64/libc.so.6
    #1  0x00007ffff6f57a78 in abort () from /lib64/libc.so.6
    #2  0x00007ffff43bca95 in __gnu_cxx::__verbose_terminate_handler() () from /lib64/libstdc++.so.6
    #3  0x00007ffff43baa06 in ?? () from /lib64/libstdc++.so.6
    #4  0x00007ffff43baa33 in std::terminate() () from /lib64/libstdc++.so.6
    #5  0x00007ffff43ba631 in __gxx_personality_v0 () from /lib64/libstdc++.so.6
    #6  0x00007ffff41559f4 in ?? () from /lib64/libgcc_s.so.1
    #7  0x00007ffff4155d44 in _Unwind_ForcedUnwind () from /lib64/libgcc_s.so.1
    #8  0x00007ffff6ab0362 in __pthread_unwind () from /lib64/libpthread.so.0
    #9  0x00007ffff6aa88e5 in sigcancel_handler () from /lib64/libpthread.so.0
    #10 <signal handler called>
    #11 0x00007ffff701020d in close () from /lib64/libc.so.6
    #12 0x00007ffff55846ab in ?? () from /omd/sites/mon/lib/libgearman.so.8
    #13 0x00007ffff558476e in ?? () from /omd/sites/mon/lib/libgearman.so.8
    #14 0x00007ffff558d02d in ?? () from /omd/sites/mon/lib/libgearman.so.8
    #15 0x00007ffff558d05e in ?? () from /omd/sites/mon/lib/libgearman.so.8
    #16 0x00007ffff558fe78 in gearman_worker_free () from /omd/sites/mon/lib/libgearman.so.8
    #17 0x00007ffff5e7e319 in gm_free_worker (worker=worker@entry=0x7ffff0386ee8) at common/gearman_utils.c:274
    #18 0x00007ffff5e83f88 in result_worker (data=<optimized out>) at neb_module_naemon/result_thread.c:115
    #19 0x00007ffff6aa9ea5 in start_thread () from /lib64/libpthread.so.0
    #20 0x00007ffff701eb0d in clone () from /lib64/libc.so.6
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants