Discussion:
Deleting Locations with Zendmd
floyn
2013-06-27 07:45:09 UTC
Permalink
floyn [http://community.zenoss.org/people/floyn] created the discussion

"Deleting Locations with Zendmd"

To view the discussion, visit: http://community.zenoss.org/message/73758#73758

--------------------------------------------------------------
Hello, I don't find the method for deleting my locations with zendmd.

I tried with :


for loc in dmd.Locations:
     loca=dmd.getDmdRoot("Locations").createOrganizer(loc)
          loca.


loca containt the object containing the location (Example : <Location at PKGHDV>)
But I don't kown what to use after the dot. I have more than an hundred of locations, and I can't select more than one by one on the Web interface, thank you for those who help me.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73758#73758]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
dpetzel
2013-06-28 04:04:29 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Deleting Locations with Zendmd"

To view the discussion, visit: http://community.zenoss.org/message/73761#73761

--------------------------------------------------------------
Have a peek at http://wiki.zenoss.org/Creating_ZenDMD_Tip_-_Delete_List_Of_Locations http://wiki.zenoss.org/Creating_ZenDMD_Tip_-_Delete_List_Of_Locations and see if that helps
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73761#73761]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
floyn
2013-06-28 07:35:38 UTC
Permalink
floyn [http://community.zenoss.org/people/floyn] created the discussion

"Re: Deleting Locations with Zendmd"

To view the discussion, visit: http://community.zenoss.org/message/73781#73781

--------------------------------------------------------------
Perfect, thank you.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73781#73781]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...