check_uvos
./check_uvos.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 that checks UVOS connectivity and administration interface. Written in Perl, v5.10.0 (requires commons.pm module in plugin directory or one level higher). Needs UVOS Commandline Client in version 1.32 or higher and proper configuration file for this client. Plugin executes command getMyIds from UVOS administration interface and looks for used certificate distinguished name in the output. Compares it using simple Java class and shows the result.
-
UVOS_CLIENT_PATH: absolute path to UVOS Commandline Client binary (in version 1.32 or higher)
-
UCC_CONFIG: absolute path to valid configuration file for UCC (remember to set absolute paths to keystore and trustore in this file!)
-
UVOS_URL: URL of UVOS server (with scheme, hostname/ip and port!)
-
LOGS_DIR: directory where script should store UVOS CLC logs and temporary files
-
CRITICAL: Unable to contact UVOS: Cannot connect to UVOS service, check UVOS CLC configuration and connection - probably network problems. In next line you will find cause of failure.
-
CRITICAL: Access Denied: Could not authenticate in UVOS, check user rights.
-
WARNING: Unexpected output (dn not found: …): Connecting to UVOS and executing command succeded, but used DN is not found. Check the output from the command.
-
OK: UVOS works, identity matches: Everything is OK.