TECHZEN Zenoss User Community ARCHIVE  

Dump event classes, mapping, etc

Subject: Dump event classes, mapping, etc
Author: [Not Specified]
Posted: 2017-03-28 15:33

Is there an easy way to dump all Event Classes, subclasses, mappings, and zproperties into an XML file to be used in another instance of Zenoss. Right now I'm going through all event classes and subclasses and adding everything to a single ZenPack to import into another instance.



Subject: Careful with that. Adding
Author: Jay Stanley
Posted: 2017-03-28 16:13

Careful with that. Adding core event classes could lead to problems if your zenpack ever gets removed.

You can script adding things to zenpacks with dmd.. or you could dump all that info using dmd as well.

 

 



Subject: I've finished adding them all
Author: [Not Specified]
Posted: 2017-03-29 08:43

I've finished adding them all through the GUI. I only added classes and mappings that were missing from my new server. Thanks for the info!



Subject: Get my Audit package from
Author: Jane Curry
Posted: 2017-04-11 05:24

Get my Audit package from github -  https://github.com/jcurry/Audit . It has scripts to dump all sorts of elements out of the ZOPE database, including event classes and mappings.  Output format is currently just a text file, not XML.

Cheers,

Jane

Email: jane.curry@skills-1st.co.uk    Web: https://www.skills-1st.co.uk



< Previous
To monitor MikroTik ruter usage
  Next
Speed up data collection after zenpython restart
>