IBM Support

Debug graph input value using PHP script server

Question & Answer


Question

How to check the input value of a graph using PHP script server?

Answer

1) Find the rrd files used by the graph

See technote T1018613 Find rrd file, data source and data template for a graph

2) From the Console (TAB) -> Utilities -> View Poller Cache, search for the rrd file

The returned records show the php script command in the 2nd column (Details)


3) Open a PUTTY console on RTM host, go to $RTM_TOP/cacti, invoke script_server.php, then at prompt, copy the exact command from step 2 (highlighted in the screenshot)

For example:


# php script_server.php
PHP Script Server has Started - Parent is cmd
/opt/IBM/cacti/scripts/ss_grid_hgroup_stats.php ss_grid_hgroup_stats 1 get ut chat
0.014686999842524529

You can check the returned value to see if it makes sense.

[{"Product":{"code":"SSVMSD","label":"Platform RTM"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":"Graphs","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.1.0;9.1.2;9.1.3;9.1.4","Edition":"","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:
9.1.0, 9.1.2, 9.1.3, 9.1.4

Document number:
676787

Modified date:
17 June 2018

UID

isg3T1018378

Manage My Notification Subscriptions