Includes for services.conf

atonns at mail.ivillage.com atonns at mail.ivillage.com
Wed Dec 18 23:30:42 CET 2002


Actually, I create templates for each service instead and place them in a
directory.
Then I replace

cfg_file=hosts.cfg
cfg_file=services.cfg

I use the following:

cfg_dir=host1
cfg_dir=host2
cfg_dir=routers/router1
cfg_dir=routers/router2
etc...

(of course I still have hosts.cfg and services.cfg with generic-host and
generic-service)

--
"Computer science is as much about computers as
        astronomy is about telescopes" -- Edsger Dijkstra
---------------------------------------------------------
Anthony Tonns, UNIX Administrator - atonns at mail.ivillage.com


-----Original Message-----
From: Jason Dixon [mailto:jasondixon at myrealbox.com]
Sent: Wednesday, December 18, 2002 4:51 PM
To: Nagios List
Subject: Re: [Nagios-users] Includes for services.conf


Sorry, I just read the documentation a bit deeper and found the "trick"
that allows me to specify multiple hosts per service.  This looks even
better.  :)

Thanks,
J.

On Wed, 2002-12-18 at 16:27, Jason Dixon wrote:
> Is it- or would it be- possible to implement "includes" in the
> services.conf file.  It would be much more scalable, from a
> administrator's POV, to break the services.conf file into one small
> template with a list of host "includes".  Then you could manage each
> host's services in a separate file.  This has a myriad of applications,
> IMHO.
> 
> If it is already possible, perhaps someone could point me in the right
> direction?
> 
> Thanks,
> -J.
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by: Order your Holiday Geek Presents Now!
> Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap,
> MP3 Players,  XBox Games,  Flying Saucers,  WebCams,  Smart Putty.
> T H I N K G E E K . C O M       http://www.thinkgeek.com/sf/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> 




-------------------------------------------------------
This SF.NET email is sponsored by: Order your Holiday Geek Presents Now!
Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap,
MP3 Players,  XBox Games,  Flying Saucers,  WebCams,  Smart Putty.
T H I N K G E E K . C O M       http://www.thinkgeek.com/sf/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20021218/414bb871/attachment.html>


More information about the Users mailing list