Details
-
Feature
-
Status: Released (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
Desired Behavior
- The JobScheduler Universal Agent provides status information via web services
- Web service /jobscheduler/agent/overview provides general status information
- Web service /jobscheduler/agent/processHandler provides information about running task processes
- The web services can return the media types application/json and text/plain (which is currently returned as YAML).
Examples
Response for /jobscheduler/agent/overview
version: 1.10.X startedAt: '2015-06-19T14:16:19.188Z' java: systemProperties: java.vendor: Azul Systems, Inc. java.version: 1.8.0_25 os.name: Linux os.version: 3.10.0-229.4.2.el7.x86_64 os.arch: amd64 totalProcessCount: 0 currentProcessCount: 0 isTerminating: false
Response for /jobscheduler/agent/processHandler
processes: - id: 2-735081434 controllerAddress: 127.0.0.1:59999 startedAt: '2015-06-19T14:20:42.014Z' - id: 5-518997919 controllerAddress: 127.0.0.1:59998 startedAt: '2015-06-19T14:21:37.738Z'
Response for /jobscheduler/agent/commandHandler
totalCommandCount: 39 currentCommandCount: 1
Response for /jobscheduler/agent/commandHandler/details - shows active command for file_order_source
commandRuns: - internalId: '28' startedAt: '2015-06-22T20:17:06.439Z' command: regex: MATCHING- knownFiles: [] $TYPE: RequestFileOrderSourceContent durationMillis: 60000 directory: /tmp
Attachments
Issue Links
- is related to
-
JS-1291 JobScheduler Universal Agent
- Released
-
JS-1400 Web service command to terminate JobScheduler Universal Agent
- Released
-
JS-1412 JobScheduler Universal Agent shows more information about running jobs
- Released
- is required by
-
JS-684 System Monitor (Nagios, op5) should notify if a JobScheduler Universal Agent is not available
- Released
-
JS-1426 Status command for Universal Agent start script shows status information from overview web service call
- Released
(2 mentioned in)