question on template based objects
Jeremy T. Bouse
jeremy+nagios at undergrid.net
Sat Jul 12 20:36:37 CEST 2003
The other option if you're really wanting to seperate things to
that degree is to make a templates.cfg file and put all your templates
in that file... Then you can have it loaded first then load all your
other configuration files..
Regards,
Jeremy
On Fri, Jul 11, 2003 at 11:43:25AM -0700, Jason Truong wrote:
>
> I had a question regarding the use of templates.
> Say for example I have various configuration files such as:
>
> servers.cfg
> network.cfg
> ups.cfg
>
> In my network.cfg file, I have this "host definition template"
>
> define host{
> ...
> }
>
> My question is would I be able to now use this host definition template in my servers.cfg and ups.cfg without having to enter the text list above in my servers.cfg and ups.cfg files. (Basically so that I don't have to enter this host template 3 times)
>
> I'm migrating from Netsaint to Nagios and I'm trying to get use to this template based setup.
>
> Many thanks.
>
> Jason T.
>
-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
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