skip to navigation
skip to content

ZenPacks.lbn.ZopeMonitor 4.0.2

ZenPack to monitor Zope Application Server stats

ZopeMonitor provides a method for pulling performance metrics from a Zope Application Server (http://www.zope.org/) directly into Zenoss. It is necessary to first install the munin.zope eggs from pypi.python.org or our own repo at http://linux.last-bastion.net/LBN/up2date/monitor, and to have wget installed on this server.

The monitor works by utilising ZenCommand to run wget on the local system - you do not need to make zope ports available through your firewall.

The munin plugins do require a user with ‘View Management Screens’ access at the root however. This is configured using the zZopeURI zProperty of the device. This parameter uses Extended HTTP Authentication to specify user credentials, host and port. Note that the host is the hostname on the remote instance and should probably remain ‘localhost’ unless you’ve explicitly bound your Zope to a NIC.

Note that the munin plugins expect to be installed on a Unix-like operating system with a /proc filesystem.

The following metrics will be collected and graphed for the Zope Server.

  • Threads o Free threads o Total threads
  • Cache o Total objects o Total objects in memory o Targe number
  • ZODB Activity o Total connections o Total load count o Total store count
  • Memory Utilisation o VmHWM - peak resident set size (“high water mark”) o VmExe - size of text segments o VmStk - size of stack segments o VmPeak - peak virtual memory size o VmData - size of data segments o VmLck - locked memory size o VmPTE - page table entries size o VmLib - shared library code size o VmRSS - resident set size

Once your Zope Server has the munin plugins installed, you can add Zope monitoring to the device within Zenoss by simply binding the ZopeMonitor template to the device.

  1. Navigate to the device in the Zenoss web interface.
  2. Click the device menu, choose More then Templates.
  3. Click the templates menu, choose Bind Templates.
  4. Ctrl-click the ZopeMonitor template from /Devices/Server to choose it.
  5. Click OK.

You will now be collecting the Zope Server metrics from this device.

2012-01-15 18:05 alan

  • unk/ZenPacks/lbn/ZopeMonitor/__init__.py, unk/ZenPacks/lbn/ZopeMonitor/setuphandlers.py: new ZenPacks.lbn.Base-derived ZenPack

2012-01-15 15:38 alan

  • unk/ZenPacks/lbn/ZopeMonitor/__init__.py, unk/ZenPacks/lbn/ZopeMonitor/config.py, unk/ZenPacks/lbn/ZopeMonitor/configure.zcml, unk/ZenPacks/lbn/ZopeMonitor/datasources/DataSourceBase.py, unk/ZenPacks/lbn/ZopeMonitor/info.py, unk/ZenPacks/lbn/ZopeMonitor/interfaces.py, unk/setup.py: new ZenPacks.lbn.Base-derived ZenPack

2011-11-24 11:33 alan

  • unk/setup.py: bump lbn.zenoss release

2010-10-06 10:41 alan

  • unk/ZenPacks/lbn/ZopeMonitor/__init__.py, unk/ZenPacks/lbn/ZopeMonitor/setuphandlers.py, unk/setup.py: initialisation bug fixes

2010-10-06 04:34 alan

  • unk/setup.py: coordinated topic for pypi submission

2010-10-06 03:59 alan

  • unk/ZenPacks/lbn/ZopeMonitor/__init__.py, unk/ZenPacks/lbn/ZopeMonitor/setuphandlers.py: addZenPackObjects into Monitor

2010-09-09 12:12 alan

  • unk/setup.py: bump version and update dependency versions

2010-09-08 02:24 alan

  • unk/ZenPacks/lbn/ZopeMonitor/__init__.py, unk/ZenPacks/lbn/ZopeMonitor/datasources/DataSourceBase.py, unk/ZenPacks/lbn/ZopeMonitor/tests/testZopeMonitor.py, unk/setup.py: port to newer lbn.zenoss

2010-05-18 14:24 alan

  • unk/ZenPacks/lbn/ZopeMonitor/parsers/Munin.py: make munin plugin delimiter include spaces

2010-05-18 14:11 alan

  • unk/CHANGES.txt, unk/README.txt, unk/setup.py: readme/install instructions

2010-05-16 19:46 alan

  • unk/ZenPacks/lbn/ZopeMonitor/setuphandlers.py: don’t case-convert Munin tags without _

2010-05-16 19:32 root

  • unk/README.txt, unk/ZenPacks, unk/ZenPacks/__init__.py, unk/ZenPacks/lbn, unk/ZenPacks/lbn/ZopeMonitor, unk/ZenPacks/lbn/ZopeMonitor/__init__.py, unk/ZenPacks/lbn/ZopeMonitor/config.py, unk/ZenPacks/lbn/ZopeMonitor/configure.zcml, unk/ZenPacks/lbn/ZopeMonitor/datasources, unk/ZenPacks/lbn/ZopeMonitor/datasources/DataSourceBase.py, unk/ZenPacks/lbn/ZopeMonitor/datasources/ZopeCacheDataSource.py, unk/ZenPacks/lbn/ZopeMonitor/datasources/ZopeDBActivityDataSource.py, unk/ZenPacks/lbn/ZopeMonitor/datasources/ZopeMemoryDataSource.py, unk/ZenPacks/lbn/ZopeMonitor/datasources/ZopeThreadsDataSource.py, unk/ZenPacks/lbn/ZopeMonitor/datasources/__init__.py, unk/ZenPacks/lbn/ZopeMonitor/parsers, unk/ZenPacks/lbn/ZopeMonitor/parsers/Munin.py, unk/ZenPacks/lbn/ZopeMonitor/parsers/__init__.py, unk/ZenPacks/lbn/ZopeMonitor/setuphandlers.py, unk/ZenPacks/lbn/ZopeMonitor/skins, unk/ZenPacks/lbn/ZopeMonitor/skins/ZenPacks.lbn.ZopeMonitor, unk/ZenPacks/lbn/ZopeMonitor/skins/ZenPacks.lbn.ZopeMonitor/editZopeMonitorDataSource.pt, unk/ZenPacks/lbn/ZopeMonitor/tests, unk/ZenPacks/lbn/ZopeMonitor/tests/framework.py, unk/ZenPacks/lbn/ZopeMonitor/tests/testMuninParser.py, unk/ZenPacks/lbn/ZopeMonitor/tests/testZopeMonitor.py, unk/ZenPacks/lbn/__init__.py, unk/setup.py: initial revision …

2010-05-16 19:31 root

  • anches, gs, unk: initial repository layout
 
File Type Py Version Uploaded on Size
ZenPacks.lbn.ZopeMonitor-4.0.2-py2.6.egg (md5) Python Egg 2.6 2013-02-16 40KB
ZenPacks.lbn.ZopeMonitor-4.0.2.tar.gz (md5) Source 2013-02-16 12KB