aboutsummaryrefslogtreecommitdiffstats
path: root/config/unbound/unbound.xml
diff options
context:
space:
mode:
authorWarren Baker <warren@decoy.co.za>2010-12-02 21:34:42 +0200
committerWarren Baker <warren@decoy.co.za>2010-12-02 21:34:42 +0200
commit6e38a4cd55e8a8b51b578213e571c1eaff3fd745 (patch)
treecd38f4c814b58f4331b3cbb69f0a43547463895b /config/unbound/unbound.xml
parentbb69c7e91d64ae2308101f93e8c48980fe7c4ce4 (diff)
downloadpfsense-packages-6e38a4cd55e8a8b51b578213e571c1eaff3fd745.tar.gz
pfsense-packages-6e38a4cd55e8a8b51b578213e571c1eaff3fd745.tar.bz2
pfsense-packages-6e38a4cd55e8a8b51b578213e571c1eaff3fd745.zip
Added configurable Statistics settings.
Remove touch() of unbound log file at install time - this is all handled by syslog now.
Diffstat (limited to 'config/unbound/unbound.xml')
-rw-r--r--config/unbound/unbound.xml39
1 files changed, 39 insertions, 0 deletions
diff --git a/config/unbound/unbound.xml b/config/unbound/unbound.xml
index 66bf8bd3..77b7bcd8 100644
--- a/config/unbound/unbound.xml
+++ b/config/unbound/unbound.xml
@@ -118,6 +118,45 @@
<type>checkbox</type>
<default_value>on</default_value>
</field>
+ <field>
+ <fieldname>stats</fieldname>
+ <fielddescr>Enable Statistics</fielddescr>
+ <description>Unbound will log the number of queries that the resolver handles.</description>
+ <type>checkbox</type>
+ <enablefields>stats_interval,cumulative_stats,extended_stats</enablefields>
+ </field>
+ <field>
+ <fieldname>stats_interval</fieldname>
+ <fielddescr>Statistics Interval</fielddescr>
+ <description>Select the time as to when statistics will be written to the Unbound log file.</description>
+ <type>select</type>
+ <default_value>3600</default_value>
+ <options>
+ <option><name>5 minutes</name><value>300</value></option>
+ <option><name>10 minutes</name><value>600</value></option>
+ <option><name>20 minutes</name><value>1200</value></option>
+ <option><name>30 minutes</name><value>2400</value></option>
+ <option><name>1 hour</name><value>3600</value></option>
+ <option><name>2 hours</name><value>7200</value></option>
+ </options>
+ </field>
+ <field>
+ <fieldname>cumulative_stats</fieldname>
+ <fielddescr>Enable Cumulative Statistics</fielddescr>
+ <description>Once unbound is started, the statistics collected are cumulative and are not cleared after each report has been logged.</description>
+ <type>select</type>
+ <default_value>no</default_value>
+ <options>
+ <option><name>No</name><value>no</value></option>
+ <option><name>Yes</name><value>yes</value></option>
+ </options>
+ </field>
+ <field>
+ <fieldname>extended_stats</fieldname>
+ <fielddescr>Enable Extended Statistics</fielddescr>
+ <description>In addition to collecting the total number of queries also collect what type of queries are handled by the resolver.</description>
+ <type>checkbox</type>
+ </field>
</fields>
<custom_add_php_command>
</custom_add_php_command>