Graph Details - Turn off "Summary Details + Data" option

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
Poslik
Posts: 7
Joined: Tue Oct 31, 2017 8:25 am

Graph Details - Turn off "Summary Details + Data" option

Post by Poslik »

Hello,

is there any possibility, how to prevent to show Summary Detail and measured data in graph details? In html block '<tr class="odd"> ... </tr>'. Thank you
Attachments
SummDetail.png
SummDetail.png (58.03 KiB) Viewed 569 times
Poslik
Posts: 7
Joined: Tue Oct 31, 2017 8:25 am

Re: Graph Details - Turn off "Summary Details + Data" option

Post by Poslik »

Simple solution:
* change /cacti/graph.php
* comment line >> var graph_data_on=true; <<
* insert line >> var graph_data_on=<?php if ($_GET["summary_details"]) {print 'false' . ";\n";} else {print 'true' . ";\n";} ?>; <<

Now calling page with "summary_details" parameter, e.g. "http://cactiServerIp/cacti/graph.php?ac ... details=no"
Poslik
Posts: 7
Joined: Tue Oct 31, 2017 8:25 am

Re: Graph Details - Turn off "Summary Details + Data" option

Post by Poslik »

I actually decide to set the variable "graph_data_on" default to false. Data table will be globally shown only on demand via clicking on the icon "Graph Data" on the right side of graph. The system is so more fluent when analyzing a big time range.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests