On Jun 2, 2008, at 7:49 AM, jhajas wrote:
Hi, I cannot find appropriate method to get HW Tag! If I use your
example above (getHWTag) I get "Unknown column" instead of value.
Also in
http://www.zenoss.com/community/docs/zenoss-api-docs/2.1/ZenModel.Device.Device-class.html
there is no method like that mentioned. Any suggestion?
You can create the method yourself using the following steps.
1. Go to http://yourzenoss:8080/zport/dmd/Devices/manage
2. Choose "Script (Python)" from the drop-down in the upper-right and
click Add
3. Set the Id to "getHWTag"
4. Click Add and Edit
5. Erase the default contents and replace with "return context.hw.tag"
6. Save
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users