Skip to main content

Monitoring meta package for Zope/Plone installs

Project description

Introduction

See the doc of http://pypi.python.org/pypi/five.z2monitor

Use zc.monitor and additional plugins to fetch probes via another thread than the one defined in Zope.

Once the instance is running zc.monitor thread listen to another port (127.0.0.1:8888 in this buildout). You can query values using simple python script or nc.

Example:

echo ‘uptime’ | nc -i 1 localhost 8888

Or (when instance is up):

bin/instance monitor stats

Probes

Currently supported probes:

  • cache_size – cache sizes informations

  • conflictcount – number of all conflict errors since startup

  • dbactivity – number of load, store and connections on database (default=main) for the last x minutes (default=5)

  • dbinfo [main] – Get database statistics (number of database loads, number of database stores, number of connections, number of active/inactive objects in all object caches, number of active objects in the object caches)

  • dbsize – size of the database (default=main) in bytes

  • errorcount – number of error present in error_log (default in the root).

  • help – Get help about server commands

  • monitor – Get general process info (number of opened database connections, virtual memory size, resident memory size)

  • objectcount – number of objects in the database (default=main)

  • refcount – the total amount of object reference counts

  • requestqueue_size – number of requests waiting in the queue to be handled by zope threads

  • stats – Stats of all information Products.ZNagios know

  • threads – Dump current threads execution stack

  • unresolved_conflictcount – number of all unresolved conflict errors since startup

  • uptime – uptime of the zope instance in seconds

  • zeocache – Get ZEO client cache statistics

  • zeostatus – Get ZEO client status information

How it works

This package use differents package

  • five.z2monitor:

  • Products.ZNagios:

  • munin.zope:

  • zc.z3monitor:

  • zc.monitorcache:

  • zc.monitorlogstats:

  • ztfy.monitor:

Add lines on your buildout:

<product-config five.z2monitor>
    bind 127.0.0.1:8888
</product-config>

Contributors

Note: place names and roles of the people who contribute to this package

in this file, one to a line, like so:

Changelog

0.1.2 (2015-07-24)

  • Date probe are not more in stats probe (from Products.ZNagios). [bsuttor]

  • Add creation_date_plonesite probe [bsuttor]

0.1.1 (2015-07-22)

  • Return number of smtp errors found. [bsuttor]

0.1 (2015-07-17)

  • Add count_users probe [bsuttor]

  • Initial package [bsuttor]

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

collective.monitor-0.1.2.zip (22.3 kB view details)

Uploaded Source

File details

Details for the file collective.monitor-0.1.2.zip.

File metadata

File hashes

Hashes for collective.monitor-0.1.2.zip
Algorithm Hash digest
SHA256 513851db9a9f47ab26f3bbe0f2464270f7cff4b469ec8ffc89fa42d5f9e9933b
MD5 c095deccac35a9bbdd3a3b254e6adeb1
BLAKE2b-256 208b3c037ff6f3cc9f442dc6772b67ed26f47ec6c887cd773faeb4f96072ab9f

See more details on using hashes here.

Supported by

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