Debug Graph Rendering

From NetMRG Wiki

Jump to: navigation, search

If you have graphs that are not rendering, follow this procedure to determine the reason.

  1. Go to a page that should display the graph, and view the source for the page in your web browser.
  2. Find the "get_graph.php" URL for the graph that does not display, and open this page in your browser.
  3. Append "&debug=1" to the "get_graph.php" URL you opened previously. This will give you a page with the exact RRDTOOL invokation used as well as some timing information.
  4. Log into your server as the NetMRG user. Copy and paste the RRDTOOL command obtained in the last step. RRDTOOL should provide information about why rendering did not succeed, or it should output a PNG file if successful.
Personal tools