Page 1 of 1

OTGW graph history

PostPosted: Sat Nov 02, 2019 1:36 pm
by Jack007

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?


Re: OTGW graph history

PostPosted: Sun Nov 03, 2019 1: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

PostPosted: Mon Nov 04, 2019 2:55 pm
by Jack007
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.