#
# UltraMonkey - L7 configuration file
# Copyright (C) 2008-2009  NTT COMWARE Corporation.
# License: GNU General Public License (GPL)
#
#
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
# 
#
# Rivision History.
#    3.0.0    MultiThread version release.
#    1.2.0    First verion release.(version was put together l7vsd)
#        - 2008/03/26 Norihisa Nakai.


#
# l7vs log setting
#
[logger]
# l7vsd logfile base name
l7vsd_log_filename = "/var/log/l7vs/l7vsd.log"
# l7vsd log rotate pattern
l7vsd_rotation = "size"
# l7vsd rotate max backup number
l7vsd_max_backup_index = "10"
# l7vsd rotate file size
l7vsd_max_filesize = "10M"

# l7vsd access log rotate pattern
l7vsd_accesslog_rotate_type = "size"
# l7vsd access rotate max backup number
l7vsd_accesslog_rotate_max_backup_index = "10"
# l7vsd access rotate file size
l7vsd_accesslog_rotate_max_filesize = "10M"

# l7vsd log categories level
l7vsd_network                    = "warn"
l7vsd_network_qos                = "warn"
l7vsd_network_bandwidth          = "warn"
l7vsd_network_num_connection     = "warn"
l7vsd_network_access             = "warn"
l7vsd_mainthread                 = "warn"
l7vsd_virtualservice             = "warn"
l7vsd_virtualservice_thread      = "warn"
l7vsd_session                    = "warn"
l7vsd_session_thread             = "warn"
l7vsd_realserver                 = "warn"
l7vsd_sorryserver                = "warn"
l7vsd_module                     = "warn"
l7vsd_replication                = "warn"
l7vsd_replication_sendthread     = "warn"
l7vsd_parameter                  = "warn"
l7vsd_logger                     = "warn"
l7vsd_command                    = "warn"
l7vsd_start_stop                 = "warn"
l7vsd_system                     = "warn"
l7vsd_system_memory              = "warn"
l7vsd_system_endpoint            = "warn"
l7vsd_system_signal              = "warn"
l7vsd_system_environment         = "warn"
l7vsd_snmpagent                  = "warn"

l7vsd_protocol                   = "warn"
l7vsd_schedule                   = "warn"

# l7vsadm log file base name
l7vsadm_log_filename = "/var/log/l7vs/l7vsadm.log"
# l7vsadm rotate pattern
l7vsadm_rotation = "date"
# l7vsadm rotate max backup number
l7vsadm_max_backup_index = "10"
# l7vsadm rotate timing ( every month rotate )
l7vsadm_rotation_timing = "month"
# l7vsadm rotate timing ( day and time )
l7vsadm_rotation_timing_value = "1 0:01"

# l7vsadm log categories level
l7vsadm_parse                    = "warn"
l7vsadm_operate                  = "warn"
l7vsadm_config_result            = "warn"
l7vsadm_common                   = "warn"
l7vsadm_logger                   = "warn"
l7vsadm_parameter                = "warn"
l7vsadm_module                   = "warn"

l7vsadm_protocol                 = "warn"
l7vsadm_schedule                 = "warn"

#
# l7vsadm setting
#
[l7vsadm]
cmd_interval = 1
cmd_count = 10

#
# l7vsd setting
#
[l7vsd]
maxfileno = 65535

#
# virtualservice setting
#
[virtualservice]
session_thread_pool_size    = 32
throughput_calc_interval    = 500

#
# l7vsd replication setting
#
[replication]
#ip_addr = "192.168.0.254"
#service_name = "40000"
#recv_ip_addr = "192.168.0.253"
#interval = 1000
#compulsorily_interval = 40

#cmponent_id_00 = "virtualservice"
#cmponent_size_00 = 64
#cmponent_id_01 = "chash"
#cmponent_size_01 = 1
#cmponent_id_02 = "sslid"
#cmponent_size_02 = 222

#
# snmpagent settings
#
[snmpagent]
enable = "false"
cache_update_interval = 1
logtrap = "false"
logtrap_level = "warn"
qos_up_alert_on = 85
qos_up_alert_off = 50
qos_down_alert_on = 85
qos_down_alert_off = 50
sessionpool_alert_on = 5
sessionpool_alert_off = 8
trap_queue_polling_interval = 100000000
trap_queue_max_size = 1000
