# # AlphaSense For Networks (AFN) # Ruleset configuration file # v4.40 Copyright 1998-2007 Compuquest, Inc. All rights reserved. # # for use with AFN firmware ver 4.40 or higher # # IMPORTANT NOTE: Each AFN contains the correct version of configuration # files that apply to the firmware version installed on that unit. Use the # information from those files for actual field length, field content, # instructions etc. # # AFN has two major configuration files - one for operational Parameters, # and one for Rulesets used for data scanning and rule-based messaging. # # This is the Ruleset configuration file. # # # # # Notes and Help (please read this completely - it will help you!) # -------------- # # Detailed help and details are available at this link: # http://www.compuquestinc.com/afnruldet.html # # # # Would you like all this configuration done for you? # # Some users of AFN, for whatever reasons, will choose or prefer # not to engage in the nuances of configuration. Compuquest, Inc. # is available to assist you with any or all areas of the # configuration file and AFN setup. Cost-effective Support # Modules are available for purchase at our website for the # assistance you may require. We can do it for you! # # # # # # Comment Lines # # Any line in this file that starts with the "#" character is a comment line. # If you wish to add comments or your own notes, you may do so by starting # each such line with a "#" character - all such lines are ignored. Lines # where values are entered must NOT be comment lines. Blank lines are also # ignored. # # # Ruleset Fields # # The fields which together make up a ruleset consist of several # fields of information. A ruleset is entered into this file as a # single line, with the fields separated by the "|" character. At # the end of each ruleset line, you should press the ENTER key in # your text editor to complete the ruleset line. # # Below are the variable names and values for contents of RuleSet fields: # Detailed descriptons of all value settings are available at this link: # http://www.compuquestinc.com/afnruldet.html # # # field1 = activeflag # field2 = numtodial # field3 = dialmode # field4 = dialpin # field5 = imaddr # field6 = emaddr # field7 = emsubj # field8 = prefix # field9 = msgbody # field10 = actrule # # # # Maximum Length For Field Entries # # Below are the max allowable character lengths for entries in AFN Ruleset fields: # # avtiveflag 1 # numtodial 40 # dialmode 1 # dialpin 18 # imaddr 30 # emaddr 50 # emsubj 30 # prefix 30 # msgbody 1024 # actrule 60 # # # # Unused Fields # # Unused fields shall contain the number "0". Rulesets must contain # values for all fields, or errors will result. Ruleset errors must # be corrected before AFN will continue operation. As an example of # unused fields, AFN provides for "multiple delivery options" such as # dialout and email. If it is desired that a particular ruleset is to # deliver its message using only email, the numtodial, and dialmode would # have 0 entered in their fields. Entering valid delivery values in fields # covering both email and dialout would result in AFN delivering the # message both ways. # # # Editing Ruleset Lines # # Valid ruleset entry lines must begin right at the left margin,and have # no comment character (remember lines that start with "#" are ignored). # # # ** Check Your Entries! ** # Incorrect formats or absence of required fields may cause unpredictable # results and/or failure of AFN to operate. # # # Examples of ruleset lines # # 1) The rule below matches on data from the equipment connected to AFN that contains # the string "erator On", and delivers the message "Hospital: Emergency Generator On" # to the pager or cellphone having PIN number 6543. It dials the wireless provider # at the carrier's dialup access number at 888-123-4567. The rule is active. # 1|8881234567|2|6543|0|0|0|Hospital: |Emergency Generator On|erator On # # # 2) The rule below matches on data from the equipment connected to AFN that contains # the string "water level", and delivers network email to "user@email.com". The # msgbody field is set to "^F" which stands for Forwarding, and means "send an # exact copy of the entire matching message as the message body". The message # will be prefaced with "SiteID: " in front of the message body. (The email # "from address" is defined in the parameter config file). The rule is inactive. # 0|0|0|0|0|user@email.com|AFN Message|SiteID: |^F|water level # # # 3) The rule below does both dialout and email, uses data forwarding for the message # content, and matches on "chemical leak". The rule is active. Note: a neat and # quick way to stop dialout and keep email for this rule is simply to set the # dialmode field to zero.... # 1|8881234567|2|6543|0|user@email.com|Urgent AFN Alert|Lab3: |^F|chemical leak # # # # # # # Start of ruleset templates - uncomment the actual rule lines, and fill in as needed # # #Ruleset 1 #activeflag|numtodial|dialmode|dialpin|imaddr|emaddr|emsubj|prefix|msgbody|actrule #0|0|0|0|0|0|0|0|0|0 #Ruleset 2 #activeflag|numtodial|dialmode|dialpin|imaddr|emaddr|emsubj|prefix|msgbody|actrule #0|0|0|0|0|0|0|0|0|0 #Ruleset 3 #activeflag|numtodial|dialmode|dialpin|imaddr|emaddr|emsubj|prefix|msgbody|actrule #0|0|0|0|0|0|0|0|0|0 #Ruleset 4 #activeflag|numtodial|dialmode|dialpin|imaddr|emaddr|emsubj|prefix|msgbody|actrule #0|0|0|0|0|0|0|0|0|0 #Ruleset 5 #activeflag|numtodial|dialmode|dialpin|imaddr|emaddr|emsubj|prefix|msgbody|actrule #0|0|0|0|0|0|0|0|0|0 #Ruleset 6 #activeflag|numtodial|dialmode|dialpin|imaddr|emaddr|emsubj|prefix|msgbody|actrule #0|0|0|0|0|0|0|0|0|0 #Ruleset 7 #activeflag|numtodial|dialmode|dialpin|imaddr|emaddr|emsubj|prefix|msgbody|actrule #0|0|0|0|0|0|0|0|0|0 #Ruleset 8 #activeflag|numtodial|dialmode|dialpin|imaddr|emaddr|emsubj|prefix|msgbody|actrule #0|0|0|0|0|0|0|0|0|0 #Ruleset 0 #activeflag|numtodial|dialmode|dialpin|imaddr|emaddr|emsubj|prefix|msgbody|actrule #0|0|0|0|0|0|0|0|0|0 #Ruleset 10 #activeflag|numtodial|dialmode|dialpin|imaddr|emaddr|emsubj|prefix|msgbody|actrule #0|0|0|0|0|0|0|0|0|0 #Ruleset 11 #activeflag|numtodial|dialmode|dialpin|imaddr|emaddr|emsubj|prefix|msgbody|actrule #0|0|0|0|0|0|0|0|0|0 #Ruleset 12 #activeflag|numtodial|dialmode|dialpin|imaddr|emaddr|emsubj|prefix|msgbody|actrule #0|0|0|0|0|0|0|0|0|0 #Ruleset 13 #activeflag|numtodial|dialmode|dialpin|imaddr|emaddr|emsubj|prefix|msgbody|actrule #0|0|0|0|0|0|0|0|0|0 #Ruleset 14 #activeflag|numtodial|dialmode|dialpin|imaddr|emaddr|emsubj|prefix|msgbody|actrule #0|0|0|0|0|0|0|0|0|0 #Ruleset 15 #activeflag|numtodial|dialmode|dialpin|imaddr|emaddr|emsubj|prefix|msgbody|actrule #0|0|0|0|0|0|0|0|0|0 #Ruleset 16 #activeflag|numtodial|dialmode|dialpin|imaddr|emaddr|emsubj|prefix|msgbody|actrule #0|0|0|0|0|0|0|0|0|0 #Ruleset 17 #activeflag|numtodial|dialmode|dialpin|imaddr|emaddr|emsubj|prefix|msgbody|actrule #0|0|0|0|0|0|0|0|0|0 #Ruleset 18 #activeflag|numtodial|dialmode|dialpin|imaddr|emaddr|emsubj|prefix|msgbody|actrule #0|0|0|0|0|0|0|0|0|0 #Ruleset 19 #activeflag|numtodial|dialmode|dialpin|imaddr|emaddr|emsubj|prefix|msgbody|actrule #0|0|0|0|0|0|0|0|0|0 #Ruleset 20 #activeflag|numtodial|dialmode|dialpin|imaddr|emaddr|emsubj|prefix|msgbody|actrule #0|0|0|0|0|0|0|0|0|0 # # # # #