Page 1 of 1

OTGW graph history

Posted: Sat Nov 02, 2019 2:36 pm
by Jack007
Hi,

Just a simple question. The OT graph webpage displays the OTGW data of the last 2 hours. Can this time/duration be altered or is this fixed?

TIA
Jack

Re: OTGW graph history

Posted: Sun Nov 03, 2019 2:57 pm
by hvxl
Contrary to the original intention of the program, people started running otmonitor permanently. To prevent it from consuming ever more memory, I had to set a limit on the amount of history it kept. I came up with 15000 lines of logging and a graph of 2 hours. Those seemed like reasonable numbers, which would keep the program responsive, while giving the user a fair amount of information about past events. These numbers are set in otmonitor.tcl in the variables logsize and span. You can modify them if you want.

Re: OTGW graph history

Posted: Mon Nov 04, 2019 3:55 pm
by Jack007
Thanks.
I will start experimenting.

One more question; Where can otmonitor.tcl be found. I let RPi search for this file but did not find it.