[Modularit-users] Services in nagios

Miguel Armas kuko at canarytek.com
Fri Aug 28 10:53:19 WEST 2009


El 28 de agosto de 2009 01:13, Imobach González
Sosa<imobachgs at banot.net> escribió:
>
>> 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?

Yes, when we export a resource we tag it with "nagios" and
"nagios-$admindomain" and in the nagios servers we do:

if ($mainnagios=true)
  extract resources tagged as nagios (ALL)
else
  extract resources tagged as nagios-$admindomain (nagios resources
created by hosts in that admindomain)
end

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

If that is your only nagios server, define mainnagios=true to check if
it was a problem with the resource tagging

Also, right now you can have distributed Nagios, but NOT distributed
Puppet. Because Nagios uses Puppet's stored configuration and Puppet
does not (yet?) support distributed storeconfigs
So, even though ModularIT's NOC virtual machine includes Nagios and
Puppet, if you have a central NOC and install a NOC in a client, the
Puppet server in that client's NOC can NOT be used if you want to have
a central Nagios receiving all notifications
We have to find a workaround for this problem...

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