Time Graph View shows nothing
Moderators: Developers, Moderators
Time Graph View shows nothing
Hello,
I've upgraded to 1.1.37.
Since I've upgraded Cacti, when I click on the "Time Graph View" button near the graph, nothing is displayed.
I tested using Firefox, Opera, and Internet Explorer without any difference.
Have you any clue about this issue ?
I've upgraded to 1.1.37.
Since I've upgraded Cacti, when I click on the "Time Graph View" button near the graph, nothing is displayed.
I tested using Firefox, Opera, and Internet Explorer without any difference.
Have you any clue about this issue ?
Re: Time Graph View shows nothing
Can you provide a screenshot and the URL being used?
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: Time Graph View shows nothing
Here is the link I click :
http://<server>/cacti/graph.php?local_graph_id=9332
Here is the screenshot.
The URL used on the link I click is :http://<server>/cacti/graph.php?local_graph_id=9332
Re: Time Graph View shows nothing
Are there any logs reporting an error?
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: Time Graph View shows nothing
I have seen any error log.
I checked source code in browser.
I also checked flow trafic using wireshark.
I found this Javascript code :
Nothing is shown : no graphs.
I checked source code in browser.
I also checked flow trafic using wireshark.
I found this Javascript code :
Code: Select all
<div id='navigation_right' class='cactiGraphContentArea'>
<div style='position:static;' id='main' role='main'>
<script type='text/javascript'>
var cactiVersion='1.1.37';
var theme='classic';
var refreshIsLogout=false;
var refreshPage='/cacti/graph_view.php?action=tree&node=tbranch-239&hgd=&hyper=true&header=false';
var refreshMSeconds=300000;
var urlPath='/cacti/';
var previousPage='';
var searchFilter='Enter a search term';
var searchRFilter='Enter a regular expression';
var noFileSelected='No file selected';
var timeGraphView='Time Graph View';
var filterSettingsSaved='Filter Settings Saved';
var spikeKillResuls='SpikeKill Results';
var utilityView='Utility View';
var realtimeClickOn='Click to view just this Graph in Realtime';
var realtimeClickOff='Click again to take this Graph out of Realtime';
var treeView='Vue en arbre';
var listView='Vue en liste';
var previewView='Vue de prévisualisation';
var cactiHome='Cacti Home';
var cactiProjectPage='Cacti Project Page';
var cactiCommunityForum='Cacti Community Forum';
var reportABug='Report a bug';
var aboutCacti='A propos de Cacti';
var spikeKillResults='SpikeKill Results';
var showHideFilter='Click to Show/Hide Filter';
var clearFilterTitle='Clear Current Filter';
var clipboard='Clipboard';
var clipboardID='Clipboard ID';
var clipboardNotAvailable='Copy operation is unavailable at this time';
var clipboardCopyFailed='Failed to find data to copy!';
var clipboardUpdated='Clipboard has been updated';
var clipboardNotUpdated='Sorry, your clipboard could not be updated at this time';
var defaultSNMPSecurityLevel='authPriv';
var defaultSNMPAuthProtocol='MD5';
var defaultSNMPPrivProtocol='DES';
var passwordPass='Passphrase length meets 8 character minimum';
var passwordTooShort='Passphrase too short';
var passwordMatchTooShort='Passphrase matches but too short';
var passwordNotMatchTooShort='Passphrase too short and not matching';
var passwordMatch='Passphrases match';
var passwordNotMatch='Passphrases do not match';
var errorOnPage='Sorry, we could not process your last action.';
var errorNumberPrefix='Error:';
var errorReasonPrefix='Reason:';
var errorReasonTitle='Action failed';
var errorReasonUnexpected='The response to the last action was unexpected.';
var sessionMessageTitle='Operation successful';
var sessionMessageSave='The Operation was successful. Details are below.';
var sessionMessage=[];
var sessionMessageOk='Ok';
var sessionMessagePause='Pause';
</script>
</div>
</div>
Re: Time Graph View shows nothing
I've checked Firebug if any Exception appeared :
I think it's Javascript that doesn't call to get the RRD images.
I checked into Apache's log files. There are only the call to graph_view.php.I think it's Javascript that doesn't call to get the RRD images.
Re: Time Graph View shows nothing
The above exceptions all appear to be either jQuery or some other JavaScript library. Not sure why you would be seeing those kinds of errors. Have you tried with no addon's enabled?
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: Time Graph View shows nothing
I tried with Internet Explorer (no add-on) and also with Opera (fresh install). Both of them don't show the graph.
Re: Time Graph View shows nothing
I tested an other function : "Graph Details, Zooming and Debugging utilities" options.
When I click, I've a php error message :
Is this problem can explain the problem I mentioned first ?
I already reinstalled cacti using yum on CENTOS 7. There was no change.
When I click, I've a php error message :
Code: Select all
Notice: Undefined offset: 0 in /usr/share/cacti/graph.php on line 266
Notice: Undefined index: steps in /usr/share/cacti/graph.php on line 268
Notice: Undefined index: step in /usr/share/cacti/graph.php on line 268
Notice: Undefined index: rows in /usr/share/cacti/graph.php on line 268
Notice: Undefined index: steps in /usr/share/cacti/graph.php on line 283
I already reinstalled cacti using yum on CENTOS 7. There was no change.
Re: Time Graph View shows nothing
Have you per chance updated to php 7.2? If so, there are known compatability issues.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: Time Graph View shows nothing
PHP is still in 5.4.16
I've found the problem.
In fact, the person upgraded Cacti before me hasn't executed the upgrade script of version 1.1.17.
This script adds a column in the data_source_profiles_rra table.
I corrected the database.
Since, the buttons are functionning very well.
It can be useful to detect that the mysql queries return error. Is there a log file containing these messages ?
I've found the problem.
In fact, the person upgraded Cacti before me hasn't executed the upgrade script of version 1.1.17.
This script adds a column in the data_source_profiles_rra table.
I corrected the database.
Since, the buttons are functionning very well.
It can be useful to detect that the mysql queries return error. Is there a log file containing these messages ?
Re: Time Graph View shows nothing
Any MySQL failure is normally recorded into the cacti.log file (which is in the log folder). This is available via the GUI using the Logs tab at the top.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Who is online
Users browsing this forum: No registered users and 2 guests