# # qlas default configuration # # qico FIDO mailer log analyzer and statistic builder # Copyright (c) 2000 Lev Serebryakov, lev@serebryakov.spb.ru or 2:5030/661.0 # Distributed under BSD license # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. All advertising materials mentioning features or use of this software # must display the following acknowledgement: # This product includes software developed by Lev Serebryakov # 4. Neither the name of the Lev Serebryakov nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # ############################################################################### # # # Simple rules: # Leading spaces are ignored # Comment begins with `#' and continues to the end of line # Empty lines are ignores # Every configuration line have form `keyword ' # Value could be: # * String # String value is one word without spaces or double-quoted string # Double-quotes and backslashes in string must be escaped by backslash # Some strings could be empty (no value at all). # * Number # Number is simple decimal integer number # * Character # Character is one symbol in quoted by `'' # * Time list # List of time gaps, in form hh:mm-hh:mm(,hh:mm-hh:mm)* # * Time period # Period of time in form: # start-time[,end-time] # `star-time' and `end-time' could be in form: # N[.HH:MM] or DD-MM[.HH:MM] # N.[HH:MM] means `N days ago, start from HH hours MM minutes # (midnight is default)' for `start-time' # N.[HH:MM] means `N after start's midnight, and up to HH hours # MM minutes (up to midnight is default)' for `end-time' # HH-MM is date in this year. # `1' is default for `end-time' # * Port-value # Port value is , where is word # # # Name: log # Type: String, could not be empty # Default: no default # Value: qico log file (not master log). # # No default mailer log file is configured. # Could be overwritten by `--log=' command line parameter # log # Name: device # Type: String, could not be empty, must be regexp # Default: .* # Value: regexp for valid port names. # # All ports are processed by default. # Could be overwritten by `--device=' command line parameter # device ".*" # Name: graph # Type: String, could be empty # Default: qlas.graph.% # Value: Name of file for port busy grpah # # `%' will be replaced with portname # No busy graphs will be created, if this parameter is empty. # graph qlas.graph.% # Name: slist # Type: String, could be empty # Default: qlas.session-list.% # Value: Name of file for port session list # # `%' will be replaced with portname # No session lists will be created, if this parameter is empty. # Could be overwritten by `--slist=' command line parameter # slist qlas.session-list.% # Name: ssum # Type: String, could be empty # Default: qlas.session-sum # Value: Name of file with session summary # # No session summary file will be created, if this parameter is empty. # Could be overwritten by `--ssum=' command line parameter # ssum qlas.session-sum # Name: topdown # Type: String, could be empty # Default: qlas.top.downloads # Value: Name of file with TOP N Downloaders table # # No TOP N Downloaders file will be created, if this parameter is empty. # Could be overwritten by `--topdown=' command line parameter # topdown qlas.top.downloads # Name: topdowncount # Type: Number # Default: 10 # Value: Count of elements in TOP N Downloaders table # # No TOP N Downloaders file will be created, if this parameter is 0. # topdowncount 10 # Name: topup # Type: String, could be empty # Default: qlas.top.uploads # Value: Name of file with TOP N Uploaders table # # No TOP N Uploaders file will be created, if this parameter is empty. # Could be overwritten by `--topup=' command line parameter # topup qlas.top.uploads # Name: topupcount # Type: Number # Default: 10 # Value: Count of elements in TOP N Uploaders table # # No TOP N Uploaders file will be created, if this parameter is 0. # topupcount 10 # Name: toponline # Type: String, could be empty # Default: qlas.top.online # Value: Name of file with TOP N Links Online table # # No TOP N Links Online file will be created, if this parameter is empty. # toponline qlas.top.online # Name: toponlinecount # Type: Number # Default: 10 # Value: Count of elements in TOP N Links Online table # # No TOP N Links Online file will be created, if this parameter is 0. # toponlinecount 10 # Name: topcps # Type: String, could be empty # Default: qlas.top.cps # Value: Name of file with Links with best CPS table # # No Links with best CPS file will be created, if this parameter is empty. # topcps qlas.top.cps # Name: topcpscount # Type: Number # Default: 10 # Value: Count of elements in Links with best CPS table # # No Links with best CPS file will be created, if this parameter is 0. # topcpscount 10 # Name: downcps # Type: String, could be empty # Default: qlas.down.cps # Value: Name of file with Links with worst CPS table # # No Links with worst CPS file will be created, if this parameter is empty. # downcps qlas.down.cps # Name: downcpscount # Type: Number # Default: 10 # Value: Count of elements in Links with worst CPS table # # No Links with worst CPS file will be created, if this parameter is 0. # downcpscount 10 # Name: work-time # Type: Port-value, Time list # Default: # Value: Work time for port # # Must be defined for every port # #work-time cuaa1 00:00-14:00 # Name: analyze-time # Type: Port-value, Time period # Default: # Value: Time for analyze for port # # Must be defined for every port # # Samples: # # analyze-time cuaa1 1 # Whole Yesterday # analyze-time cuaa1 1,1 # The same # analyze-time cuaa1 1,0.12:00 # Yesterday from 00:00 to 12:00 # analyze-time cuaa1 0,0.12:00 # Today from 00:00 to 12:00 # analyze-time cuaa1 7,7 # Last week # analyze-time cuaa1 05-05.14:00,10 # From 5 of May, 14:00 to 15 of May, 00:00 # # (really to the end of 14 of May) # analyze-time cuaa1 05-05.14:00,10.12:00 # From 5 of May, 14:00 to 15 of May, 12:00 # #analyze-time cuaa1 1 # Name: port-name # Type: Port-value, String, could not be empty # Default: # Value: Name of modem line, which use # # Must be defined for every port # #port-name cuaa "Main Line" # Name: station-name # Type: String, could not be empty # Default: # Value: Name of FIDO station # #station-name "Cave of Black Lion" ############################################################################## # # All other parameters has type CHAR # # Call time in busy graph graph-call-char '*' # Error time in busy graph graph-error-char '+' # Incoming sessions time in busy graph graph-in-char '>' # Outgoing sessions time in busy graph graph-out-char '<' # Horizontal line (x-axe) in busy graph graph-hl '-' # Vertical line (y-axe) in busy graph graph-vl '|' # Cross ((0,0) point) in busy graph graph-cross '+' # Ticks on vertical line in busy graph graph-vtick '+' # Ticks on horizontal line in busy graph graph-htick '+' # Background (free time) on busy graph graph-back '.' # Outer border of tables, vertical line table-out-vl '|' # Outer border of tables, horizontal line table-out-hl '=' # Outer border of tables, upper-right corner table-out-ur '+' # Outer border of tables, upper-left corner table-out-ul '+' # Outer border of tables, bottom-right corner table-out-br '+' # Outer border of tables, bottom-left corner table-out-bl '+' # Inner deviders in tables, vertical line table-in-vl '|' # Inner deviders in tables, horizontal line table-in-hl '-' # Inner deviders in tables, corss between v-line and h-line: -|- table-in-cross '+' # Inner deviders in tables, T-connection between v-line and bottom h-line: _|_ table-inin-b '-' # Connection between outer v-line and inner h-line on left side: |- table-inout-l '+' # Connection between outer v-line and inner h-line on right side: -| table-inout-r '+' # Connection between outer h-line and inner v-line on top: T table-inout-t '+' # Connection between outer h-line and inner v-line on bottom: _|_ table-inout-b '+'