Removing stale host information with the CLI


Whenever agents connect, the host information is refreshed by updating the verified timestamp. Stale host information is information that might no longer be relevant and is no longer refreshed. Host information that is added (possibly manually) that is never verified by a connecting agent is unverified. The host tool can be used to query host information that is stale or unverified, as shown in the following examples.

List host information that has not been verified since the specified time yyyy-MM-dd HH:mm:ss: --query-unverified-host-info

List all unverified host information: --query-all-unverified-host-info

hosttool.sh --query-unverified-host-info "2014-11-24 19:00:00" SA -p BMCSOFTWARE

It can also clear that information from the database: --clear-unverified-host-info

 

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*