breun wrote, On 12/2/2008 12:32 PM:
> jmp242 wrote:
>> You can see what templates are applied by going to the Bind Templates
>> dialog. Whatever is highlighted in blue is applied...
>
>
> If that it true, then that means that templates bound to superclasses are not
> automatically inherited by subclasses. If does correspond to what I
> experienced.
>
>
>> This may be a 2.3 difference, or it may be what I said before, but for
>> me when in 2.1.x I was creating /Devices/Server/Linux/Web and
>> /Devices/Server/Linux/MySQL, they each got /Devices from the
>> /Devices/Server/Linux as well as other non template appropriate settings
>> (i.e., it wasn't trying WMI for instance, and they did get the UCHD map
>> for Linux . . .).
>
>
> What do you mean by 'they got' those templates? Do you mean that the Device
> template was automatically highlighted for those subclasses or that they were
> inherited but not explicitly bound for those superclasses?
>
Well, in my case, the templates were bound (highlighted) automatically
in the subclass.
> By the way, what do you when you want devices that have both your Web and
> your MySQL templates bound? Do you create a third subclass (WebAndMySQL?)
> that has both templates bound?
>
Yes, the best way (I think) would be to do that. As I only have one
server, I was lazy and put it in .../MySQL and added the templates to
just that device for Apache and HTTPMonitor . . .
>
> -------------------- m2f --------------------
>
> Read this topic online here:
> http://forums.zenoss.com/viewtopic.php?p=28564#28564
>
> -------------------- m2f --------------------
>
>
>
> _______________________________________________
> zenoss-users mailing list
> [email protected]
> http://lists.zenoss.org/mailman/listinfo/zenoss-users
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users