> --- Ursprüngliche Nachricht ---
> Von: "Dennis Hopp" <[EMAIL PROTECTED]>
> An: <[EMAIL PROTECTED]>, <[email protected]>
> Betreff: RE: [Nagios-users] Using Templates
> Datum: Fri, 20 Jan 2006 10:41:05 -0600
> 
>  
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED] On Behalf 
> > Of [EMAIL PROTECTED]
> > Sent: Friday, January 20, 2006 10:36 AM
> > To: [email protected]
> > Subject: [Nagios-users] Using Templates
> > 
> > Hi,
> > 
> > is it possible to use more than one template for one service?
> > 
> > e.g.:
> > 
> > define service{
> > ...
> > use devicetype,sla,monitoringhost
> > ...
> > }
> 
> Not in this way....
> 
> What I believe you can do is create a base template, then have another
> template use that base, then have a third template use the second
> template.  If any of the templates have the same options defined, the
> last one wins.
> 
> So...
> 
> define template{
>       ....
> }
> 
> define template2{
>       use template
>       ....
> }
> 
> define template3{
>       use template2
>       ....
> }
> 
> define service{
>       use template3
> }
> 
> --Dennis
> 

I feared that answer, so I've to do more 'Template Engineering' ;)

Thanks anyway Dennis.


Alex

-- 
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to