Sarg package



  • Hello

    Recently I began tests and some developing a pfsense package for sarg. Following the documentation in the forum and tests.

    Here is the sarg.xml and sarg.inc

    Some configurations is make via webgui and sarg-realtime is set too.

    Any doubt, please contact me. ;)


    sarg_inc.txt
    sarg_xml.txt



  • I join to test. But on monday  ::)



  • How i can install sarg?

    –----------

     <modify_system><modifyfilename>/etc/crontab</modifyfilename>
     <textneeded>0       0       *       *       *       root    /usr/local/bin/sarg 2>&1 /dev/null && /usr/local/sbin/squid -k rotate > /dev/null</textneeded></modify_system> 
    

    Realy need change '/etc/crontab'? In FreeBSD book's it's not recomended
    User task's recomended put to /var/cron/tabs/root

    0       0       *       *       *       /usr/local/bin/sarg 2>&1 /dev/null && /usr/local/sbin/squid -k rotate > /dev/null
    


  • You can install by:

    pkg_add -r sarg
    

    Or, if you set the pkg_config.xml:

     <package><name>sarg</name>
          <descr>Sarg</descr>
          <website>http://sarg.sf.net/</website>
          <category>Services</category>
          <version>0.1</version>
          <status>BETA</status>
          <required_version>1.0</required_version>
          <maintainer>joaohf@gmail.com</maintainer>
          <depends_on_package_base_url>http://ftp13.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All</depends_on_package_base_url>
          <depends_on_package>sarg-2.2.3.1.tbz</depends_on_package>
          <config_file>http://10.0.2.40/packages/config/sarg.xml</config_file>
          <configurationfile>sarg.xml</configurationfile></package> 
    

    About, crontab. I will change this and create a butom in the webgui to run sarg.



  • This package also needs to utilize the new cron features that are in 1.2.

    We branch for BETA today so the new version is not far off..



  • Ok,

    What is the new cron features? Where i could find documentation about them?

    I will rework the sarg package.



  • @joaohf:

    Ok,

    What is the new cron features? Where i could find documentation about them?

    I will rework the sarg package.

    Lookin this topic and last my sources
    http://forum.pfsense.org/index.php?topic=1176.30



  • Thanks, I read the sources and rework on the package sarg. I will test and report where.

    PS: Did the pfsense project use phpdoc for documentations of the sources? or any documentation system?



  • any news?



  • i tried to install sarg - i could log on to sarg config page, but sarg-realtime shows no info (though the page is generated) and Sarg-View shows "404 - Not Found"  :(



  • could u plz tell for us noobs at the topicstart, what sargs is, and what it do plz?  :)



  • Ok,

    I am very busy, but have done some improvements in the sarg packages. Before post the code, I will test and release here soon

    Sarg is a report generator for the squid access logs.



  • Hello,

    Before some fixes and rework in various parts of code (basead on squidlight packages) I post the sarg packages for  pfsense communinty

    pkg_config.xml.txt
    sarg.inc.txt
    sarg.xml.txt
    sarg_visual.xml.txt



  • Hi!

    Could you post a quick instruction about how to install your test package in pfSense?

    Tks!


Log in to reply