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. <br><br>So that you don't have one lengthy file and locating/editing particular issues becomes easier.
<br><br>--<br>Ismail<br><br><div><span class="gmail_quote">On 1/9/07, <b class="gmail_sendername">Nedim Bicic</b> <<a href="mailto:nedo72@gmail.com">nedo72@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hey everyone here is a question i have nagios working but how</div>
<div>do you do this below spliting these files into its own like minimal.cfg </div>
<div> </div>
<div>thanks</div>
<div> </div>
<div><pre># You can split other types of object definitions across several<br># config files if you wish (as done here), or keep them all in a<br># single config file.<br><br>#cfg_file=/etc/nagios/minimal.cfg<br></pre><pre>
cfg_file=/etc/nagios/contactgroups.cfg<br>cfg_file=/etc/nagios/contacts.cfg<br>#cfg_file=/etc/nagios/dependencies.cfg<br>#cfg_file=/etc/nagios/escalations.cfg<br>cfg_file=/etc/nagios/hostgroups.cfg<br>cfg_file=/etc/nagios/hosts.cfg
<br>cfg_file=/etc/nagios/services.cfg<br>cfg_file=/etc/nagios/timeperiods.cfg<br></pre></div>

<br>-------------------------------------------------------------------------<br>Take Surveys. Earn Cash. Influence the Future of IT<br>Join SourceForge.net's Techsay panel and you'll get the chance to share your
<br>opinions on IT & business topics through brief surveys - and earn cash<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV" target="_blank">
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV</a><br><br>_______________________________________________<br>Nagios-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Nagios-users@lists.sourceforge.net">
Nagios-users@lists.sourceforge.net</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users
</a><br>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null<br><br></blockquote></div><br><br clear="all"><br>