Orphaned checks.

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
linuxnerd
Posts: 13
Joined: Mon Jul 02, 2018 12:57 am

Re: Orphaned checks.

Post by linuxnerd »

i made the suggested changes and am still seeing the warning.

my limits.conf:

Code: Select all

#locked memory
* hard memlock 256
* soft memlock 256

#open files
* soft nofile 40960
* hard nofile 40960

#max user processes
* hard nproc 32768
* soft nproc 32768

#stack size
* hard stack 131072
* soft stack 131072

linuxnerd
Posts: 13
Joined: Mon Jul 02, 2018 12:57 am

Re: Orphaned checks.

Post by linuxnerd »

i should have stated that this is a distributed setup where multiple nodes are performing active checks and sending the results to a 'master' node via ocsp / ncsa.
when i set obsess_over_service = 0, the problem goes away.
it seems like checks are delayed until all the ocsp handlers finish executing.
is there a way to have checks continue while the ocsp handler is still handler?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Orphaned checks.

Post by scottwilkerson »

linuxnerd wrote:i should have stated that this is a distributed setup where multiple nodes are performing active checks and sending the results to a 'master' node via ocsp / ncsa.
when i set obsess_over_service = 0, the problem goes away.
it seems like checks are delayed until all the ocsp handlers finish executing.
is there a way to have checks continue while the ocsp handler is still handler?
I believe this was resolved in Nagios Core version > 4
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
linuxnerd
Posts: 13
Joined: Mon Jul 02, 2018 12:57 am

Re: Orphaned checks.

Post by linuxnerd »

i managed to workaround the problem by spooling the check results into a buffer directory, then run a diff script to batch send the results to nsca.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Orphaned checks.

Post by scottwilkerson »

linuxnerd wrote:i managed to workaround the problem by spooling the check results into a buffer directory, then run a diff script to batch send the results to nsca.
that sounds like a better solution. Glad you were able to work it out.

Closing
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked