Dedicated Zope service for reporting
The zenreports service provides a Zope instance that is dedicated to report generation.
No configuration or action is required to use the zenreports service. By default, the service starts when you launch Resource Manager and is automatically selected to generate Resource Manager reports.
If you need more than one dedicated instance for report generation, edit the zenreports service to increase the number, as described in Changing the number of Zope instances.
Under the following conditions, you can disable the zenreports service:
-
You have a small deployment or few concurrent users of the browser interface.
-
You infrequently generate Resource Manager reports.
Disabling automatic start of the reporting Zope service
By default, the zenreports service starts when you launch Resource Manager. You can disable automatic start of the service.
- Log in to the Control Center master host as a user with Control Center CLI privileges.
-
Disable automatic start of the zenreports service.
-
Edit the configuration of the service.
serviced service edit zenreports
The command opens the service's configuration file in the default text editor.
-
Locate the line "Launch": "auto", and replace "auto" with "manual" as follows:
"Launch": "manual"
-
Save the file, and then exit the text editor.
-
Stopping the reporting Zope service
You can disable use of the dedicated Zope service so that Resource Manager uses general-purpose Zope instances for report generation.
- Log in to the Control Center browser interface.
- In the Applications table under Application, click the application name (Zenoss.resmgr).
-
Turn off rules that route report requests to the zenreports service:
-
In the Configuration Files table, locate file zproxy-nginx.conf, and under the Actions column, click Edit.
-
In the configuration file, locate the following line:
include zopereports-proxy.conf
-
Add the number sign character (#) to the beginning of the line.
#include zopereports-proxy.conf
-
Click Save.
- In the Instances table under the Actions column, click Restart. This action restarts the zproxy service.
- Stop the zenreports service:
-
In the Services table, click Zenoss.
-
In the Services table, click User Interface.
-
In the Services table, locate the zenreports service, and under the Actions column, click Stop.
-