check_workflowservice

Usage
./check_workflowservice.pl [OPTIONS] [-f configuration_file]
Options
  • -h or --help: prints short usage tips

  • -V or --version: prints plugin versions

  • -v X or --verbose X: sets verbosity level to X (see UMI docs)

  • -t Y or --timeout Y: sets plugin execution timeout to Y seconds

Description

Plugin that checks Workflow Service avaialibity. Written in Perl, v5.10.0 (requires commons.pm module in plugin directory or one level higher). Needs UCC in version 1.3.1 or higher and proper configuration file for this client. Plugin gets information about all available workflows in given Workflow Service and counts them

Configuration file for plugin
  • UCC_PATH: absolute path to UNICORE Commandline Client binary (in version 1.3.1 or higher)

  • UCC_CONFIG: absolute path to valid configuration file for UCC (remember to set absolute paths to keystore and trustore in this file!)

  • REGISTRY_URL: address of registry that contains Workflow Service you want to check

  • WORKFLOWSERVICE_NAME: URL of Workflow Service (or any part of this URL while it is not ambiguous)

  • LOGS_DIR: Path to logs directory

Possible outputs with meaning
  • OK: Workflow Service works normally, found workflows: …: Workflow Service works and contains 0 or 1 active workflow.

  • CRITICAL: Unable to find … in the Registry: Workflow Service matching a given name cannot be contacted. If you do not specified any workflow name that means the Registry does not contain any Workflow Service.

  • CRITICAL: Found more than one Workflow Service that name matches …, none of them was checked: Name of Workflow Service you specified is ambiguous. If you do not given any name that means that Registry contains more than one Workflow Service.

  • CRITICAL: Workflow service … found in the Registry, but seems to be down: An exception "Connection refused" was thrown when tried to access WorkflowService that was found in the Registry.

  • CRITICAL: Registry … cannot be contacted: Unable to connect to the Registry and get Workflow Factory EPR. In next line you will find the cause of failure.

  • CRITICAL: WorkflowFactory service exists in Registry but does not respond: Unable to get service properties document from WorkflowFactory service.