Administering job services
Resource Manager includes two services for managing background tasks, such as discovering networks and adding devices:
- The zenjobs service runs tasks in the background. The default configuration includes two worker instances, which can be adjusted.
- The zenjobs scheduler service runs a periodic job to remove old log files. The default configuration removes files once per hour. Only one instance is needed.
In Control Center, the services are located at Zenoss > User Interface.
Some jobs run in the foreground automatically. For example, when moving devices, if the number of devices to move does not exceed the Device Move Job Threshold, then the job is performed in the foreground. When a job runs in the foreground, do not navigate away from the page until the job completes.
Viewing and managing jobs
In the browser interface, navigate to ADVANCED > Jobs.
The jobs list, in the top portion of the page, displays individual jobs, with the following information about each:
- Status—The state of a job. Jobs with the Retry status have been placed back on the queue (with a delay) for another run.
- Description—A description of a job.
- Scheduled—The scheduled start time of a job.
- Started—The time when a job starts.
- Finished—The time when a job ends.
- Created By—The user account name associated with a job.
The lower panel, which is hidden by default, displays a job's log file. To display a log, select the job in the list.
The buttons above the job list are used to manage individual jobs:
- To stop a job, select it, and then click Abort.
- To remove a job, select it, and then click Delete.
For more information, see Job services architecture and tuning.