Home Directory Plugins CMS and Blog Software Zope Check Zope Threads and Load

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Check Zope Threads and Load

Rating
0 votes
Favoured:
0
Hits
94597
Files:
FileDescription
check_threads_load.pyThe check plugin
demo.cfgThe demo config
dumper.pyThe substitution for the file dumper.py of the DeadlockDebugger
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Checks the state of a Zope frontend based on the Product DeadlockDebugger to allow monitoring the number of used threads.
++ Description
Checks the state of a Zope frontend based on the Product "DeadlockDebugger" to allow monitoring the number of used threads.

In larger Zope installations frontends can lock if the number of available threads is exhausted. If this is the case the frontend is still running but no requests get answered. This usually leads to a lockup of the site if no other measures prevent this.

The plugin can also be used to quickly retrieve the load of the frontend to determine if the frontend is really locked (load 0 and threads full) or only busy (load high and threads full).

++ Add on product

This plugin requires that DeadlockDebugger (http://plone.org/products/deadlockdebugger) is installed and configured and the file dumper.py is replaced by the one included in this package. The modified dumper.py simply adds the load information to the output.

++ Usage

check_threads_load.py options mode

Options:
--help -- print this help text
-u/--url -- the URL of the host you want to check
-w/--warn -- tuple of 1m, 5m, 15m load threshold for the warning state. Ex: -w
5.0,4.0,3.0
-c/--crit -- tuple of 1m, 5m, 15m load threshold for the critical state

Mode:
--threads return status about the Zope threads (default)
--load return status of hosts load

++ Limitaion
This check works only if the Zope server is tunning under Linux, because it reads /proc/loadavg and /proc/meninfo.