template config file

Michael Hüttig Michael.Huettig at Medien-Systempartner.de
Thu Mar 20 10:30:14 CET 2003


Am Mittwoch, 19. März 2003 16:42 schrieb Steve Dussaux:
> Hello,
>
> I have a little question concerning Nagios config files.
> I'd like to seperate templates definitions from config files (services.cfg,
> hosts.cfg,...)
>
> Is it possible to do this ?

Yes, no problem with different cfg like service-templates.cfg, 
host-templates.cfg and so on, you only have to configure the cfg's in 
nagios.cfg with
...
cfg_file=/usr/local/nagios/etc/servicetemplates.cfg
cfg_file=/usr/local/nagios/etc/hosttemplates.cfg
...

or 

cfg_dir=/usr/local/nagios/etc/templates



>
> Thanks,
> Steve
>
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> Yahoo! Mail : http://fr.mail.yahoo.com
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Does your code think in ink?
> You could win a Tablet PC. Get a free Tablet PC hat just for playing.
> What are you waiting for?
> http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
> _______________________________________________
> 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

-- 
Michael



**********************************************************************
Diese E-Mail wurde auf Viren ueberprueft.
www.mimesweeper.com
**********************************************************************



-------------------------------------------------------
This SF.net email is sponsored by: Tablet PC.  
Does your code think in ink? You could win a Tablet PC. 
Get a free Tablet PC hat just for playing. What are you waiting for? 
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
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