diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/sarg/sarg.inc | 2 | ||||
-rw-r--r-- | config/sarg/sarg_schedule.xml | 12 |
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>]]><input type="submit" name="Submit" value="Force udpate now"><br></description> |