check_registry
./check_registry.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 UNICORE Registry. Written in Perl, v5.10.0 (requires commons.pm module in plugin directory or one level higher). Plugin connects to the Registry using UCC (in version 1.4.0 or higher) and uses command ucc system-info to get all services registered in Registry. Next checks if all services marked in configuration file as "required" are available.
-
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 you want to check
-
REQUIRED_SERVICES: comma-and-space separated list of service that are required to be placed in the Registry at each probe run (can be an empty string)
-
LOGS_DIR: directory where script should store UCC logs and temporary files
-
CRITICAL: Unable to connect the Registry: UCC could not connect to the Registry. Check if it is running and avaialable at the Gateway.
-
CRITICAL: None services found: Connection is OK, but script could not parse output from UCC, probably UCC version you use is unsupported (or just no service are registered in the Registry yet)
-
OK: Registry works, XXX services found: Everything is OK.
-
CRITICAL: Some required services not found: XXX: Some services marked in configuration file as required are not available at the moment.