Page 2 of 2

Re: host checks are being done by different gearman

Posted: Wed Jul 29, 2015 3:55 pm
by bosecorp
I understand the first part. yes, the dcn host it not part of any hostgroup. however the default queue runs on a different worker ( NAGIOS XI Server also is a worker and it supposed to the default queue)

the new worker only supposed to do host checks that are on the dca1 queue and this is not happening

Re: host checks are being done by different gearman

Posted: Wed Jul 29, 2015 4:07 pm
by jdalrymple

Code: Select all

# defines if the worker should execute
# host checks.
hosts=yes
If you want it to stop processing host checks for all other hosts you'll have to change this to hosts=no.

As for why it's not processing dca checks, probably because it's too busy with other hosts. You have hundreds of other hosts, but only 70 or so dca hosts as I recall.

Re: host checks are being done by different gearman

Posted: Wed Jul 29, 2015 4:14 pm
by bosecorp
I always though that settings was to allow this worker to do host check only for the queues that are defined on the same config file

Re: host checks are being done by different gearman

Posted: Wed Jul 29, 2015 4:18 pm
by jdalrymple
It's deceptive.

'hosts=yes' means it will handle all hosts that aren't part of another hostgroup queue. If you add a hostgroup queue though, the worker will execute host checks for the hosts in that queue even with the `hosts=no' in place, and also service checks if you have those enabled.

Re: host checks are being done by different gearman

Posted: Thu Jul 30, 2015 11:19 am
by bosecorp
that worked. thanks. you can close the ticket