Koozali.org: home of the SME Server

[Announce] Sarg on sme server 7

Offline swissis

  • **
  • 61
  • +0/-0
[Announce] Sarg on sme server 7
« Reply #30 on: June 14, 2006, 07:22:00 PM »
Yeah, now it works. Can you tell me how to translate de usernames to some more readable? now it lists the pc name

1   date/time   pc-00183.promaen.local   350   101.988.095   71.93%   0.05%   99.95%   00:12:30   750.662   22.46%
2   date/time   pc-02689.promaen.local   2.318   13.555.810   9.56%   4.23%   95.77%   00:08:58   538.342   16.11%
3   date/time   pc-02610.promaen.local   1.990   13.025.772   9.19%   0.20%   99.80%   00:05:14   314.627   9.42%
...

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
[Announce] Sarg on sme server 7
« Reply #31 on: June 15, 2006, 05:40:13 AM »
It is a bit of a pain this way

The old Sarg on SME 6 shows the Ip address of the machine ... that is a slightly better way I would think as it is easier to find out what machine it is.

The PC name can be found here ... /var/lib/dhcp/dhcpd.leases

But I wouldn't know how to intergrate that into anything as I know nothing about scripting etc.

Maybe MasterSleepy can have a look and see if he can do anything with it.

Regards,

Tib

Offline MasterSleepy

  • *
  • 386
  • +0/-0
    • http://www.vanhees.cc
[Announce] Sarg on sme server 7
« Reply #32 on: June 15, 2006, 04:14:47 PM »
Hello,

I'll check for ip problem.

Regards.

Offline sabrewulf

  • 13
  • +0/-0
    • http://www.kustard.org
Sunday/Weekly/Monthly Reports
« Reply #33 on: September 24, 2006, 11:54:21 PM »
G'day all,

I've installed the latest SARG rpm on a fresh 7.0 SME server/gateway machine but am only getting Monday to Saturday reports. The machine has been running for 2 months now.

Any ideas where I can look for what may be stopping the Sunday/Weekly/Monthly reports from being generated.

Everything looks good to me (cron jobs look correct), so not really sure where the problem lies.
...

Offline MasterSleepy

  • *
  • 386
  • +0/-0
    • http://www.vanhees.cc
[Announce] Sarg on sme server 7
« Reply #34 on: September 25, 2006, 09:55:51 AM »
Hello,

You are right, saterday statistic are missing.
I will check for that as soon.

Regards.

Offline jonic

  • *
  • 103
  • +1/-0
[Announce] Sarg on sme server 7
« Reply #35 on: October 07, 2006, 02:48:01 PM »
I'm having some troubles too with the sarg contrib. I only get the montlhly reports. The others (one-shot, daily, weekly) give me an " /squid/daily/index.html was not found " type of error. I tried launching the cron jobs manually but to no avail.

This is on a fresh install of SME Server v7.0, running for a couple of days now.


Offline jonic

  • *
  • 103
  • +1/-0
[Announce] Sarg on sme server 7
« Reply #37 on: October 10, 2006, 02:18:01 PM »
Thanks MasterSleepy, I've installed the new rpms and everything seems to work ok.

However I had to disable squid for the moment, cause one of the users had some problems accessing a specific site. Can squid be setup so a machine bypasses the transparent proxy? Or does the setting must be done on that machine?

SMESA

[Announce] Sarg on sme server 7
« Reply #38 on: November 03, 2006, 08:35:46 AM »
First of all, thanks alot MasterSleepy for your tireless work on Sarg for SME.

I have installed your contrib, and it's been working great for about a month, now however Im getting "Segmentation fault" errors when the cron.daily/sarg runs.

I've googled and found this http://mikhail.greenway.ru/sarg/ have you come across this fault before?

Thank you
Alfred

Offline MasterSleepy

  • *
  • 386
  • +0/-0
    • http://www.vanhees.cc
[Announce] Sarg on sme server 7
« Reply #39 on: November 06, 2006, 08:24:08 AM »
Hello,

Try running lastest version.
You could find it at http://www.dungog.net/

Regards.

Offline byte

  • *
  • 2,183
  • +2/-0
[Announce] Sarg on sme server 7
« Reply #40 on: November 06, 2006, 11:11:19 AM »
Quote from: "MasterSleepy"
Hello,

Try running lastest version.
You could find it at http://www.dungog.net/

Regards.


MasterSleepy, I noticed Stephen had sarg as well, what are the differences between your version and Dungog?

Thanks!
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline MasterSleepy

  • *
  • 386
  • +0/-0
    • http://www.vanhees.cc
[Announce] Sarg on sme server 7
« Reply #41 on: November 06, 2006, 03:32:05 PM »
Hello,

Dungog version use two rpm, the first one is i386 sarg compiled.
The last one is bundle of script for smeserver 7.
Advantage of this solution is that it use binary build for rhel.

Regards.

Offline byte

  • *
  • 2,183
  • +2/-0
[Announce] Sarg on sme server 7
« Reply #42 on: November 06, 2006, 08:03:44 PM »
Quote from: "MasterSleepy"

Dungog version use two rpm, the first one is i386 sarg compiled.
The last one is bundle of script for smeserver 7.
Advantage of this solution is that it use binary build for rhel.


Ok - Thanks, so in future anyone looking to install sarg should use the dungog version as it is built with the rhel version on which the SME Server is based.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
[Announce] Sarg on sme server 7
« Reply #43 on: November 07, 2006, 04:28:10 PM »
fyi
sarg-2.2.1-1.el4.rf.i386.rpm
is lifted from dag, so you could d/l directly from there
(MasterSleepy is welcome to keep control of releases
Michael may not want to split the rpm)

there are two smeserver-sarg rpms
for 1.x wich is bundled with the binary
and for 2.x which is seperated

2.x uses a different method in the cron*/sarg files
which is irrelevant to users

but both this and the old method will fail when bug 1990 is fixed
http://bugs.contribs.org/show_bug.cgi?id=1990
ie the log filename will not match the long format

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
[Announce] Sarg on sme server 7
« Reply #44 on: November 07, 2006, 05:29:35 PM »
This hasn't been easy  I tell you  :shock:
I started presenting these bugs long ago and no one seemed to think it was SME related.
Today I'm using the latest version of sargs and also Dansguardian, so since I pointed sargs to the Dansguardian directory, I no longer care about the files on /var/log/squid. I then made a script to clean this directory:
Code: [Select]
#/bin/bash

for i in /var/log/squid/*; do
   > "$i";
done
which I run every 48hrs (high traffic here at school)

This brought me another problem, since I use the Web interface provided by Dungog.net to manage Dans, it does not restart Dans or squid by itself:
Code: [Select]
svc -d /service/squid
svc -d /service/dansguardian
svc -u /service/squid
svc -u /service/dansguardian


I hope this helps someone in case they need a 'hack' to get things going...