TECHZEN Zenoss User Community ARCHIVE  

adding a device to a group

Subject: adding a device to a group
Author: [Not Specified]
Posted: 2015-11-17 11:03

Hello,
I am using Zenoss 4.2.5 and have created a few hundred devices using zenbatchload utility. I also created several groups in the Group organizer. I'm having issues with the next step of logically grouping the devices.

I created a zenDMD python script and use addDeviceGroup() to add the relation between a device and a specific group. After executing the script, I see mods on Zenoss Core web interface: each device has an updated Groups attribute, also the counter in the specific group is also incremented. However, the device listing for the group is empty. I should be able to see all devices associated with any group on the web interface. What am I missing

Appreciate any help.

Rashmi



Subject: zendmd can still be used but
Author: Andrew Kirch
Posted: 2015-11-17 12:16

zendmd can still be used but is not well supported. I would suggest using the built in JSON API. For more, read here: http://wiki.zenoss.org/Working_with_the_JSON_API

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



< Previous
Change Device class for a Monitoring Template
  Next
Zenoss UP / Down alerts are not sending Properly
>