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.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.1.zip (22.1 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for collective.monitor-0.1.1.zip
Algorithm Hash digest
SHA256 825de47f4a0b860c8f0054ea0958524c6d72a82d19e532a67e4a1dd50db76796
MD5 0987ee02b585b64984ad5969fba7d221
BLAKE2b-256 af3cfd4fca59d37f825337fe5d4ab6cd1c6f49606ce058681e41303b1ba2912e

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