Skip to main content

Utilities for analyzing and debugging Zenoss environments.

Project description

zenoss.toolbox

Current version: 0.5.2

Utilities for analyzing/debugging Zenoss environments as well as tools to increase/maintain performance.

How do I Install and Use the zenoss.toolbox Package?

Tools Included

zodbscan

How do I use zodbscan to Scan zodb for Dangling References?

findposkeyerror

How do I use findposkeyerror to detect and fix POSKeyErrors in zodb?

zenrelationscan

How do I use zenrelationscan to scan/fix ZenRelations

zencatalogscan

How do I use zencatalogscan to detect and fix unresolvable object references in catalogs?

zenindextool

How to use zenindextool to reindex top-level organizers

zennetworkclean

How to use zennetworkclean to remove unused network information

Author: Brian Bibeault (bbibeault@zenoss.com)

Changelog

0.5.2

  • Fixed ZEN-16133: First draft for the ZenDesk zennetworkclean document
  • Fixed ZEN-16126: First draft for the ZenDesk zenindextool document
  • Fixed ZEN-16108: Changes to the ZenDesk findposkeyerror document
  • Fixed ZEN-16106: Changes to the ZenDesk zencatalogscan document
  • Fixed ZEN-16104: Changes to the ZenDesk zodbscan document
  • Fixed ZEN-16103: Changes to the ZenDesk toolbox overview document
  • Fixed ZEN-16102: Changes to the ZenDesk zenrelationscan document
  • Fixed ZEN-16092: Add copyright notice to all toolbox tools
  • Fixed ZEN-16040: zennetworkclean has output message that refers to zencatalogscan
  • Fixed ZEN-16039: zenindextool changes to call dmd._p_jar.sync()
  • Fixed ZEN-16017: zencatalogscan has incorrect template catalog reference
  • Fixed ZEN-15225: Add new catalogs to zencatalogscan
  • Fixed ZEN-15082: zencatalogscan has incorrect mibsearch catalog
  • Fixed ZEN-14953: Not all zenoss toolbox scripts use the zenoss user’s python
  • Fixed ZEN-14744: All tools need updated documentation links for the new ZenDesk

0.5.1

  • Fixed ZEN-13192: add tool to clean/remove old unused ip addresses/iprealmss

0.5.0

  • Fixed ZEN-14586: Create zenindextool (break apart reIndex functionality from zencatalogscan)
  • Fixed ZEN-14454: zenrelationscan won’t execute like other toolbox tools

0.4.0

  • Adding in an early alpha of zenrelationscan to the zenoss toolbox (for testing purposes)

0.3.2

  • Fixed ZEN-14078: findposkeyerror fails on fixable (no dmd reference)

0.3.1

  • Fixed ZEN-13951: zencatalogscan not properly scanning jobs catalog
  • Fixed ZEN-13952: findposkeyerror failing against zenoss core

0.3.0

  • Fixed ZEN-13191: zencatalogscan - add eventClassSearch, rrdtemplatesearch, mibsearch catalogs
  • Fixed ZEN-13429: zencatalogscan zenoss.toolbox get_lock logging incorrect
  • Fixed ZEN-13433: zencatalogscan customer feedback needs integrated
  • Fixed ZEN-13524: zencatalogscan progress bars should show last updated timestamp
  • Fixed ZEN-13592: zencatalogscan logs missing catalogs as ERROR, not INFO
  • Fixed ZEN-13596: zencatalogscan needs to use rotating log files
  • Fixed ZEN-13597: findposkeyerror needs to use rotating log files
  • Fixed ZEN-13598: zodbscan needs to use rotating log files
  • Fixed ZEN-13599: findposkeyerror progress bars should show last updated timestamp
  • Fixed ZEN-13600: zodbscan progress bars should show last updated timestamp
  • Fixed ZEN-13636: zencatalogscan needs option for doing just reindex
  • Fixed ZEN-13666: zodbscan zenoss.toolbox get_lock logging incorrect
  • Fixed ZEN-13667: findposkeyerror zenoss.toolbox get_lock logging incorrect
  • Fixed ZEN-13757: findposkeyerror reports 3 getDatabase tracebacks
  • Fixed ZEN-13925: zodbscan should log command line parameters to log file
  • Fixed ZEN-13924: findposkeyerror should log command line parameters to log file
  • Fixed ZEN-13923: zencatalogscan should log command line parameters to log file

