[Modularit-users] Services in nagios

Miguel Armas kuko at canarytek.com
Thu Aug 27 15:31:32 WEST 2009


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?

> 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"

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.

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.

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

Salu2!
-- 
Miguel Armas <kuko at canarytek.com>
CanaryTek Consultoria y Sistemas SL
ModularIT http://www.modularit.org/


More information about the Modularit-users mailing list