Hi,
On 10.11.2017 14:23, Michael Tremer wrote:
Hi,
On Fri, 2017-11-10 at 02:42 +0100, Matthias Fischer wrote:
Hi,
I have just some short question about 'sgraph' (Proxy-Diagramme):
Should I build 'sgraphs' (Proxy-Diagramme - see: https://sourceforge.net/projects/squid-graph/) as an addon for pakfire or as an update for GUI integration?
Localizations and GUI are ok - running.
How much of an impact would it have when it is always installed but not used? Does it need to fire the cron every time?
Analyzing ~1.5 million lines took about 15-20 seconds during testing - every five minutes - on a duo box. Because of this I moved the 'sgraph'-job temporarily from 'makegraphs' to '/etc/fcron.hourly'. But this could lead to missing some information through rotation. Right now its running in '/etc/fcron.cyclic', analyzing 99389 lines in under a second every five minutes. Load is ok and no problem.
=> Impact depends on the number of machines and proxy load. As you wrote: "Well, that is probably okay.". ;-)
It would make sense to integrate it since the proxy is preinstalled, but SARG is an add-on... So probably add-on...
Addon is "under construction".
Best, Matthias