On Wed, 2007-11-28 at 13:54 -0500, Chet Luther wrote:
> > 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.
Chet - This worked perfect. Now that I know the terminology for what I
was looking for, the API docs are a good resource. Thanks a lot!
M
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users