Breaking up hosts.cfg into manageable files, possible?

Hirbour, John John.Hirbour at dsl.net
Wed Nov 5 20:57:48 CET 2003


You can make many many config files as long as you include in the main
nagios.cfg

IE: 

cfg_file=/u00/nagios/etc/big-hosts.cfg
cfg_file=/u00/nagios/etc/big-hosts2.cfg
cfg_file=/u00/nagios/etc/big-hosts-contact-groups.cfg
cfg_file=/u00/nagios/etc/big-hosts-services.cfg


etc...


On Wed, 2003-11-05 at 10:54, MT Morales wrote:
> 
> Is it possible to break up the hosts.cfg (and services.cfg) in to 
> small, more manageable files (like for different types of systems)? 
> i.e. do the hosts.cfg and service.cfg object files support some sort 
> of "include <unix-hosts.cfg>" statement?
> 
> sorry if this is too simple a question. I just haven't found anything 
> that addresses that option in the docs.
> 
> Any pointers on that (or solution approach) will be appreciated
> Tomas
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?   SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
-- 
~#
John Hirbour
OSS Development
DSL.net
(203)782-3871
(800)455-5546 Customer Support
(866)340-2582 Network Security/Abuse
~#


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list