Package: zenoss.toolbox
zenoss.toolboxCurrent version: 0.5.2Utilities for analyzing/debugging Zenoss environments as well as tools to increase/maintain performance.How do I Install and Use the zenoss.toolbox Package?https://support.zenoss.com/hc/en-us/articles/203117595Tools IncludedzodbscanHow do I use zodbscan to Scan zodb for Dangling References?https://support.zenoss.com/hc/en-us/articles/203118175findposkeyerrorHow do I use findposkeyerror to detect and fix POSKeyErrors in zodb?https://support.zenoss.com/hc/en-us/articles/203117795zenrelationscanHow do I use zenrelationscan to scan/fix ZenRelationshttps://support.zenoss.com/hc/en-us/articles/203121165zencatalogscanHow do I use zencatalogscan to detect and fix unresolvable object references in catalogs?https://support.zenoss.com/hc/en-us/articles/203118075zenindextoolHow to use zenindextool to reindex top-level organizershttps://support.zenoss.com/hc/en-us/articles/203263689zennetworkcleanHow to use zennetworkclean to remove unused network informationhttps://support.zenoss.com/hc/en-us/articles/203263699Author: Brian Bibeault (bbibeault@zenoss.com)Changelog0.5.2Fixed ZEN-16133: First draft for the ZenDesk zennetworkclean documentFixed ZEN-16126: First draft for the ZenDesk zenindextool documentFixed ZEN-16108: Changes to the ZenDesk findposkeyerror documentFixed ZEN-16106: Changes to the ZenDesk zencatalogscan documentFixed ZEN-16104: Changes to the ZenDesk zodbscan documentFixed ZEN-16103: Changes to the ZenDesk toolbox overview documentFixed ZEN-16102: Changes to the ZenDesk zenrelationscan documentFixed ZEN-16092: Add copyright notice to all toolbox toolsFixed ZEN-16040: zennetworkclean has output message that refers to zencatalogscanFixed ZEN-16039: zenindextool changes to call dmd._p_jar.sync()Fixed ZEN-16017: zencatalogscan has incorrect template catalog referenceFixed ZEN-15225: Add new catalogs to zencatalogscanFixed ZEN-15082: zencatalogscan has incorrect mibsearch catalogFixed ZEN-14953: Not all zenoss toolbox scripts use the zenoss user’s pythonFixed ZEN-14744: All tools need updated documentation links for the new ZenDesk0.5.1Fixed ZEN-13192: add tool to clean/remove old unused ip addresses/iprealmss0.5.0Fixed ZEN-14586: Create zenindextool (break apart reIndex functionality from zencatalogscan)Fixed ZEN-14454: zenrelationscan won’t execute like other toolbox tools0.4.0Adding in an early alpha of zenrelationscan to the zenoss toolbox (for testing purposes)0.3.2Fixed ZEN-14078: findposkeyerror fails on fixable (no dmd reference)0.3.1Fixed ZEN-13951: zencatalogscan not properly scanning jobs catalogFixed ZEN-13952: findposkeyerror failing against zenoss core0.3.0Fixed ZEN-13191: zencatalogscan - add eventClassSearch, rrdtemplatesearch, mibsearch catalogsFixed ZEN-13429: zencatalogscan zenoss.toolbox get_lock logging incorrectFixed ZEN-13433: zencatalogscan customer feedback needs integratedFixed ZEN-13524: zencatalogscan progress bars should show last updated timestampFixed ZEN-13592: zencatalogscan logs missing catalogs as ERROR, not INFOFixed ZEN-13596: zencatalogscan needs to use rotating log filesFixed ZEN-13597: findposkeyerror needs to use rotating log filesFixed ZEN-13598: zodbscan needs to use rotating log filesFixed ZEN-13599: findposkeyerror progress bars should show last updated timestampFixed ZEN-13600: zodbscan progress bars should show last updated timestampFixed ZEN-13636: zencatalogscan needs option for doing just reindexFixed ZEN-13666: zodbscan zenoss.toolbox get_lock logging incorrectFixed ZEN-13667: findposkeyerror zenoss.toolbox get_lock logging incorrectFixed ZEN-13757: findposkeyerror reports 3 getDatabase tracebacksFixed ZEN-13925: zodbscan should log command line parameters to log fileFixed ZEN-13924: findposkeyerror should log command line parameters to log fileFixed ZEN-13923: zencatalogscan should log command line parameters to log file0.2.3Fixed ZEN-13425: findposkeyerror local variable ‘name’ referenced before assignmentFixed ZEN-12325: findposkeyerror memory growth continues unbounded until finish0.2.2Fixed ZEN-13194: zencatalogscan should output progress during device dmd reindexFixed ZEN-13106: findposkeyerror script is missing dmd contextFixed ZEN-12718: findposkeyerror.py UnboundLocalError referencing ‘e’Fixed ZEN-12683: findposkeyerror tracebacks on ZenPack.zenoss.AdvancedSearch on CoreFixed ZEN-12406: findposkeyerror must print full exceptions and log output to fileFixed ZEN-12328: findposkeyerror needs to mention log file, show absolute start timeFixed ZEN-12327: findposkeyerror missing return code (zero/one)Fixed ZEN-12326: findposkeyerror should check to see if tools already runningFixed ZEN-11587: findposkeyerror script needs to show progress as it runsFixed ZEN-10807: findposkeyerror ComponentSearchFixer() not included in _fixits()0.2.1Fixed ZEN-12671: zencatalogscan should locate log in $ZENHOME/log/toolboxFixed ZEN-12637: zodbscan - remove scanning of zodb_sessionFixed ZEN-12409: zodbscan should only recommend zenossdbpack if threshold exceededFixed ZEN-12405: zodbscan must print full exceptions and log output to fileFixed ZEN-12404: zodbscan should check to see if tools already runningFixed ZEN-12403: zodbscan needs to mention log file, show absolute start timeFixed ZEN-12402: zodbscan missing return code (zero/one)Fixed ZEN-12160: zodbscan fails on import of ZenStatus0.2.0Fixed ZEN-12049: zencatalogscan doesn’t process additional catalogsFixed ZEN-12167: zencatalogscan memory growth continues unbounded until finishFixed ZEN-12230: zencatalogscan missing return code (zero/one)Fixed ZEN-12265: zencatalogscan should check to see if tools already runningFixed ZEN-12165: zencatalogscan needs to show progress bar ASAP per catalogFixed ZEN-12183: zencatalogscan needs to mention log file, show absolute start timeUpdated README.rst to reference the published Zenoss KB articles for each tool0.1.9Fixed ZEN-10556: findposkeyerror has broken easy install entry scriptFixed ZEN-11700: zodbscan in zenoss.toolbox is downlevel (missing memory optimization)Fixed ZEN-11679: zencatalogscan needs an option to only scan a certain catalogFixed ZEN-10793: zencatalogscan reindex can fail for dmd.Devices.reIndex()Fixed ZEN-10579: zencatalogscan doesn’t reindex component catalogsFixed ZEN-10580: zencatalogscan must print full exceptions and log output to fileFixed ZEN-10567: zencatalogscan should cycle until it fixes all issues0.1.8Fixed ZEN-10555: zencatalogscan not fixing with –fix option0.1.7Added zencatalogscan - replaces cleancatalog and support’s fixCatalogs.py0.1.6Added findposkeyerror, which finds/fixes relationships having POSKeyErrors0.1.5Added cleancatalog, which cleans stale objects from the catalog0.1.0Added zodbscan, which detects and reports on POSKeyErrors