SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0000289: Http Proxy status graphs not displaying values - MantisBT
MantisBT - Endian Firewall
View Issue Details
0000289Endian FirewallGUIpublic2007-11-01 10:462007-12-31 19:11
clubbing80s 
peter-endian 
normalmajoralways
closedfixed 
2.2-beta1 
2.2-beta2 
0000289: Http Proxy status graphs not displaying values
Hi
The proxy graphs, are not displaying any traffic / values
it reports as follows

Generated: Thu Nov 1 12:30:08 2007
Lines Analyzed: 7905 lines (7905 errors) <<< this would look like the rease
Analysis Duration: 1 seconds
Analysis Speed: 7905 lines/sec
Graph Start: Wed Oct 31 12:30:08 2007
Graph End: Thu Nov 1 12:30:08 2007
Graph Domain: 24 hours (86400 seconds)

and all the values for the graphs are 0
No tags attached.
Issue History
2007-11-01 10:46clubbing80sNew Issue
2007-11-07 23:12peter-endianStatusnew => assigned
2007-11-07 23:12peter-endianAssigned To => peter-endian
2007-11-08 15:56peter-endianStatusassigned => resolved
2007-11-08 15:56peter-endianFixed in Version => 2.2
2007-11-08 15:56peter-endianResolutionopen => fixed
2007-11-08 15:56peter-endianNote Added: 0000633
2007-12-31 15:05raphael-endianFixed in Version2.2-beta1 => 2.2-beta2
2007-12-31 19:11raphael-endianStatusresolved => closed

Notes
(0000633)
peter-endian   
2007-11-08 15:56   
Edit /usr/local/bin/makegraphs.pl and change thes lines according the following patch:

--- src/makegraphs.pl (revision 11224)
+++ src/makegraphs.pl (working copy)
@@ -458,8 +458,8 @@
 ###
 ### Squid Graphs
 ###
-if (fileStayInMemory("/var/log/squid/access.log")) {
- system ("/usr/bin/squid-graph -o=/home/httpd/html/sgraph --tcp-only < /var/log/squid/access.log >/dev/null 2>&1");
+if (fileStayInMemory("/var/log/squid/access.log_short")) {
+ system ("/usr/bin/squid-graph -o=/home/httpd/html/sgraph --tcp-only < /var/log/squid/access.log_short >/dev/null 2>&1");
 }
 
 ###