Friday, October 5, 2012

Stopping and Deleting Performance Analyzer Historical Collections.

Simple script to stop the ITPA ( performance Analyzer) Historical Collection  using the tacmd command.

This was tested on a AIX server and on ITM 623FP1.


Stop Historical Collection of Tivoli Performance Analyzer.

tacmd   histstopcollection

#!/bin/bash

DOMCODE=KP3
export PATH=$PATH:/opt/IBM/ITM/bin:.


# If you want to specify user and password apennd the following parameters after %COMPUTERNAME%:
# -u sysadmin -p password
tacmd tepslogin -s `hostname`

tacmd histstopcollection -a System_Health -m *AFT_PERF_ANALYZER_WHSE_AGENT

.... Likewise other Attribute Groups.
 

Delete Historical Collection
(you don't need the -t and the -o option )

tacmd tepslogin -s `hostname`  -u sysadmin -p ' '

tacmd histdeletecollection -u sysadmin -w ' ' -a "Disk_Health"

After this there should not be any entries in the TEPS Historical Collections GUI.

No comments:

Post a Comment