check_cip

Usage
./check_cip.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 checks CIS Info Provider, part of UNICORE/X contaier. Written in Perl, v.5.10.0 (requires commons.pm module in plugin directory or one level higher). Needs UCC in version 1.4 or higher and a proper configuration file for this client.

Configuration file for plugin
  • UCC_PATH: absolute path to UNICORE Commandline Client binary (in version 1.4 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 CIP you want to check

  • CIP_URL: URL of CIP to check

  • LOGS_DIR: Path to logs directory

Possible outputs with meaning
  • OK: CIP works, total jobs: …: CIS Info Provider works and gives appropriate information of total processed jobs.

  • WARNING: CIP works, but does not process information: CIP works, but Job Sensor seems to not process information of total jobs (got value is 0).

  • WARNING: CIP responds but seems to be not initialized: CIP works, but the response seems to be the default one. That means the lack of CIS initialization at the start of UNICORE/X. See uas.config.

  • CRITICAL: CIP does not respond: CIP probably does not work. See next lines for more information.