Can I nest services configuration file?
Sancho2k Lists
lists at sancho2k.net
Tue Oct 22 04:03:38 CEST 2002
Mauricio Montiel G. wrote:
> Hi,
> I'm adding hosts and services to my nagios installation. The question
> is: Can I nest dot-cfg files?
> I would like to create different service configuration files for each
> kind of device in my network.
>
> Thanks in advance,
>
> Mauricio Montiel G.
Seems as long as you define the config files that you are going to use
in nagios.cfg, you can have as many as you want (as long as they contain
legitimate configs):
From nagios.cfg:
--------------------
[...]
# You can split other types of object definitions across several
# config files if you wish (as done here), or keep them all in a
# single config file.
cfg_file=/usr/local/nagios/etc/contactgroups.cfg
cfg_file=/usr/local/nagios/etc/contacts.cfg
cfg_file=/usr/local/nagios/etc/dependencies.cfg
cfg_file=/usr/local/nagios/etc/escalations.cfg
cfg_file=/usr/local/nagios/etc/hostgroups.cfg
cfg_file=/usr/local/nagios/etc/hosts.cfg
cfg_file=/usr/local/nagios/etc/services.cfg
cfg_file=/usr/local/nagios/etc/timeperiods.cfg
[...]
---------------------
Darren Spruell
>
>
>
> -------------------------------------------------------
> This sf.net emial is sponsored by: Influence the future
> of Java(TM) technology. Join the Java Community
> Process(SM) (JCP(SM)) program now.
> http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/javavote
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/javavote
More information about the Users
mailing list