Configuring cleanup options
The IBM® Tivoli® Utilization sensor has a function that automatically cleans up and removes the collection scripts and data stored on the target machine. It is also possible to perform the cleanup manually, if required.
Configuring automatic cleanup during discovery
To
use the automatic cleanup function, complete the following steps:
- Create a profile configuration for the IBM Tivoli Utilization
sensor that has the
operatingMode
parameter set toCLEANUP
. - Run a discovery using the profile that has the
CLEANUP
option set.
After the cleanup has been performed on the target discovery machine, to start the collection scripts again carry out a RESTART operation.
Performing manual cleanup
To perform a manual
cleanup on a UNIX target machine,
complete the following steps:
- Navigate to the /var/tmp/ directory.
- Run the following command:
./scmd_perf.sh -k -c -r
- Remove the IBM Tivoli Utilization sensor lock file.
To perform a manual cleanup on a Windows target machine, complete the following
steps:
- Navigate to the C:\ directory.
- Remove the WINTEL-MAN-PERF.VBS script.
- Remove the PerformanceData_hostname.out file.
- Remove the IBM Tivoli Utilization sensor lock file.