Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check Zope Threads and Load
94855
File | Description |
---|---|
check_threads_load.py | The check plugin |
demo.cfg | The demo config |
dumper.py | The substitution for the file dumper.py of the DeadlockDebugger |
++ 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.
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.
Reviews (0)
Be the first to review this listing!