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:
  1. Create a profile configuration for the IBM Tivoli Utilization sensor that has the operatingMode parameter set to CLEANUP.
  2. 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:
  1. Navigate to the /var/tmp/ directory.
  2. Run the following command:
    ./scmd_perf.sh -k -c -r
  3. Remove the IBM Tivoli Utilization sensor lock file.
To perform a manual cleanup on a Windows target machine, complete the following steps:
  1. Navigate to the C:\ directory.
  2. Remove the WINTEL-MAN-PERF.VBS script.
  3. Remove the PerformanceData_hostname.out file.
  4. Remove the IBM Tivoli Utilization sensor lock file.