Nov 2, 2011 5:13 PM
Custom Device Report Query
-
Like (0)
Hey,
I'm trying to make a Custom Device Report that will only show the devices that are in a certain group, I was digging around google and found this Query:
here.getDeviceGroupNamesAsString().find("/Group Name")
However, it doesn't work. I've tried playing around with variations of the above but have been unable to find some documentation to allow me to get what I need.
Any help would be appreciated,
Thanks
Try
'/Group Name' in here.getDeviceGroupNames()
'/Group Name' in here.getDeviceGroupNames() doesn't work
'/Group Name' in here.getDeviceGroupNamesAsString() works
You do need to create the method getDeviceGroupNamesAsString() if you haven't already as shown here
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||