|
NAMEOpenXPKI::Server::API2::Plugin::UI::get_ui_system_status COMMANDSget_ui_system_statusReturns a HashRef with informations about critical items of the system: {
secret_offline => 0, # offline secret count
crl_expiry => 123456, # CRL expiry timestamp (UNIX epoch)
dv_expiry => 654321, # data vault expiry timestamp (UNIX epoch)
watchdog => 1, # watchdog process count
worker => 2, # worker process count
workflow => 1, # workflow process count
version => '...' # OpenXPKI version string
hostname => oxi-test # Name of the host (from sys::hostname)
config => { version => .. } # key/values from system.version
}
Changes compared to API v1: parameter "ITEMS" was removed as it was unused. crl_expiry only queries CRLs for active certsign tokens. It returns a literal '0' if no crl is found for any active token (or no token is active). The value is not set in the result if no group name is defined in crypto.type.certsign. dv_expiry is zero if no vault token is found at all, it is unset if no group name is defined in crypto.type.datasafe. If ignore_validity is set and a token ist found it is -1.
|