Breaking up hosts.cfg into manageable files, possible?

Yanek Korff ykorff at cigital.com
Wed Nov 5 20:32:05 CET 2003


Set cfg_dir in nagios.ini to a directory containing arbitrarily named
configuration files. 

-Yanek.

> -----Original Message-----
> From: MT Morales [mailto:nagios at pensol.net] 
> Sent: Wednesday, November 05, 2003 10:54
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Breaking up hosts.cfg into manageable 
> files, possible?
> 
> 
> 
> 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
> 


----------------------------------------------------------------------------
This electronic message transmission contains information that may be
confidential or privileged.  The information contained herein is intended
solely for the recipient and use by any other party is not authorized.  If
you are not the intended recipient (or otherwise authorized to receive this
message by the intended recipient), any disclosure, copying, distribution or
use of the contents of the information is prohibited.  If you have received
this electronic message transmission in error, please contact the sender by
reply email and delete all copies of this message.  Cigital, Inc. accepts no
responsibility for any loss or damage resulting directly or indirectly from
the use of this email or its contents.
Thank You.
----------------------------------------------------------------------------


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