Projet

Général

Profil

Paste
Télécharger au format
Statistiques
| Branche: | Révision:

root / plugins / zope / zodb @ e5ce7492

Nom Taille Révision Âge Auteur Commentaire
  scripts_python 038c3ce9 plus de 13 ans Diego Elio Pettenò Extract tarballs committed to git as plugins.
README 1,32 ko 038c3ce9 plus de 13 ans Diego Elio Pettenò Extract tarballs committed to git as plugins.
zope_cache_parameters 1,33 ko 038c3ce9 plus de 13 ans Diego Elio Pettenò Extract tarballs committed to git as plugins.
zope_db_activity 1,35 ko 038c3ce9 plus de 13 ans Diego Elio Pettenò Extract tarballs committed to git as plugins.

Dernières révisions

# Date Auteur Commentaire
038c3ce9 2012-08-07 01:16 Diego Elio Pettenò

Extract tarballs committed to git as plugins.

Voir les révisions

README


These are 2 rather crude munin plugins to get at data about zopes ZODB. They have proved very usefull, together with the process_memory plugin, in tweaking the zodb cache-size for performance. There is no config, auto or otherwise, you have to edit the scripts to change anything. Should not be to hard however :) To install you have to copy the two scripts in the "scripts_python" folder into zope. Probably easiest just to paste them into an appropriately named new script in the ZMI. Click on the proxy tab, and give them the "Manager" role. You can test them like this: wget --delete-after -q -O - localhost:8080//munin_db_activity.py wget --delete-after -q -O - localhost:8080//munin_cache_parameters.py Edit zope_db_activity and zope_cache_parameters scripts to reflect and your instance(s) ports. Then move them into your munin plugins lib, and create a symlink under etc according to the usual munin custom: mv zope_* /opt/munin/lib/plugins/ ln -s /opt/munin/lib/plugins/zope_* /etc/opt/munin/plugins/ Test them with: /opt/munin/sbin/munin-run zope_db_activity /opt/munin/sbin/munin-run zope_cache_parameters Restart your munin-node and the graphs should appear shortly. If you make any improvements (which should be easy), please update the munin exhange entry, or mail me at gaute(at)pht(dot)no

Formats disponibles : Atom