2 # UltraMonkey - L7 configuration file
3 # Copyright (C) 2008-2009 NTT COMWARE Corporation.
4 # License: GNU General Public License (GPL)
8 # This program is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License as
10 # published by the Free Software Foundation; either version 2 of the
11 # License, or (at your option) any later version.
13 # This program is distributed in the hope that it will be useful, but
14 # WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 # General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
25 # 3.0.0 MultiThread version release.
26 # 1.2.0 First verion release.(version was put together l7vsd)
27 # - 2008/03/26 Norihisa Nakai.
34 # l7vsd logfile base name
35 l7vsd_log_filename = "/var/log/l7vs/l7vsd.log"
36 # l7vsd log rotate pattern
37 l7vsd_rotation = "size"
38 # l7vsd rotate max backup number
39 l7vsd_max_backup_index = "10"
40 # l7vsd rotate file size
41 l7vsd_max_filesize = "10M"
43 # l7vsd access log rotate pattern
44 l7vsd_accesslog_rotate_type = "size"
45 # l7vsd access rotate max backup number
46 l7vsd_accesslog_rotate_max_backup_index = "10"
47 # l7vsd access rotate file size
48 l7vsd_accesslog_rotate_max_filesize = "10M"
50 # l7vsd log categories level
51 l7vsd_network = "warn"
52 l7vsd_network_qos = "warn"
53 l7vsd_network_bandwidth = "warn"
54 l7vsd_network_num_connection = "warn"
55 l7vsd_network_access = "warn"
56 l7vsd_mainthread = "warn"
57 l7vsd_virtualservice = "debug"
58 l7vsd_virtualservice_thread = "warn"
59 l7vsd_session = "warn"
60 l7vsd_session_thread = "warn"
61 l7vsd_realserver = "warn"
62 l7vsd_sorryserver = "warn"
64 l7vsd_replication = "warn"
65 l7vsd_replication_sendthread = "warn"
66 l7vsd_parameter = "warn"
68 l7vsd_command = "warn"
69 l7vsd_start_stop = "warn"
71 l7vsd_system_memory = "warn"
72 l7vsd_system_endpoint = "warn"
73 l7vsd_system_signal = "warn"
74 l7vsd_system_environment = "warn"
75 l7vsd_snmpbridge = "warn"
77 l7vsd_protocol = "warn"
78 l7vsd_schedule = "warn"
80 # l7vsadm log file base name
81 l7vsadm_log_filename = "/var/log/l7vs/l7vsadm.log"
82 # l7vsadm rotate pattern
83 l7vsadm_rotation = "date"
84 # l7vsadm rotate max backup number
85 l7vsadm_max_backup_index = "10"
86 # l7vsadm rotate timing ( every month rotate )
87 l7vsadm_rotation_timing = "month"
88 # l7vsadm rotate timing ( day and time )
89 l7vsadm_rotation_timing_value = "1 0:01"
91 # l7vsadm log categories level
92 l7vsadm_parse = "warn"
93 l7vsadm_operate = "warn"
94 l7vsadm_config_result = "warn"
95 l7vsadm_common = "warn"
96 l7vsadm_logger = "warn"
97 l7vsadm_parameter = "warn"
98 l7vsadm_module = "warn"
100 l7vsadm_protocol = "warn"
101 l7vsadm_schedule = "warn"
103 # snmpagent log file base name
104 snmp_log_filename = "/var/log/l7vs/snmpagent.log"
105 # snmpagent log rotate pattern
106 snmp_rotation = "datesize"
107 # snmpagent log rotate max backup num
108 snmp_max_backup_index = "10"
109 # snmpagent max logfile size
110 snmp_max_filesize = "30M"
111 # snmpagent log rotate timing ( every week )
112 snmp_rotation_timing = "week"
113 # snmpagent log rotate timing ( a day of week and time )
114 snmp_rotation_timing_value = "wed 23:59"
116 # snmpagent connection log file base name
117 snmp_conn_log_filename = "/var/log/l7vs/snmpagent.log"
118 # snmpagent connection log rotate pattern
119 snmp_conn_rotation = "datesize"
120 # snmpagent connection log rotate max backup num
121 snmp_conn_max_backup_index = "10"
122 # snmpagent connection max logfile size
123 snmp_conn_max_filesize = "30M"
124 # snmpagent connection log rotate timing ( every week )
125 snmp_conn_rotation_timing = "week"
126 # snmpagent connection log rotate timing ( a day of week and time )
127 snmp_conn_rotation_timing_value = "wed 23:59"
129 # snmpagent log categories level
130 snmpagent_start_stop = "warn"
131 snmpagent_manager_receive = "warn"
132 snmpagent_manager_send = "warn"
133 snmpagent_l7vsd_receive = "warn"
134 snmpagent_l7vsd_send = "warn"
135 snmpagent_logger = "warn"
136 snmpagent_parameter = "warn"
137 snmpagent_system = "warn"
138 snmpagent_system_memory = "warn"
139 snmpagent_system_endpoint = "warn"
140 snmpagent_system_signal = "warn"
141 snmpagent_system_environment = "warn"
158 # virtualservice setting
161 session_thread_pool_size = 32
162 throughput_calc_interval = 500
165 # l7vsd replication setting
168 #ip_addr = "192.168.0.254"
169 #service_name = "40000"
170 #recv_ip_addr = "192.168.0.253"
172 #compulsorily_interval = 40
174 #cmponent_id_00 = "virtualservice"
175 #cmponent_size_00 = 64
176 #cmponent_id_01 = "chash"
177 #cmponent_size_01 = 1
178 #cmponent_id_02 = "sslid"
179 #cmponent_size_02 = 222
186 ip_addr = "127.0.0.1"