[Modularit-users] Services in nagios

Imobach González Sosa imobachgs at banot.net
Fri Aug 28 01:13:53 WEST 2009


On Jueves 27 Agosto 2009 15:31:32 usted escribió:
> El 27 de agosto de 2009 14:17, Imobach González
>
> Sosa<imobachgs at banot.net> escribió:
> > I can't see any error message apart from:
> > debug: Failed to load library 'ldap' for feature 'ldap'
>
> So I guess you don't see any attempt to create the nagios files, right?

Yes, that's right.

> > node "customer.noc" inherits "customer" {
> >        # First installation?
> >        $bootstrap = yes
> >        $ip = "192.168.1.253"
> >
> >        $modularit_name = "customer.noc"
> >        $comment = "Customer monitor"
> >        include modularit
> > }
>
> Make sure this server and the nagios clients belong to the same
> "admindomain" (They have the same value in the admindomain variable).
> What I usually do is define the admindomain variable in the base host
> all hosts inherit ("curtomer" in your example), that way all hosts
> have the same "admindomain"

Yes, so do I. Really, the sample configuration file have the admindomain 
defined in the base host (in this case, 'customer').

> The concept of admindomain may not be very clear in the documentation,
> but is a crucial concept in the distributed monitoring configuration.
> An "admindomain" is the group of hosts that belong to the same
> company, client, etc. I usually define it per client.

Yes, I think I understood that.

> Normally, a nagios server only extract nagios resources that belong to
> the same admindomain, because network operators from client1 don't
> need information about client2.

Is puppet in charge of that task?

> So the problem may be that your nagios server is not extracting the
> resources becouse they don't belong to the same admindomain.
>
> If this is not part of a distributed monitoring system (it will be the
> ONLY nagios server), you can also define it as a "mainnagios" which is
> a nagios server that receives all informacion. To do that, just define
> $mainnagios = true
> before the
> include modularit
>
> A mainnagios server is used to receive ALL information in a ModularIT
> infraestructure. That way you have a nagios server in each
> "admindomain" with the information for that client's hosts, and you
> have a main server that receives ALL information from ALL admindomains

At this time, we are deciding if that server is going to be the mainnagios.

> Salu2!

Thank you!

Regards,
-- 
Imobach González Sosa
Banot.net
Web: http://www.banot.net/
Correo-e: info at banot.net
Teléfono: +34 928459949


More information about the Modularit-users mailing list