I have PHP Server Monitor installed on my QNAP server to monitor our hosted webserver.
Everything works fine and I get a Pushover notification when a service stops. Great!!
But, there is one problem with the graph:
As you can see it's axis is at 1970.
Ofcource I checked the database, but data is stored correctly:
Is there anyone with the same problem? And maybe a solution?
Thanks :-) :-) and keep up the good work!
Reg, Jerry
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
had the same issue on my QNAP.
I changed the history.js to the parseFloat value, but still there was no graph and the "last check" showed 7 hours ago!
When I zoomed the graph I saw a draw.
Database data are fine too.
At the end, I checked the php.ini of the QNAP and there was the problem.
[Date]
date.timezone = "Asia/Taipei"
After changed to the correct on, in my case "Europe/Berlin" I got the correct last check and also a correct graph.
Maybe there will be something in the next version that checks the server timezone.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi!
I have PHP Server Monitor installed on my QNAP server to monitor our hosted webserver.
Everything works fine and I get a Pushover notification when a service stops. Great!!
But, there is one problem with the graph:
![alternate text](http://dream-solution.net/img/image1.png)
As you can see it's axis is at 1970.
Ofcource I checked the database, but data is stored correctly:
![alternate text](http://dream-solution.net/img/image2.png)
Is there anyone with the same problem? And maybe a solution?
Thanks :-) :-) and keep up the good work!
Reg, Jerry
Hi Jerry,
I have the same issue - including the same date range. My DB seems to be collecting data, too.
I posted earlier, see the NO GRAPHS posting. I followed the suggestions. I have received no errors and no further suggestions.
Regards,
Wesley
solution is very simple:
in the file history.js change the call of parseInt to parseFloat. it is in this block:
just change it to
Hi all,
had the same issue on my QNAP.
I changed the history.js to the parseFloat value, but still there was no graph and the "last check" showed 7 hours ago!
When I zoomed the graph I saw a draw.
Database data are fine too.
At the end, I checked the php.ini of the QNAP and there was the problem.
[Date]
date.timezone = "Asia/Taipei"
After changed to the correct on, in my case "Europe/Berlin" I got the correct last check and also a correct graph.
Maybe there will be something in the next version that checks the server timezone.