Splitting files

Ismail M. Settenda ismail at habari.co.tz
Tue Jan 9 08:38:39 CET 2007


My understanding was that instead of having all the cfg options i.e
contactgroups.cfg in one file (objects.cfg). One can split these to
different files as specified in nagios.cfg.

So that you don't have one lengthy file and locating/editing particular
issues becomes easier.

--
Ismail

On 1/9/07, Nedim Bicic <nedo72 at gmail.com> wrote:
>
> Hey everyone here is a question i have nagios working but how
> do you do this below spliting these files into its own like minimal.cfg
>
> thanks
>
>
> # 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=/etc/nagios/minimal.cfg
>
> cfg_file=/etc/nagios/contactgroups.cfg
> cfg_file=/etc/nagios/contacts.cfg
> #cfg_file=/etc/nagios/dependencies.cfg
> #cfg_file=/etc/nagios/escalations.cfg
> cfg_file=/etc/nagios/hostgroups.cfg
> cfg_file=/etc/nagios/hosts.cfg
> cfg_file=/etc/nagios/services.cfg
> cfg_file=/etc/nagios/timeperiods.cfg
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070109/9d196274/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
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