IBM Support

How the PHP script repair_database.php of cacti works

Question & Answer


Question

There is no documentation for the PHP script repair_database.php in cacti package on the following perspectives, 1. The usage of the tool and how it works; 2. The scope of the tables which will be fixed in the tool; 3. The output of the tool

Answer


The algorithm in repair_database.php is,
1. Get all table names of database cacti with the MySQL statement, show tables from cacti;
2. Repair each table with the MySQL statement, repair table tablename;

Below are the explanations of this PHP script,
1. This PHP script should not be run through a web browser.
2. The scope of the tables which will be fixed is the all tables of database cacti.
3. The output of this PHP script is the repair result of each table.

[{"Product":{"code":"SSVMSD","label":"Platform RTM"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.3.0","Edition":"Standard","Line of Business":{"code":"","label":""}},{"Product":{"code":"SSZT2D","label":"IBM Spectrum LSF RTM"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Product":{"code":"SSZT2D","label":"IBM Spectrum LSF RTM"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

More support for:
Platform RTM

Software version:
8.3.0

Document number:
677459

Modified date:
17 June 2018

UID

isg3T1019452

Manage My Notification Subscriptions