Split configfiles: services.cfg

Sven Pfeifer sven.pfeifer at netexpress.de
Mon Dec 20 13:23:03 CET 2004


Hi,

nagios <nagios at ggaweb.ch> wrote:
> Hi
> 
> We are testing nagios and want to come away from BigBrother. Could these 
> configfiles be splitted up? I meen, about 50 hosts will blow up 
> services.cfg to a large complex file. Especially with several services 
> per host. It would be fine if I could do it like this:
> services-host1.cfg, services-host2.cfg, etc...

try to use

        cfg_dir=/usr/local/etc/nagios/services

in our nagios.cfg. In the directory /opt/nagios/etc/services there
can be several files.

> Thanks, Florian

HTH

        Sven


Why You Can't Find Your System Administrator:
  Wandering around the halls looking for his/her lost sanity. --Michael Faurot mfaurot at phzzzt.atww.org]
-----------------------------------------------------[rand. sig. #142]



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
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