submit_check_result hanging and queueing

This forum is intended for the discussion of Nagios Core development. Feature requests, patches, bug fixes, and all types of development-related discussions are welcome!

NOTE: The SourceForge.net nagios-devel mailing list has been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

submit_check_result hanging and queueing

Postby hjohanns » Mon Jun 18, 2018 12:21 am

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.
hjohanns
 
Posts: 1
Joined: Mon Jun 18, 2018 12:12 am

Re: submit_check_result hanging and queueing

Postby scottwilkerson » Tue Jun 19, 2018 8:31 am

I've never heard of this, was it a zombie nagios process? If not what process was it?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 11583
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises


Return to Nagios Core Development

Who is online

Users browsing this forum: No registered users and 5 guests