Discussion:
Zenoss deleted devices report
murphybr
2011-11-15 15:57:52 UTC
Permalink
murphybr [http://community.zenoss.org/people/murphybr] created the discussion

"Zenoss deleted devices report"

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

--------------------------------------------------------------
I am looking at expanding the functionality of the zenoss reports section by integrating a deleted devices report however since Zope and zenoss does not keep track of information pertaining to when a device gets deleted, i am trying to find a way to get Zope to keep track of information on a device when it is deleted(specificallly device name, time/date of deletion, user deleting device and device admin.)

My current idea is to alter the delete function within Zenoss Core to store the above information in a database before deleting a device. Then create a custom report in Zenoss Reports based on said information for daily reporting of devices deleted. I am open to any other ideas out there to obtain this goal as I am not 100% comfortable with altering the Zenoss Core.

Thank you in advance for any advice or tips contributed.
--------------------------------------------------------------

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

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Shane Scott
2011-11-17 09:03:33 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Zenoss deleted devices report"

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

--------------------------------------------------------------
Murphybr:

This is an interesting idea. You'll need to extend the method 'deleteDevice' to create an event when a device is deleted. The event should not be an event of that device but instead of its collector/monitor and contain nformation on what device was deleted. This will ensure that the deleted device event wont be deleted if the user forgets to uncheck 'delete device events' when removing a device. At this point you can use a event report to pull up a list of deleted devices or browse the event history.

Best,
--Shane (Hackman238)
--------------------------------------------------------------

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

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
jcurry
2011-11-18 17:49:41 UTC
Permalink
jcurry [http://community.zenoss.org/people/jcurry] created the discussion

"Re: Zenoss deleted devices report"

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

--------------------------------------------------------------
Hmmm.  We might be interseted too in something that knows what devices have been deleted - more to then consult that table and prevent rediscovery in the future.

Anyone else?

Cheers,
Jane
--------------------------------------------------------------

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

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