So I was never able to get the findDevice(id) method working...
However, the findDevicePath(id) method did exactly what I wanted in one less
step.
Steps to accomplish:
1)open a serverProxy to $zenhost/zport/dmd/Devices
2)call findDevicePath(id) on that serverProxy and store result
(devicePathResult)
3)open a second serverProxy to ('$zenhost' + devicePathResult) and this will
allow you to execute the device specific commands on the second serverProxy
object.
-trey
-------------------- m2f --------------------
Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=30390#30390
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users