Jun 6, 2012 6:11 AM
How to bind templates locally to a device using cli
-
Like (0)
Hi,
I need help for binding a template locally or overriding the global device template through any zen command.
I also want to change the datasource properties for the locally binded device templates using cli.
Also elaborate the usage of zenbatchload command with loader option as help guide is somewhat confusing
I dont want to use gui for this purpose.
Is there any work around for this.
Kindly suggest
Regards,
Pranay
I have found the work around for this.
I have created new zNewProperty, and added this zNewProperty to all the devices.
Then used zenmigrate command after importing the znewproperty in init.py file
Modified the Zenpack datasourcepoints as per requirement.
Then set the value for parameter required to be changed at run time dependend on the device specification as ${here/zNewProperty}.
Now while executing zenbatchload command , I have added the zNewProperty with the value required.
and modelled the device
Ref: docs/DOC-2347
Thanks,
Pranay
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||