Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Munin plugins for zope/plone

Project Description

Introduction

This package provides munin plugins with zope scripts which provides the data.
  • it uses gocept.munin for plugin registration. Please check it if you want towrite new plugins.
  • some plugins are based on plugins found at munin exchange (many thanks to Gaute Amundsen and Arthur Lutz)

Plugins

There are 3 plugins available (new comming soon):
  • zope threads - checks free zope threads
  • zope cache parameters - checks database cache parameters
  • zodb activity - checks zodb activity

How to use it

  • First include it in you buildout instance slot:

    [instancne]
    ...
    eggs =
    ...
    redturtle.munin
    
    zcml =
    ...
    redturtle.munin
    
  • Now you should be able to call the plugins as follow:

    http://localhost:8080/@@redturtle.munin.plugins/update?munin_plugin=zopethreads
    

    Where zopethreads is you plugin name. Please notice that for the security reason plugins can be called only from localhost (this will be configure better in the future)

  • Now you need to make a symlink from egg to munin plugin directory:

    $ cd /opt/munin/etc/plugins
    $ ln -s ~/.buildout/eggs/redturtle.munin-0.0.3-py2.4.egg/redturtle/munin/plugins/zodb_activity.py company_zodbactivity_site1
    

    Where /opt/munin/etc/plugins is your munin directory, ~/.buildout/eggs is you egg directory, zodb_activity.py the plugin you want to enable, company your prefix, and site1 the name which will be shown in munin

  • Finally configure the plugin in munin:

    $ cd /opt/munin/etc/plugin-conf.d/
    $ vi redturtle.conf
    ... [company_*_site1]
    ... env.AUTH myuser:myuser
    ... env.URL http://localhost:8080/@@redturtle.munin.plugins/update?munin_plugin=%s
    

    Where myuser is your zope user credential, localhost:8080 your site url. Please check munin for more info about plugin configuration.

References

Author & Contact

Author:Andrew Mleczko <andrew.mleczko@redturtle.net>

RedTurtle Technology

http://www.redturtle.net

Changelog

0.0.3 - 2009/03/30

  • add documentation [amleczko]
  • refactor plugin registration [amleczko]

0.0.2 - 2009/03/26

  • Small refactoring [amleczko]

0.0.1 - 2009/03/24

  • Initial release [amleczko]
Release History

Release History

History Node

1.0a2

History Node

1.0a1

This version
History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
redturtle.munin-0.0.3.tar.gz (5.0 kB) Copy SHA256 Checksum SHA256 Source Mar 30, 2009

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting