From: Terry S. <gal...@ma...> - 2002-06-20 17:04:23
|
Russell, I had a setup almost identical to this. All you have to do is set up your distributed server with active checks, and your central server as passive. The one thing you do need to be aware of is that your "central" server must have definitions for all hosts/services/contacts/check commands/etc... that the passive servers are sending information about. There are a few issues if your central server is passive: For each service that is passive, the following seem to be true: Nagios doesn't appear to have a concept of "passive notifications"... That is to say that a server doesn't record that a specific notification should have been sent out when it gets passive results. This may or may not matter to you, as it's mostly cosmetic. You can't set downtime/comments from the "central" server and have it populate to the distributed servers. This was a problem for us, but it may not be if you don't want to set downtime from your central server. You can't disable passive hosts from the "central" server. The reason for all of these is that any modifications made on the website for the central server only get changed in its configuration files. So I guess the answer is that, yes, you can do it, but depending on what you are really looking for, this may not be the answer. What is "central" about your server? Ours was one that our helpdesk, and various computing groups need to access. Our computing groups need to be able to issue downtime and so forth, and as such, it wasn't logical to use our central server as a passive data collector, since our changes wouldn't propagate to the active monitor without a lot of under the hood tweaking. I hope this helps. - Terry On Thursday, June 20, 2002, at 09:42 AM, Russell Scibetti wrote: > I am currently working with the distributed model of Nagios (b3) where > two different boxes running Nagios are reporting up to one central > instance. I'm using NSCA 2.1 to do this. However, I am having a small > problem involving passive Host checks. In the documentation on the > distributed model, it is written "I'd recommend that you perform host > checks actively from the central server...There are ways to obtain host > checks passively, but implementing them is beyond the scope of what I > care to write about at this time." > > The problem with this is that the hosts that my distributed Nagios node > is checking cannot be reached from the central server, hence I can only > do active checks from the distributed node and must passively send the > resuts to the central nagios. I don't know how to set this up in the > configuration. Has anyone done this or does anyone know how to set it > up so this works? I really don't have any other option. Any help > would be really appreciated. Thanks. > > -Russell Scibetti > > -- Russell Scibetti > Quadrix Solutions, Inc. > http://www.quadrix.com > (732) 235-2335, ext. 7038 > > > > > ------------------------------------------------------- > Bringing you mounds of caffeinated joy > >>> http://thinkgeek.com/sf <<< > > _______________________________________________ > Nagios-users mailing list > Nag...@li... > https://lists.sourceforge.net/lists/listinfo/nagios-users |