I'm working on some custom command templates, and need to pass various
pieces of information about a device - in particular the Serial Number -
around. Is there a list of these variables anywhere? I had hoped it
would correspond to the form field name (eg. ${serialNumber}) but alas I
was thwarted. Thanks for any pointers on this.

This one is ${dev/getHWSerialNumber}. You can use any property or method of the device that doesn't required a parameter be passed to it. You can find the source for the Device class at $ZENHOME/Products/ ZenModel/Device.py. Or you can use the API docs on the Zenoss web site.
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to