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 = "date"
38 l7vsd_rotation_timing = "year"
39 l7vsd_rotation_timing_value = "XXX"
41 # l7vsd rotate max backup number
42 l7vsd_max_backup_index = "10"
43 # l7vsd rotate file size
44 l7vsd_max_filesize = "10M"
46 # l7vsd access log rotate pattern
47 l7vsd_accesslog_rotate_type = "size"
48 # l7vsd access rotate max backup number
49 l7vsd_accesslog_rotate_max_backup_index = "10"
50 # l7vsd access rotate file size
51 l7vsd_accesslog_rotate_max_filesize = "10M"
53 # l7vsd log categories level
54 l7vsd_network = "warn"
55 l7vsd_network_qos = "warn"
56 l7vsd_network_bandwidth = "warn"
57 l7vsd_network_num_connection = "warn"
58 l7vsd_network_access = "warn"
59 l7vsd_mainthread = "warn"
60 l7vsd_virtualservice = "warn"
61 l7vsd_virtualservice_thread = "warn"
62 l7vsd_session = "warn"
63 l7vsd_session_thread = "warn"
64 l7vsd_realserver = "warn"
65 l7vsd_sorryserver = "warn"
67 l7vsd_replication = "warn"
68 l7vsd_replication_sendthread = "warn"
69 l7vsd_parameter = "warn"
71 l7vsd_command = "warn"
72 l7vsd_start_stop = "warn"
74 l7vsd_system_memory = "warn"
75 l7vsd_system_endpoint = "warn"
76 l7vsd_system_signal = "warn"
77 l7vsd_system_environment = "warn"
78 l7vsd_snmpbridge = "warn"
80 l7vsd_protocol = "warn"
81 l7vsd_schedule = "warn"
83 # l7vsadm log file base name
84 l7vsadm_log_filename = "/var/log/l7vs/l7vsadm.log"
85 # l7vsadm rotate pattern
86 l7vsadm_rotation = "date"
87 # l7vsadm rotate max backup number
88 l7vsadm_max_backup_index = "10"
89 # l7vsadm rotate timing ( every month rotate )
90 l7vsadm_rotation_timing = "month"
91 # l7vsadm rotate timing ( day and time )
92 l7vsadm_rotation_timing_value = "1 0:01"
94 # l7vsadm log categories level
95 l7vsadm_parse = "warn"
96 l7vsadm_operate = "warn"
97 l7vsadm_config_result = "warn"
98 l7vsadm_common = "warn"
99 l7vsadm_logger = "warn"
100 l7vsadm_parameter = "warn"
101 l7vsadm_module = "warn"
103 l7vsadm_protocol = "warn"
104 l7vsadm_schedule = "warn"
106 # snmpagent log file base name
107 snmp_log_filename = "/var/log/l7vs/snmpagent.log"
108 # snmpagent log rotate pattern
109 snmp_rotation = "datesize"
110 # snmpagent log rotate max backup num
111 snmp_max_backup_index = "10"
112 # snmpagent max logfile size
113 snmp_max_filesize = "30M"
114 # snmpagent log rotate timing ( every week )
115 snmp_rotation_timing = "week"
116 # snmpagent log rotate timing ( a day of week and time )
117 snmp_rotation_timing_value = "wed 23:59"
119 # snmpagent connection log file base name
120 snmp_conn_log_filename = "/var/log/l7vs/snmpagent.log"
121 # snmpagent connection log rotate pattern
122 snmp_conn_rotation = "datesize"
123 # snmpagent connection log rotate max backup num
124 snmp_conn_max_backup_index = "10"
125 # snmpagent connection max logfile size
126 snmp_conn_max_filesize = "30M"
127 # snmpagent connection log rotate timing ( every week )
128 snmp_conn_rotation_timing = "week"
129 # snmpagent connection log rotate timing ( a day of week and time )
130 snmp_conn_rotation_timing_value = "wed 23:59"
132 # snmpagent log categories level
133 snmpagent_start_stop = "warn"
134 snmpagent_manager_receive = "warn"
135 snmpagent_manager_send = "warn"
136 snmpagent_l7vsd_receive = "warn"
137 snmpagent_l7vsd_send = "warn"
138 snmpagent_logger = "warn"
139 snmpagent_parameter = "warn"
140 snmpagent_system = "warn"
141 snmpagent_system_memory = "warn"
142 snmpagent_system_endpoint = "warn"
143 snmpagent_system_signal = "warn"
144 snmpagent_system_environment = "warn"
161 # virtualservice setting
164 session_thread_pool_size = 32
165 throughput_calc_interval = 500
168 # l7vsd replication setting
171 #ip_addr = "192.168.0.254"
172 #service_name = "40000"
173 #recv_ip_addr = "192.168.0.253"
175 #compulsorily_interval = 40
177 #cmponent_id_00 = "virtualservice"
178 #cmponent_size_00 = 64
179 #cmponent_id_01 = "chash"
180 #cmponent_size_01 = 1
181 #cmponent_id_02 = "sslid"
182 #cmponent_size_02 = 222
189 ip_addr = "127.0.0.1"