Check the setup of all hosts in the domain to make sure their representation is internally complete within Lab Management.
This method is only available to users to Lab Management Domain Admins and can be considered a maintenance method that should rarely, if ever, need to be run. Three areas of setup consistency are checked for each host:
/cubit_api/1/check_host_consistency
This method requires authentication using an API key.
Successful completion of host consistency check:
<?xml version='1.0'?>
<cubit version='1'>
<status>OK</status>
<output>All Hosts OK</output>
</cubit>
If the user is not a Lab Management Domain Admin:
<?xml version='1.0'?>
<cubit version='1'>
<error>User 'grue' is not authorized to run this method.</error>
</cubit>
If there is an error re-generating the host's internal database
representation for at least one host:
<?xml version='1.0'?>
<cubit version='1'>
<status>OK</status>
<output>Hosts which were not successfully updated:
cu011.dev.cubitdemo.net</output>
</cubit>
If the system performance statistics configuration files are not
properly generated for at least one host:
<?xml version='1.0'?>
<cubit version='1'>
<status>OK</status>
<output>Hosts which are not properly setup to collect
performance data: cu011.dev.cubitdemo.net</output>
</cubit>
If there is a DNS mismatch for at least one host:
<?xml version='1.0'?>
<cubit version='1'>
<status>OK</status>
<output>Hosts which require re-ip'ing:
cu011.dev.cubitdemo.net</output>
</cubit>
If there is a IP mask mis-match:
<?xml version='1.0'?>
<cubit version='1'>
<status>OK</status>
<output>Hosts whose IP mask/gateway does not match with the
IP mask/gateway it resolves to:
cu011.dev.cubitdemo.net</output>
</cubit>