16.00 - Starting and Stopping the Emmonitorrest Service - Teradata Ecosystem Manager

Teradata Ecosystem Manager Installation, Configuration, and Upgrade Guide for Customers

prodname
Teradata Ecosystem Manager
vrm_release
16.00
created_date
December 2016
category
Configuration
Installation
featnum
B035-3203-116K
If you do not need REST API access for monitored data, use a command to stop the service.
  1. Use the following script and commands with the emmonitorrest service: init script - /etc/init.d/emmonitorrest
    Command Description Example
    start Starts the emmonitorrest service /etc/init.d/emmonitorrest start
    stop Stops the emmonitorrest service /etc/init.d/emmonitorrest stop
    status Provides the status of emmonitorrest service /etc/init.d/emmonitorrest status
    restart Stops the emmonitorrest service and then starts it /etc/init.d/emmonitorrest restart
    H2status Provides the H2 status /etc/init.d/emmonitorrest h2status
    H2purge Deletes the monitoring data for a user specified timestamp interval. Use with careful consideration since you may be deleting historical and current data. /etc/init.d/emmonitorrest h2purge

    System Response:

    Are you sure you want to purge Data? [Y/n]y
    You are about to purge data.Please enter StartDate less than
    endDate
    Please enter startDate in (YYYY-mm-DD HH:MM:SS ) format :
    2015-08-01 10:10:10
    Please enter endDate in (YYYY-mm-DD HH:MM:SS ) format
    :2015-08-04 10:10:10