0.2.3

  • Fixed ZEN-13425: findposkeyerror local variable ‘name’ referenced before assignment
  • Fixed ZEN-12325: findposkeyerror memory growth continues unbounded until finish

0.2.2

  • Fixed ZEN-13194: zencatalogscan should output progress during device dmd reindex
  • Fixed ZEN-13106: findposkeyerror script is missing dmd context
  • Fixed ZEN-12718: findposkeyerror.py UnboundLocalError referencing ‘e’
  • Fixed ZEN-12683: findposkeyerror tracebacks on ZenPack.zenoss.AdvancedSearch on Core
  • Fixed ZEN-12406: findposkeyerror must print full exceptions and log output to file
  • Fixed ZEN-12328: findposkeyerror needs to mention log file, show absolute start time
  • Fixed ZEN-12327: findposkeyerror missing return code (zero/one)
  • Fixed ZEN-12326: findposkeyerror should check to see if tools already running
  • Fixed ZEN-11587: findposkeyerror script needs to show progress as it runs
  • Fixed ZEN-10807: findposkeyerror ComponentSearchFixer() not included in _fixits()

0.2.1

  • Fixed ZEN-12671: zencatalogscan should locate log in $ZENHOME/log/toolbox
  • Fixed ZEN-12637: zodbscan - remove scanning of zodb_session
  • Fixed ZEN-12409: zodbscan should only recommend zenossdbpack if threshold exceeded
  • Fixed ZEN-12405: zodbscan must print full exceptions and log output to file
  • Fixed ZEN-12404: zodbscan should check to see if tools already running
  • Fixed ZEN-12403: zodbscan needs to mention log file, show absolute start time
  • Fixed ZEN-12402: zodbscan missing return code (zero/one)
  • Fixed ZEN-12160: zodbscan fails on import of ZenStatus

0.2.0

  • Fixed ZEN-12049: zencatalogscan doesn’t process additional catalogs
  • Fixed ZEN-12167: zencatalogscan memory growth continues unbounded until finish
  • Fixed ZEN-12230: zencatalogscan missing return code (zero/one)
  • Fixed ZEN-12265: zencatalogscan should check to see if tools already running
  • Fixed ZEN-12165: zencatalogscan needs to show progress bar ASAP per catalog
  • Fixed ZEN-12183: zencatalogscan needs to mention log file, show absolute start time
  • Updated README.rst to reference the published Zenoss KB articles for each tool

0.1.9

  • Fixed ZEN-10556: findposkeyerror has broken easy install entry script
  • Fixed ZEN-11700: zodbscan in zenoss.toolbox is downlevel (missing memory optimization)
  • Fixed ZEN-11679: zencatalogscan needs an option to only scan a certain catalog
  • Fixed ZEN-10793: zencatalogscan reindex can fail for dmd.Devices.reIndex()
  • Fixed ZEN-10579: zencatalogscan doesn’t reindex component catalogs
  • Fixed ZEN-10580: zencatalogscan must print full exceptions and log output to file
  • Fixed ZEN-10567: zencatalogscan should cycle until it fixes all issues

0.1.8

  • Fixed ZEN-10555: zencatalogscan not fixing with –fix option

0.1.7

  • Added zencatalogscan - replaces cleancatalog and support’s fixCatalogs.py

0.1.6

  • Added findposkeyerror, which finds/fixes relationships having POSKeyErrors

0.1.5

  • Added cleancatalog, which cleans stale objects from the catalog

0.1.0

  • Added zodbscan, which detects and reports on POSKeyErrors

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
zenoss.toolbox-0.5.2.tar.gz (65.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page