Page 1 of 1

submit_check_result hanging and queueing

Posted: Mon Jun 18, 2018 12:21 am
by hjohanns
Hello,
still quite a newbie, but have a nagios in production.
Version is 4.2.4.
I had a problem 3 weeks ago, for some reason (that I could not understand), a call to
submit_check_result <host name> 'App name' $exitCode "Message"
remained pending for about 2 weeks.
Behind it, all the following calls to submit_check_result piled, and blocked processing.
Is there any way I can put a timeout, or protect the business function from a monitoring hang?
I am using submit_check_result for a passive check on my own application.
The process did not seem to have files opened or locks, it was just hung.
Thanks for any hints on how I could debug. At the moment it has occurred only once.
Hubert J.

Re: submit_check_result hanging and queueing

Posted: Tue Jun 19, 2018 8:31 am
by scottwilkerson
I've never heard of this, was it a zombie nagios process? If not what process was it?