Follow

How to set the HBASE TTL (time to live) value for Resource Manager 5.1.1 Performance Data

Applies to:

  • Zenoss Resource Manager 5.1.1

Summary

Upgrading to Zenoss Resource Manager 5.1.1 can result in the TTL (time to live) HBASE data retention policy being set incorrectly. The TTL setting controls how long performance data is retained for targets within Resource Manager. Changing this value can be useful in various scenarios, for example:

  • decrease the TTL value to save space and prevent low space issues
  • increase the TTL value to retain more performance data although more storage space is used

NOTE: The TTL value is set in seconds.

Procedure

To set the or change the TTL value for HBASE, perform the following:

  1. Login to the Control Center host.
  2. Attach to the writer container:
    serviced service attach writer
  3. Change to the opentsdb directory:
    cd /opt/opentsdb
  4. Set the TTL value, using seconds:
     ./set-opentsdb-table-ttl.sh {seconds}

    For example, to set the TTL to 90 days, use the value 7776000 seconds:

    ./set-opentsdb-table-ttl.sh 7776000
  5. Exit the container:
     exit
Was this article helpful?
2 out of 2 found this helpful
Have more questions? Submit a request

Comments

  • Avatar
    Kevin Smith

    Could we get steps on showing the current setting?

Powered by Zendesk