Re: [Nagios-users] Object Definitions with Multiple Templates

2009-09-23 Thread Scott Lambert
On Wed, Sep 23, 2009 at 11:05:11AM -0400, Tata, Joseph wrote: > I am having a problem getting Nagios to accept multiple templates in > object definitions. > > Here is an example. I have two templates defined in templates.cfg: > > > define host { > use host #This i

Re: [Nagios-users] Object Definitions with Multiple Templates

2009-09-23 Thread Tata, Joseph
From: Mathew Walker [mailto:lmw94...@hotmail.com] Sent: Wednesday, September 23, 2009 12:27 PM To: Tata, Joseph; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Object Definitions with Multiple Templates make sure you have hostgroup definitions setup ... def

Re: [Nagios-users] Object Definitions with Multiple Templates

2009-09-23 Thread Marc Powell
On Sep 23, 2009, at 10:32 AM, Tata, Joseph wrote: > On Wed, Sep 23, 2009 at 10:05 AM, Tata, Joseph > wrote: >> I am having a problem getting Nagios to accept multiple templates in >> object definitions. >> >> Here is an example. I have two templates defined in templates.cfg: >> Instead when

Re: [Nagios-users] Object Definitions with Multiple Templates

2009-09-23 Thread Mathew Walker
gt; Date: Wed, 23 Sep 2009 11:05:11 -0400 > From: jt...@gpworldwide.com > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Object Definitions with Multiple Templates > > I am having a problem getting Nagios to accept multiple templates in > object definitions. >

Re: [Nagios-users] Object Definitions with Multiple Templates

2009-09-23 Thread Greg Pangrazio
> > -Original Message- > From: Greg Pangrazio [mailto:pangr...@gmail.com] > Sent: Wednesday, September 23, 2009 11:28 AM > To: Tata, Joseph > Cc: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] Object Definitions with Multiple Templates > > When

Re: [Nagios-users] Object Definitions with Multiple Templates

2009-09-23 Thread Tata, Joseph
if I could actually use multiple templates where necessary. Joseph P. Tata -Original Message- From: Greg Pangrazio [mailto:pangr...@gmail.com] Sent: Wednesday, September 23, 2009 11:28 AM To: Tata, Joseph Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Object Defini

Re: [Nagios-users] Object Definitions with Multiple Templates

2009-09-23 Thread Justin Pryzby
On Wed, Sep 23, 2009 at 11:05:11AM -0400, Tata, Joseph wrote: > http://nagios.sourceforge.net/docs/3_0/objectinheritance.html indicates > this should be possible, and that the resulting object should have > properties of both hosts, but something isn't working. Am I not > defining something correc

Re: [Nagios-users] Object Definitions with Multiple Templates

2009-09-23 Thread Greg Pangrazio
When you define win-host can you put "use prod-host" in the definition? Then in the host, only put "use win-host"? Does this do what you are trying to accomplish? Greg Pangrazio pangr...@gmail.com On Wed, Sep 23, 2009 at 10:05 AM, Tata, Joseph wrote: > I am having a problem getting Nagios

[Nagios-users] Object Definitions with Multiple Templates

2009-09-23 Thread Tata, Joseph
I am having a problem getting Nagios to accept multiple templates in object definitions. Here is an example. I have two templates defined in templates.cfg: define host { use host #This is my "generic" template with all my basic options in it name