summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-11-02 16:27:52 -0500
committerScott Ullrich <sullrich@pfsense.org>2009-11-02 16:27:59 -0500
commit08b17c6dea43e1c541623368ff23f737495bcc3e (patch)
tree98bdf6f049d29e7dd75dcdb5609b9d12368c6b0c
parent361a1b3ed40fed23885100d7212c8a2df440ebb4 (diff)
downloadpfsense-08b17c6dea43e1c541623368ff23f737495bcc3e.zip
pfsense-08b17c6dea43e1c541623368ff23f737495bcc3e.tar.gz
Add default load balancing monitor types for ICMP, TCP, HTTP, HTTPS and SMTP from BillM
-rw-r--r--conf.default/config.xml45
1 files changed, 45 insertions, 0 deletions
diff --git a/conf.default/config.xml b/conf.default/config.xml
index b617b23..5a324ae 100644
--- a/conf.default/config.xml
+++ b/conf.default/config.xml
@@ -752,4 +752,49 @@
<rrd>
<enable/>
</rrd>
+ <load_balancer>
+ <monitor_type>
+ <name>ICMP</name>
+ <type>icmp</type>
+ <desc>ICMP</desc>
+ <options>
+ </options>
+ </monitor_type>
+ <monitor_type>
+ <name>TCP</name>
+ <type>tcp</type>
+ <desc>Generic TCP</desc>
+ <options>
+ </options>
+ </monitor_type>
+ <monitor_type>
+ <name>HTTP</name>
+ <type>http</type>
+ <desc>Generic HTTP</desc>
+ <options>
+ <path>/</path>
+ <host/>
+ <code>200</code>
+ </options>
+ </monitor_type>
+ <monitor_type>
+ <name>HTTPS</name>
+ <type>https</type>
+ <desc>Generic HTTPS</desc>
+ <options>
+ <path>/</path>
+ <host/>
+ <code>200</code>
+ </options>
+ </monitor_type>
+ <monitor_type>
+ <name>SMTP</name>
+ <type>send</type>
+ <desc>Generic SMTP</desc>
+ <options>
+ <send>EHLO nosuchhost</send>
+ <expect>250-</expect>
+ </options>
+ </monitor_type>
+ </load_balancer>
</pfsense> \ No newline at end of file
OpenPOWER on IntegriCloud