host checks are being done by different gearman

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: host checks are being done by different gearman

Post 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
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: host checks are being done by different gearman

Post 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.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: host checks are being done by different gearman

Post 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
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: host checks are being done by different gearman

Post 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.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: host checks are being done by different gearman

Post by bosecorp »

that worked. thanks. you can close the ticket
Locked