Skip to main content

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

http://www.slowfoodbologna.it/redturtle_logo.png
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]

Project details


Download files

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

Source Distribution

redturtle.munin-0.0.3.tar.gz (5.0 kB view details)

Uploaded Source

File details

Details for the file redturtle.munin-0.0.3.tar.gz.

File metadata

File hashes

Hashes for redturtle.munin-0.0.3.tar.gz
Algorithm Hash digest
SHA256 b4fe956b23ceb0be42a47330628b15609c7b361ce783759ead974f0f0dfa6fd6
MD5 95c7048944784f3298296377ce9ac42f
BLAKE2b-256 54b5097db11cd6170aca28ced52a370865c6d31c981a20ede97e799bbcace24e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page