[zenoss-zenpacks] Re: WindowsWMIDeviceTemplate ZenPack v2.0 has been published

James Pulver jmp242 at mail.lepp.cornell.edu
Mon Nov 12 14:50:26 EST 2007


Thanks for all the help! I have it working now, and it has been solid 
over the weekend. I think this should be the default Windows solution in 
Zenoss rather than Informant!

--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University



jason wrote:
> [quote="jmp242"]Hmmm, how do you unbind templates? [/quot]
> 
> Go to the Templates page and select the Bind Templates... menu item.  This will bring up the Bind Templates dialog which lists all the templates available to this Device Class/Device.  The ones that are bound are already selected.  You can select or deselect templates to set the bindings at this level.
> 
> [quot="jmp242"]How do you know if a template is 
> bound to a class or not?[/quot]
> 
> There are two ways.  You can bring up the Bind Templates dialog to see what is selected.  Alternatively, you can take a look at the zDeviceTemplates zProperty.  (That dialog is just a fancy gui for setting the value of the zProperty.)
> [quot="jmp242"]In my /NativePoll subclass, I only have a 
> checkbox for the Device_WMI_SNMP_v2 Performance Template. So I can't 
> actually change any of the other shown templates, to bind them or not.[/quot]
> The checkboxes are only shown for templates actually defined at that Device Class.  Without actually looking, I think this is for the delete and move menu items.  The Bind Templates dialog doesn't make any use of the checkboxes.
> 
> It's unfortunate that you can't determine template bindings just by looking at a Device Class's Templates page.  The Templates page for a Device is different, it shows only the bound templates and not any available templates that aren't bound.  This is a situation I'd like to make more sane in 2.2.
> 
> -jason
> 
> 
> 
> 
> -------------------- m2f --------------------
> 
> Read this topic online here:
> http://community.zenoss.com/forums/viewtopic.php?p=13037#13037
> 
> -------------------- m2f --------------------
> 
> 
> 
> _______________________________________________
> zenoss-zenpacks mailing list
> zenoss-zenpacks at zenoss.org
> http://lists.zenoss.org/mailman/listinfo/zenoss-zenpacks


More information about the zenoss-zenpacks mailing list