diff options
author | Marcello Coutinho <marcellocoutinho@gmail.com> | 2012-09-14 13:12:12 -0300 |
---|---|---|
committer | Marcello Coutinho <marcellocoutinho@gmail.com> | 2012-09-14 13:12:12 -0300 |
commit | 8c44f779ee7806ac816f028d7323cda77168bee8 (patch) | |
tree | d497c7b3483dd8881134b6bf3a69163450e668e6 /config/sarg/sarg_schedule.xml | |
parent | 502bb0945280d409e33b3a3eaaa3ff1596705828 (diff) | |
download | pfsense-packages-8c44f779ee7806ac816f028d7323cda77168bee8.tar.gz pfsense-packages-8c44f779ee7806ac816f028d7323cda77168bee8.tar.bz2 pfsense-packages-8c44f779ee7806ac816f028d7323cda77168bee8.zip |
sarg - add gzip feature to compress reports and save disk space
Diffstat (limited to 'config/sarg/sarg_schedule.xml')
-rw-r--r-- | config/sarg/sarg_schedule.xml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/config/sarg/sarg_schedule.xml b/config/sarg/sarg_schedule.xml index 15527701..4a7309af 100644 --- a/config/sarg/sarg_schedule.xml +++ b/config/sarg/sarg_schedule.xml @@ -105,6 +105,10 @@ <fieldname>args</fieldname> </columnitem> <columnitem> + <fielddescr>Gzip</fielddescr> + <fieldname>gzip</fieldname> + </columnitem> + <columnitem> <fielddescr>Post Action</fielddescr> <fieldname>action</fieldname> </columnitem> @@ -164,6 +168,44 @@ </options> <description>Choose an action after sarg finishes</description> </field> + <field> + <type>listtopic</type> + <fieldname>temp</fieldname> + <name>Compress Options</name> + </field> + <field> + <fielddescr>Enable Compression</fielddescr> + <fieldname>gzip</fieldname> + <description><![CDATA[Enable this option to compress sarg report html files using gzip and reduce 4 times sarg reports data.]]></description> + <type>checkbox</type> + </field> + <field> + <fielddescr>Compression level</fielddescr> + <fieldname>gziplevel</fieldname> + <type>select</type> + <options> + <option><name>Default gzip compression (Recommended)</name><value></value></option> + <option><name>1 (fast)</name><value>--fast</value></option> + <option><name>2</name><value>-2</value></option> + <option><name>3</name><value>-3</value></option> + <option><name>4</name><value>-4</value></option> + <option><name>5</name><value>-5</value></option> + <option><name>6</name><value>-6</value></option> + <option><name>7</name><value>-7</value></option> + <option><name>8</name><value>-8</value></option> + <option><name>9 (best)</name><value>--best</value></option> + </options> + <description>Choose gzip compression level.</description> + </field> + <field> + <fielddescr>Find Limit</fielddescr> + <fieldname>find</fieldname> + <type>input</type> + <default_value>60</default_value> + <size>5</size> + <description><![CDATA[To speed up find process, restrict find search to report files created/changed n minutes ago.<br> + Default is to 60 minutes. If your reports take longer to be created, increase this value.]]></description> + </field> </fields> <custom_php_install_command> sarg_php_install_command(); |