TECHZEN Zenoss User Community ARCHIVE  

Verify Performance Data retention time

Subject: Verify Performance Data retention time
Author: Devon Solomon
Posted: 2018-03-08 17:30

Is there a way to see what the Performance Data retention time is for zenoss? If someone set the data retention time using the following commands is there a way to see what they set it to if it wasn't documented? 

To change the peformance data retention time from the default value of 90 days:
  1. Log in to the Control Center master host as a user with sudo and docker privileges.
  2. Stop the opentsdb writer service.
    serviced service stop opentsdb/writer
  3. 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.
    serviced service list
  4. 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
  5. 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
------------------------------


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:
  1. Log in to the Control Center master host as a user with sudo and docker privileges.
  2. Stop the opentsdb writer service.
    serviced service stop opentsdb/writer
  3. 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.
    serviced service list
  4. 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
  5. 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
------------------------------


< Previous
API for google maps
  Next
In Search Of information on Zenoss Core 5.x and user roles
>