check_unicorex
./check_unicorex.pl [OPTIONS] [-f configuration_file]
-
-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
Plugin checks main part of the UNICORE/X containter: TargetSystemFactory avialability and ability of creating TargetSubmissionService instances. Written in Perl, v5.10.0 (requires commons.pm module in plugin directory or one level higher). Plugin lists all TargetSystemFactories in the Registry whose name is equal to one od the configuration options The amount of created Target Systems is also checked (if none is available script tries to create one).
-
UCC_PATH: absolute path to UNICORE Commandline Client binary (in version 1.4.0 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 the Registry
-
SITE_NAME: name of site you want to check
-
LOGS_DIR: directory where script should store UCC logs and temporary files
-
OK: Found XXX TSS instances: TSF works and there is at least one TSS.
-
CRITICAL: Unable to find requested TSF on accessible sites list: There is no such TSF on list of found in the Registry and accessible sites. Probably the site is not available in the Registry or you do not have valid credential to connect to it.
-
CRITICAL: TSF found but TSS cannot be created: No TSSs found and UCC is unable to create any. Check server-side logs.