[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

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 jt...@gpworldwide.com wrote: I am having a

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 correctly

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

2009-09-23 Thread Tata, Joseph
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 Definitions

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

2009-09-23 Thread Greg Pangrazio
- 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 you define win-host can you put use prod-host in the definition

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

2009-09-23 Thread Mathew Walker
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. Here is an example. I have two templates

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 jt...@gpworldwide.com 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:

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

2009-09-23 Thread Tata, Joseph
...@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 ... define hostgroup{ hostgroup_name DUMMY2 alias

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 is my