Re: [Nagios-devel] Core 4 Remote Workers

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.
Locked
Guest

Re: [Nagios-devel] Core 4 Remote Workers

Post by Guest »

This is a multi-part message in MIME format.
--------------040808050609090004090605
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

On 05.02.2013 12:43, Eric Stanley wrote:
> I find the idea of the remote worker using hostgroups to volunteer for
> checks appealing because of its simplicity, but might it not be fragile?
> Assume the members of the hostgroup must be checked using a remote
> worker because of network configuration. If someone removes a host from
> the hostgroup, it will cease to be checked. If someone deletes (or
> renames) the hostgroup, none of the hosts will be checked. If someone
> adds a host to the hostgroup that the remote worker cannot check, it
> will never be checked. You might spend a lot of time trying to figure
> out why your hosts/services aren't being checked in one of these cases.
>>> Using the second criteria of host to determine which worker gets the
>>> check raises the question of the order of precedence for the criteria.
>>> Initially, I think the host should have precedence over plugin, but I
>>> can see implementing and order of precedence option in the core
>>> configuration file. This would be more important if additional worker
>>> selection criteria were added.

I attached a picture with mod-gearmans queue decision procedure.
So what would happen...

if you rename a hostgroup?
-> the catch all queues will take care of that check (or nagios in this case)

if you remove a hostgroup?
-> the catch all queues will take care of that check (or nagios in this case)

if all worker are going down for a hostgroup:
-> nagios will alert about orphaned host/service checks

if a misconfigured worker runs checks for the wrong group
-> nagios will either alert with rc=127 or some other error, but you would
see the worker in the gui because that information is stored with the
check result.

Sven

--
Sven Nierlein Sven.Nierlein@consol.de
ConSol* GmbH http://www.consol.de
Franziskanerstrasse 38 Tel.:089/45841-439
81669 Muenchen Fax.:089/45841-111

--------------040808050609090004090605
Content-Type: image/png;
name="mod_gearman_queues.png"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="mod_gearman_queues.png"

iVBORw0KGgoAAAANSUhEUgAAAtAAAAIcCAYAAADffZlTAAAC7mlDQ1BJQ0MgUHJvZmlsZQAA
eAGFVM9rE0EU/j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FWwly7ItybYcV7Z3
/R2+5V3L8l/bu/u9K9srB9myvHJSpJWsQFIiRZEUwShmMJNIBJHD5Ljn3Krzurq6Z3oGMyAG
mCpgXtW7deuGU9Xv3Vddr7puHMnllBHICGQEMgIZgYxARiAjkBHICEwJgfopcWWmjEBGICOQ
EcgIZAQyAhmBjEBGwBDIAXQeCBmBjEBGICOQEcgIZAQyAhmBaSCQA+hpgJVZMwIZgYxARiAj
kBHICGQEMgI5gM5jICOQEcgIZAQyAhmBjEBGICMwDQRyAD0NsDJrRiAjkBHICGQEMgIZgYxA
RqAxQ5ARmGsIcGOYMewN8+xLB9y23X2up394rpmY7ckIZAQyAjNGoKO10S3rbnVnnLDQNdTX
ubq6uhnLzAIyAhmBVwaBHEC/MjhnLVNEYGxszP37PVvc5+540dXXNbqujg7X1NjsxvEvp4xA
RiAjcKwgwGB5eGTY9fX3uYHBQfdjl57g3nH5Wldfn78YPlb6OPtxbCNQl/eBPrY7+Gjxzmad
ETz/ty886p7ePuTOPOU0193ZFcznrAwD6IlmZ1QXguzk1JqJRokqB/aK+gpC2oBC4pTaV4s/
bjuVcio/bZPoS05rulMhPiWkAlP90+VP29c6T+Wn/Il9yWn2H3gJE0Kn

...[email truncated]...


This post was automatically imported from historical nagios-devel mailing list archives
Original poster: Sven.Nierlein@consol.de
Locked