Subject: |
RE: Verify Performance Data retention time |
Author: |
Arthur |
Posted: |
2018-08-18 10:23 |
Hi Devon
See
https://support.zenoss.com/hc/en-us/articles/210270513-How-to-set-the-HBASE-TTL-time-to-live-value-for-Resource-Manager-5-1-1-Performance-Data
or with the GUI:
In the CC connect to the HMaster / hbase-masterinfo-1 Public Endpoint.
Under Tables you will find it TTL => '7776000 SECONDS (90 DAYS)',
Namespace |
Table Name |
Online Regions |
Offline Regions |
Failed Regions |
Split Regions |
Other Regions |
Description |
default |
4qvth4i0ilwrkqym51thyajvw-tsdb |
256 |
0 |
0 |
0 |
0 |
'4qvth4i0ilwrkqym51thyajvw-tsdb', {NAME => 't', TTL => '7776000 SECONDS (90 DAYS)', COMPRESSION => 'SNAPPY'} |
------------------------------
Arthur
------------------------------
To change the peformance data retention time from the default value of 90 days:
- Log in to the Control Center master host as a user with sudo and docker privileges.
- Stop the opentsdb writer service.
serviced service stop opentsdb/writer
- Execute the following command to list all the services and their SERVICEID values. Take note of the SERVICEID for the opentsdb reader service. It will be used as an argument in the following step.
- Execute the following command where $id is the opentsdb reader SERVICEID and $ttl is your desired TTL value, in seconds.
serviced service shell $id /opt/opentsdb/set-opentsdb-table-ttl.sh $ttl
- Start the opentsdb writer service.
serviced service start opentsdb/writer
Changing the Peformance Data Retention Time
Zenoss |
remove preview |
|
Changing the Peformance Data Retention Time |
Zenoss Resource Manager Administration Guide |
View this on Zenoss > |
|
|
------------------------------
Devon Solomon
------------------------------