home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / BBS / BBSRPT12.ZIP / BBSREPT.DOC next >
Text File  |  1994-12-14  |  17KB  |  411 lines

  1.        ┌────────────────────────────────────────────────────────────┐
  2.        │ ┌──────┐ ┌──────┐ ┌─────┐ ┌──────┐ ┌─────┐ ┌─────┐ ┌─────┐ │
  3.        │ └┐ ┌─┐ │ └┐ ┌─┐ │ │ ┌───┘ │ ┌──┐ │ │ ┌───┘ │ ┌─┐ │ └─┐ ┌─┘ │
  4.        │  │ └─┘ │  │ └─┘ │ │ └───┐ │ └──┘ │ │ └─┐   │ └─┘ │   │ │   │
  5.        │  │ ┌─┐ │  │ ┌─┐ │ └───┐ │ │ ┌─┐ ┌┘ │ ┌─┘   │ ┌───┘   │ │   │
  6.        │ ┌┘ └─┘ │ ┌┘ └─┘ │ ┌───┘ │ │ │ │ └┐ │ └───┐ │ │       │ │   │
  7.        │ └──────┘ └──────┘ └─────┘ └─┘ └──┘ └─────┘ └─┘       └─┘   │
  8.        └────────────────────────────────────────────────────────────┘
  9.  
  10.  
  11.                                BBSREPT v1.1
  12.  
  13.                          An RA 2.xx Reporting Utility
  14.  
  15.  
  16.  
  17.  
  18.                                 USER MANUAL
  19.  
  20.              Software and documentation written by Bob Zumbrunnen
  21.                      Copyright (C) 1994 by PC-HELP, Inc.
  22.                             All rights reserved
  23.         
  24.  
  25.  
  26. *** What Is It?
  27.  
  28. BBS Reporter is an RA 2.xx log file processing program.
  29.  
  30. It reads your log files and produces the following files:
  31.  
  32.   * BBS Activity Table  | Shows usage information for your whole system and
  33.                         | for each node.
  34.                         |
  35.   * BBS Usage Graph     | Graphically shows phone line utilization for each
  36.                         | node.
  37.                         |
  38.   * Games Activity Table| Shows usage information for any Type 15 exits you
  39.                         | specify.
  40.                         |
  41.   * Games Problem Report| Shows what games are either not being used or may
  42.     **Registered Only** | have a problem.
  43.  
  44.   * Chat Request Log    | CHATRQST.RPT shows the names all everyone who
  45.                         | paged you for chat during the reporting period
  46.                         | and the reasons they gave.
  47.  
  48.  
  49. All files except the Games Problem Report and Chat Request Log are produced
  50. in both ANSI and ASCII flavors.
  51.  
  52. *** Environments
  53.  
  54. As far as I know, BBS Reporter only works with RA 2.0 and above.  It *probably*
  55. works with other versions of RA, and there's a chance it'll work with other
  56. BBSes.  I won't know until people send me sample log files from other boards
  57. so I can tweak the program to support them.
  58.  
  59. BBS Reporter has been tested in all versions of MS-DOS from 5.00 to 6.22, and
  60. has also been tested in OS/2 and NDOS.  It *should* work in Windoze.
  61.  
  62. Of course, it works in the most important environment for RA SysOps; DESQview.
  63.  
  64. *** Why Was It Written?
  65.  
  66. I run a small multi-node BBS system and found myself faced with two problems:
  67.  
  68.      1.   My log files are often too large to view using QEDIT in a DESQview
  69.           window.
  70.  
  71.      2.   Deciding when to add more lines is a guessing game, at best.
  72.  
  73. BBS Reporter was originally nothing more than a log file trimmer.  I wrote it
  74. to keep no more than a specified number of days' activities in the log files
  75. for easier viewing.
  76.  
  77. It wasn't too long before I had it doing different things with the data in
  78. the log files.  After all, it had to read every line to do the trimming; might
  79. as well have it do something useful with the information.
  80.  
  81. From this grew a table reporting, for each node, such things as total time used
  82. for the specified number of days, number of calls per day per node and for the
  83. whole system, average amount of time each user spends on-line, and, most
  84. importantly, the percent of the time each node has a caller on it.  This is
  85. important for me because whatever percent of the time the last node is in use
  86. represents the percent of time per day when a caller will get a busy signal.
  87. If the last node is seeing 25% usage, that means there are 6 hours out of the
  88. day when callers are likely to be getting busy signals, and it's time for more
  89. lines.
  90.  
  91. As happens with nearly anything I touch, one thing led to another, and a little
  92. throw-away utility started sprouting bells and whistles like crazy!  The end
  93. result, thus far, is a program that makes a very useful table, and an extremely
  94. pretty (I think <grin>) graph that provides useful information to the SysOp and
  95. can also be interesting to the users.
  96.  
  97.  
  98. *** How Do I Set It Up?
  99.  
  100. 1.   Put BBSREPT in the directory your RA log files are in, or put it in its own
  101.      directory and copy RA's log files to it.  It doesn't care what directory it's
  102.      in.
  103.  
  104. 2.   If this is your first installation, rename the included SAMPLE.CFG to
  105.      BBSREPT.CFG.  If this is not your first installation, check the enclosed
  106.      SAMPLE.CFG and/or the WHATSNEW file to see what changes should be made
  107.      to BBSREPT.CFG.
  108.  
  109. 3.   Edit BBSREPT.CFG.  The config file is documented internally.  It's
  110.      patterned after Windoze's .INI files, so it's easy to revise.  It doesn't
  111.      care what order the choices are in, so long as the spelling is correct.
  112.      If you make a mistake, BBS Reporter will tell you so.
  113.  
  114. 4.   Run BBSREPT.  
  115.  
  116. That's about all there is to it.  Most of what you'll need to know is covered
  117. in the CFG file.  If you need more information about BBSREPT.CFG, it's
  118. covered later in this document.
  119.  
  120. *** What Restrictions Are There?
  121.  
  122. 1.   It currently only supports RA log files, though I'll make it work with
  123.      *any* board's log files if I can get copies of sample log files to work
  124.      with.
  125.  
  126. 2.   It expects the log files to be named RA*.LOG, where "*" represents the
  127.      node number.  If you have a one-node system, it reads RA1.LOG.  If you
  128.      have a 20-line system, it reads from RA1.LOG to RA20.LOG.  I plan to
  129.      remove this limitation in the future, but if you currently call your
  130.      log files something else, such as BBS1.LOG, just have your maintenance
  131.      rename the logs (REN BBS1.LOG RA1.LOG) before it runs BBS Reporter, and
  132.      name them back (REN RA1.LOG BBS1.LOG) afterwards.
  133.  
  134. 3.   It assumes a day is from midnight to midnight.  What this means is that
  135.      you should run it in an event just a few minutes before midnight.  Make
  136.      sure you run it far enough away from midnight so it can *finish* running
  137.      before midnight.
  138.  
  139. 4.   Until you register it, you must have "Registration_Name" and
  140.      "Registration_BBS" set to "NOT REGISTERED", or it won't run.
  141.  
  142. *** BBSREPT.CFG
  143.  
  144. This is the file that drives it all.  It is internally documented, and most
  145. parts of it should be easy to understand, but in case you're having trouble,
  146. or just like to RTFM, here it is in detail:
  147.  
  148. ----------------------------->cut here<---------------------------
  149. Number_of_Days=10
  150. Last_node=7
  151. Overwrite=True
  152. Progress_Display=Baton
  153. Output_Name=BBSREPT
  154. Graph_File=BBSGRAPH
  155. Game_File=BBSGAMES
  156. BBSREPT_Log_Mode=None
  157. Registration_Name=NOT REGISTERED
  158. Registration_BBS=NOT REGISTERED
  159.  
  160. [Game Errorlevels]
  161. 115 Land of Gorr
  162. 113 Draw Poker
  163. 112 Video Poker
  164. 111 Terra Firma
  165. 109 Legend of the Red Dragon
  166. 108 Metal Knights
  167. 107 Saratoga Speedway
  168. 106 Land of Devastation
  169. 105 The Pit
  170. 104 BBS Golf
  171. 103 Golf Solitaire
  172. 102 WhoDunIt
  173. 101 Stackem
  174. 100 Yankees and Rednecks
  175. 99 Planets
  176. 98 EZSlots
  177. 97 MC Bowl
  178. 96 BBS Bowl
  179. 94 Amazing Memory
  180. 93 Box Poker
  181. 92 Draw Poker
  182. 91 Great White
  183. 92 In Between
  184. 89 Idiots Delight
  185. 88 Kings Last
  186. 87 Match Two
  187. 86 On The Edge
  188. 85 Press Your Luck
  189. 84 Puzzle
  190. 83 Quote Fall
  191. 82 Solitree
  192. 81 Two-Card
  193. 80 Trapper
  194. 79 Treasure
  195. 78 Yacht
  196. 46 Subscription Door
  197. 43 Operation Overkill
  198. 24 Barons
  199. 23 Casino
  200. 21 Galactic Warzone
  201.  
  202. ----------------------------->cut here<---------------------------
  203.  
  204. I've deleted the comment lines that are in the sample CFG file.  First, a
  205. few general rules about this file:
  206.  
  207. 1.  Any line starting with ";" (without quotes) is considered a comment.
  208.  
  209. 2.  All text must start in the first position of the line.
  210.  
  211. 3.  The CFG file is treated as two parts: General config info, and Games info.
  212.  
  213. 4.  The Games Errorlevels section must be the last part of the CFG file.
  214.  
  215. 5.  BBS Reporter doesn't care about the order of the general config items,
  216.     but make sure the spelling is correct.
  217.  
  218. 6.  All items in the general config area are *required*.  The program won't
  219.     run if one or more of them are missing.  It'll tell you which ones it's
  220.     having trouble with.
  221.  
  222. Here's an explanation for each line.
  223.  
  224. Number_Of_Days        This serves three purposes.  First, it's the reporting
  225.                       period used in the output files.  If you put 10 here,
  226.                       it will only report on the most recent 10 days'
  227.                       activities.  Second, it is used for averaging
  228.                       calculations such as callers per day.  Third, if you
  229.                       tell BBS Reporter to trim your log files (by specifying
  230.                       Overwrite=True), this is the number of days that will
  231.                       be kept in them.  Any number is a valid value here.
  232.  
  233. Last_Node             Basically, you use this to tell BBS Reporter how many
  234.                       lines your BBS has.  If you tell it 7, it will stop
  235.                       processing once it's finished the 7th node.  Any number
  236.                       is a valid value here.
  237.  
  238. Overwrite             Tells BBS Reporter whether or not to overwrite your
  239.                       existing log files.  For the Log File Trimming option
  240.                       to work, you must specify True here.  Valid values are
  241.                       True and False.
  242.  
  243. Progress_Display      Valid values are Baton, Bar, and Percent.  When BBS
  244.                       Reporter is running, it uses the specified method to
  245.                       show that it's running (as opposed to locked up) and,
  246.                       in the case of Bar and Percent, keep you informed as
  247.                       to how far through the processing it is.
  248.  
  249. Output_Name           The path and filename you want BBS Reporter to use for
  250.                       the BBS Activity Table.  Don't specify the extension!
  251.                       BBS Reporter creates ANSI and ASCII files and names
  252.                       them accordingly.
  253.  
  254. Graph_File            The path and filename you want BBS Reporter to use for
  255.                       the Usage Graph.  Don't specify the extension!  BBS
  256.                       Reporter creates ANSI and ASCII files and names them
  257.                       accordingly.
  258.  
  259. Game_File             Optional.  If you would like BBS Reporter to create
  260.                       a table showing number of times each game is played
  261.                       and how much time is being spent playing them, enter
  262.                       a path and filename (no extension) here.  If this line
  263.                       is commented out (with a ";"), or missing, BBS Reporter
  264.                       ignore the Games Errorlevels section.
  265.  
  266. BBSREPT_Log_Mode      Valid values are None, Summary, and Debug.  Defines
  267.                       whether or not BBSREPT.LOG will be created, and, if so,
  268.                       how it will be used.  Usually, you'll want None here to
  269.                       speed up processing.  Summary will make BBSREPT.LOG
  270.                       contain the name of each user who called, when they
  271.                       called, when they logged off, and how much time they
  272.                       used.  Debug mode can create a file several times
  273.                       larger than your log files, so don't use it unless you
  274.                       NEED to.  It logs information that is helpful for me
  275.                       if I need to troubleshoot your setup.
  276.  
  277. Registration_Name     Your name, only if the program is registered.  If it's
  278.                       not, this must say NOT REGISTERED.  Anything else and
  279.                       the program won't run.
  280.  
  281. Registration_BBS      Your board's name if it's registered.  If not, it must
  282.                       say NOT REGISTERED.
  283.  
  284. [Game Errorlevels]    If Game_File is used, BBS Reporter will read this section
  285.                       to determine which errorlevels in your log files indicate
  286.                       door games being used, and their names.  Because it looks
  287.                       for an errorlevel, only Type 15 menu entries are
  288.                       supported.  Personally, I'm a huge fan of Type 15s
  289.                       because, among other reasons, I can use environment
  290.                       variables to greatly simplify setting up doors.
  291.  
  292.                       Each entry in this section must conform to the style
  293.                       used in the example (errorlevel, 1 space, door name).
  294.                       They do not need to be in any particular order.  I only
  295.                       have them in reverse order because I pasted them from
  296.                       my BBS.BAT
  297.  
  298.                       At this time, up to 50 entries can be made here.  If
  299.                       you want more, let me know, and I'll add support for
  300.                       whatever number suits everybody.
  301.  
  302.                       Note that the order you enter the errorlevels is ignored.
  303.                       BBS Reporter sorts them in descending order based on the
  304.                       number of times they were executed.
  305.  
  306.  
  307. *** What If It Doesn't Work?
  308.  
  309. If you're having trouble with the program bombing, I can usually fix it real
  310. quick-like.  Just set the BBSREPT_Log_Mode to DEBUG, run it, and send me your
  311. log files and BBSREPT.LOG.
  312.  
  313. You can also call our BBS at (816) 331-4703, or send us Netmail at 1:280/31.
  314. You can call us voice at (816) 331-6700, but it's likely we won't be able to
  315. help you much until we have BBSREPT.LOG.  One more alternative is Fax at
  316. (816) 331-3134.
  317.  
  318.  
  319. *** What Additions To BBSREPT Are Planned?
  320.  
  321. 1.  Produce a detailed report of such items as average daily downloads,
  322.     number of calls per day at various baud rates, etc.
  323.  
  324. 2.  User-definable thresholds for reporting excess usage (time for more lines).
  325.  
  326. 3.  Take mailer usage into account.
  327.  
  328. 4.  Pre-processing backups. (You can do this in your bat file now, though.)
  329.  
  330. 5.  Support for many more BBS types.
  331.  
  332.  
  333. Warranty:
  334.  
  335.            This program is covered by PC-HELP's "50/50" warranty.  If it
  336.            breaks your computer, you own both pieces.  If your LOG files
  337.            become unreadable garbage, restore from your backup.  If you don't
  338.            have backups, do what I do: break your computer.
  339.  
  340. Registration:
  341.  
  342.           BBS Reporter is shareware.  If you're even reading this, you must
  343.           be a SysOp, so you know full well what shareware is.
  344.  
  345.           Everything but the Games Trouble Report works without registering,
  346.           but the words "NOT REGISTERED" and "UNREGISTERED" are printed on
  347.           the tables and graphs created by BBS Reporter.
  348.  
  349.           You are required to register this program if you continue to use it
  350.           after a period of 30 days.
  351.  
  352.           The cost of registration is $5.00, and covers all future versions of
  353.           BBS Reporter.  This is a paltry sum, but it's really not like I've
  354.           written a Lotus clone or something.  It's a nifty util for SysOps and
  355.           nothing more.  I don't expect to get rich from it, but it'd be nice
  356.           to have several people like my program enough to give me money for it. <grin>
  357.  
  358.  
  359. Upgrades:
  360.  
  361.      The latest version is always available by Freqing BBSREPT from 1:280/31.
  362.  
  363.  
  364. How To Register:
  365.  
  366. You have 3 options for registering BBSREPT:
  367.  
  368. 1.   Send $5 (check or money order recommended) to:
  369.  
  370.                PC-HELP
  371.                BBSREPT Registration
  372.                PO Box 617
  373.                Belton, MO  64012
  374.  
  375. 2.   Call our BBS at (816) 331-4703 and use option 4 of the Options menu.  To do
  376.      this, you'll need Visa or MasterCard.
  377.  
  378. 3.   Send us Private, Direct, Net-Mail at FidoNet 1:280/31 with your name as it
  379.      appears on your credit card, your credit card number, and expiration date.
  380.  
  381. IMPORTANT NOTE!  BE SURE TO GIVE US YOUR FIDONET ADDRESS, BBS PHONE NUMBER, OR
  382. POSTAL MAILING ADDRESS SO WE CAN SEND YOU YOUR KEY FILE!!!  All registrations are
  383. processed within 24 hours of receipt.  Also, we need your name exactly as it will
  384. appear on your screens, so we can make your key file.
  385.  
  386. Acknowledgements:
  387.  
  388.           My thanks go out to John Hutton (1:280/66) for helping me
  389.           debug the program (including helping field a nasty curve
  390.           thrown at it by NDOS) and Brad Stiles (1:280/119) for
  391.           suggesting the "INI-style" config file.  Thanks also to
  392.           Clayton Hill (1:280/29) for some especially tenacious
  393.           debugging.
  394.  
  395. Alpha/Beta Team:
  396.  
  397.           Bob Zumbrunnen (1:280/31)
  398.           John Hutton    (1:280/66)
  399.           Brad Stiles    (1:280/119)
  400.           Clayton Hill   (1:280/29)
  401.           
  402.  
  403.  
  404. Bob Zumbrunnen
  405. PC-HELP, Inc.
  406. PO Box 617
  407. Belton, MO  64012
  408. FN 1:280/31
  409.  
  410.  
  411.