Page 17 of 18

Re: Server Generated Graphs for MX

Posted: Thu 17 Sep 2020 11:31 pm
by water01
Mine has a cloudbase graphic, it is the first rewrite rule in the .htaccess file.

Code: Select all

RewriteRule ^cloudbase.png$ graphCloudbase.php [NC,L]

Re: Server Generated Graphs for MX

Posted: Wed 23 Sep 2020 7:43 pm
by The PIT
There isn't any php script for it and I couldn't see any reference in gauges script when I last looked.

Re: Server Generated Graphs for MX

Posted: Wed 23 Sep 2020 9:45 pm
by water01
Just realised that is because I am using the SQL version and the graphCloudbase.php is in there.

Now the funny thing is that I know the cloudbase graph is produced for the JSON version as I helped add them to a standard JSON site I just cannot remember what produces them.

Re: Server Generated Graphs for MX

Posted: Thu 24 Sep 2020 6:55 pm
by The PIT
Yeh the json file for cloudbase is missing so it isn't getting uploaded.

Interesting the files in jpgraph cache folder all have the original date stamp when they were first created. Even if I delete them they come back with the same date stamp yet if I open the file the data within it has changed.

I'm just leaving it running and seeing what the graphs do for now.

Of course I could just see when the file was modified which tells it was modified the last time the script was run.

It also means the documentation is misleading or wrong as it says that the way I've got it set it should always create a new file.

Re: Server Generated Graphs for MX

Posted: Sat 03 Oct 2020 9:17 am
by The PIT
Any chance of getting the cloud based script working on the none sql scripts?

Re: Server Generated Graphs for MX

Posted: Sat 03 Oct 2020 9:32 am
by mcrossley
The cloudbase data is not stored by Cumulus so there is no data to graph. Using SQL provides the historic data required.

Re: Server Generated Graphs for MX

Posted: Tue 06 Oct 2020 1:58 pm
by The PIT
Hi the answer provided Water01 suggests the code is in there already.
So from your answer I take it that the other json files are created from the realtime files rather from the data stored within cumulusmx
Anyway got the other cloudbase graphic working took me a while as I know sod all about php but got there in the end.

Re: Server Generated Graphs for MX

Posted: Tue 06 Oct 2020 11:29 pm
by water01
I am using the MySQL version so the data is there in the database as per Mark's answer.

Re: Server Generated Graphs for MX

Posted: Sat 13 Mar 2021 9:51 am
by The it guy
Hi i know this is old but ive been looking to change color of the charts ive look every where and the fonts but i dont know what file to edit? :bash:
Capture.PNG
thank you

Re: Server Generated Graphs for MX

Posted: Sat 13 Mar 2021 12:24 pm
by water01
Are you talking about the graphs that appear when you run the mouse over a gauge in the SteelSeries gauges as this looks way to big for that graph? If you are then you can change the colour in the jpgraph code.

Re: Server Generated Graphs for MX

Posted: Sat 13 Mar 2021 3:58 pm
by The it guy
yh thay are bit big arnt there and i cant see when i can make them bit small and i had a look in the code but i cant see where ;)

Re: Server Generated Graphs for MX

Posted: Mon 20 Dec 2021 6:06 pm
by Cambium
water01 wrote: Sat 13 Mar 2021 12:24 pm Are you talking about the graphs that appear when you run the mouse over a gauge in the SteelSeries gauges as this looks way to big for that graph? If you are then you can change the colour in the jpgraph code.
Just seeing this... Where do i find this jpgraph code?

Re: Server Generated Graphs for MX

Posted: Mon 20 Dec 2021 8:10 pm
by water01
As per the first post in this Topic https://github.com/mcrossley/Cumulus-MX-Gauge-Graphs/

Re: Server Generated Graphs for MX

Posted: Wed 22 Dec 2021 5:36 pm
by Benji60
Hello,
I managed to get and modify a script to make highchart with a SQL database completed with CumulusMX.


If some are interested I can share but beware I'm bad at coding so everything I did has to be redone I think to work everywhere and have something clean.

Re: Server Generated Graphs for MX

Posted: Wed 22 Dec 2021 8:22 pm
by mcrossley
@benji60 - it's a long thread but... viewtopic.php?f=18&t=8672