Project

General

Profile

« Previous | Next » 

Revision 08b17c6d

Added by Scott Ullrich over 15 years ago

Add default load balancing monitor types for ICMP, TCP, HTTP, HTTPS and SMTP from BillM

View differences:

conf.default/config.xml
752 752
	<rrd>
753 753
		<enable/>
754 754
	</rrd>
755
	<load_balancer>
756
		<monitor_type>
757
			<name>ICMP</name>
758
			<type>icmp</type>
759
			<desc>ICMP</desc>
760
			<options>
761
			</options>
762
		</monitor_type>
763
		<monitor_type>
764
			<name>TCP</name>
765
			<type>tcp</type>
766
			<desc>Generic TCP</desc>
767
			<options>
768
			</options>
769
		</monitor_type>
770
		<monitor_type>
771
			<name>HTTP</name>
772
			<type>http</type>
773
			<desc>Generic HTTP</desc>
774
			<options>
775
				<path>/</path>
776
				<host/>
777
				<code>200</code>
778
			</options>
779
		</monitor_type>
780
		<monitor_type>
781
			<name>HTTPS</name>
782
			<type>https</type>
783
			<desc>Generic HTTPS</desc>
784
			<options>
785
				<path>/</path>
786
				<host/>
787
				<code>200</code>
788
			</options>
789
		</monitor_type>
790
		<monitor_type>
791
			<name>SMTP</name>
792
			<type>send</type>
793
			<desc>Generic SMTP</desc>
794
			<options>
795
				<send>EHLO nosuchhost</send>
796
				<expect>250-</expect>
797
			</options>
798
		</monitor_type>
799
	</load_balancer>
755 800
</pfsense>

Also available in: Unified diff