aboutsummaryrefslogtreecommitdiffstats
path: root/config/sarg
diff options
context:
space:
mode:
authorMarcello Coutinho <marcellocoutinho@gmail.com>2012-04-11 14:14:33 -0300
committermarcelloc <marcellocoutinho@gmail.com>2012-04-11 14:14:33 -0300
commit40b25d0aa0a963560bba1a00c2eb1589e1f09df9 (patch)
tree81a0f793a7299d43cc086d4f82fba3f27e2e5795 /config/sarg
parentc03e4867d9926cfc64951461bc7f5791b84d6b1c (diff)
downloadpfsense-packages-40b25d0aa0a963560bba1a00c2eb1589e1f09df9.tar.gz
pfsense-packages-40b25d0aa0a963560bba1a00c2eb1589e1f09df9.tar.bz2
pfsense-packages-40b25d0aa0a963560bba1a00c2eb1589e1f09df9.zip
sarg - version 0.4.1 with minor bug fixes
Diffstat (limited to 'config/sarg')
-rw-r--r--config/sarg/sarg.inc2
-rw-r--r--config/sarg/sarg_schedule.xml12
2 files changed, 8 insertions, 6 deletions
diff --git a/config/sarg/sarg.inc b/config/sarg/sarg.inc
index f8987ae7..67deac9c 100644
--- a/config/sarg/sarg.inc
+++ b/config/sarg/sarg.inc
@@ -405,7 +405,7 @@ function sarg_do_xmlrpc_sync($sync_to_ip, $username, $password) {
/* xml will hold the sections to sync */
$xml = array();
$xml['sarg'] = $config['installedpackages']['sarg'];
-
+ $xml['sarguser'] = $config['installedpackages']['sarguser'];
/* assemble xmlrpc payload */
$params = array(
XML_RPC_encode($password),
diff --git a/config/sarg/sarg_schedule.xml b/config/sarg/sarg_schedule.xml
index 32d43b77..3d065a7a 100644
--- a/config/sarg/sarg_schedule.xml
+++ b/config/sarg/sarg_schedule.xml
@@ -102,7 +102,7 @@
</columnitem>
<columnitem>
<fielddescr>Aditional Args</fielddescr>
- <fieldname>mod</fieldname>
+ <fieldname>args</fieldname>
</columnitem>
<columnitem>
<fielddescr>Post Action</fielddescr>
@@ -130,20 +130,22 @@
<fieldname>description</fieldname>
<description>Enter a description for this file.</description>
<type>input</type>
- <size>60</size>
+ <size>50</size>
</field>
<field>
<fielddescr>Sarg args</fielddescr>
<fieldname>args</fieldname>
- <description>Enter sarg extra args to run on this schedule.</description>
+ <description><![CDATA[Enter sarg extra args to run on this schedule.<br>
+ To force sarg to create a report only from current day, use:<br>
+ <strong>-d `date +%d/%m/%Y`-`date +%d/%m/%Y`</strong>]]></description>
<type>input</type>
- <size>25</size>
+ <size>50</size>
</field>
<field>
<fielddescr>frequency</fielddescr>
<fieldname>frequency</fieldname>
<type>input</type>
- <size>10</size>
+ <size>5</size>
<description><![CDATA[How often extract users from active directory and verify changes<br>
Valid options are minutes(m), hours(h), days(d)<br>
Sample: To update every hour, use 1h<br><br>]]>&lt;input type=&quot;submit&quot; name=&quot;Submit&quot; value=&quot;Force udpate now&quot;&gt;&lt;br&gt;</description>