check_storagefactory

Usage
./check_storagefactory.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 Storage Factory service. 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. Plugin is based on other script included in package - check_sms. First created new SMS in SF of address given in configuration file. Next checks just created SMS (with a 10KiB random file) and finally destroys the created instance.

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 Storage Factory you want to check

  • SF_URL: URL of service to check

  • LOGS_DIR: Path to logs directory

Possible outputs with meaning
  • CRITICAL: Unable to create storage: …: Unable to created new SMS instance using Storage Factory. The included error description should be useful to find the reason of malfunction.

  • CRITICAL: SMS created at … does not work properly: SMS was successfully created, but seems to be not working. The next lines will show the output from check_sms probe.

  • WARNING: Storage created by storage factory works but is unable to be removed:: Unable to destroy SMS instance (but instance itself and Storage Factory works).

  • OK: Storage factory at … works: Everything is OK.