Skip to content

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.

  1. Log in to the Control Center master host as a user with Control Center CLI privileges.
  2. Disable automatic start of the zenreports service.

    1. Edit the configuration of the service.

      serviced service edit zenreports
      

      The command opens the service's configuration file in the default text editor.

    2. Locate the line "Launch": "auto", and replace "auto" with "manual" as follows:

      "Launch": "manual"
      
    3. 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.

  1. Log in to the Control Center browser interface.
  2. In the Applications table under Application, click the application name (Zenoss.resmgr).
  3. Turn off rules that route report requests to the zenreports service:

    1. In the Configuration Files table, locate file zproxy-nginx.conf, and under the Actions column, click Edit.

    2. In the configuration file, locate the following line:

      include zopereports-proxy.conf
      
    3. Add the number sign character (#) to the beginning of the line.

      #include zopereports-proxy.conf
      
    4. Click Save.

    5. In the Instances table under the Actions column, click Restart. This action restarts the zproxy service.
    6. Stop the zenreports service:
    7. In the Services table, click Zenoss.

    8. In the Services table, click User Interface.

    9. In the Services table, locate the zenreports service, and under the Actions column, click Stop.