Nov 13, 2010 8:37 PM
zenbatchload and adding multiple groups with setGroups
-
Like (0)
I'm running Zenoss 3.0.3 and trying to use the zenbatchload to add a device with multiple groups.
I've tried every combination I can think of but can't get the setGroups to accept more than one group at a time. Does zenbatchload support adding multiple groups to a device? If so does anyone know what the syntax is?
Thanks!!
I need to do this as well. Anyone figure it out?
mikea730:
To use the method setGroups to set more than one group you need to pass a list of groups. -> ['/groupa', '/groupb', '/groupc/groupd']
--Hackman238
Thanks, that helped. If using zenbatchload define multiple groups with:
groupPaths=['/cust1','/cust2','/cust3']
The overall Group counts for each group don't show up correctly in the console for 3.0.3, but when viewing the device itself it shows it belonging to all three groups.
No problem!
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||