Because RFL™ and Hubbell® have a policy of continuous product improvement, we reserve the right to change designs and specifications without notice.
Chapter 11 - Programming Data Alarms
SNMP Access Gateway User’s Manual - v1.0 -- 11/99 - Page 42
areacode=64,3
localprefix=63,3
anyphrase=*,10
[macros]
Outgoing=
Incoming=intrunk=”DN====”
LongDistance=onefield=”1”
[dataalarms]
TollFraud1=all,1,P12B1S3C1256,2Hours
TollFraud1_1= areacode=”900” or (longdistance=FALSE and localprefix=”976”)
TollFraud2=12,20,T12,1Hours
TollFraud2_1=Outgoing=FALSE and duration<”00:00:01”
[end]
This sample alarm text file shows the definition of Fields, Macros, and Data Alarms. In all cases, the above text
entry is not case sensitive, except for the literal text specified for record matching (if you say xyz=”cat” it will not
match xyz=”CAT”).
11.5 - Field Section
The above field definitions were designed for some sample SL1 CDR records. Field definitions must be the first
section in the definition text file. The field definition section starts with the definition header [fields]. After the field
definition header comes all the field definitions. Up to 30 fields can be defined. The syntax for a field definition is:
fieldname = startpos , length
Fieldname is whatever you want to call that field. Only the first 12 characters of the field name are significant.
Startpos is the starting character position for the field (with the first character of the record considered to be 1).
Length is the length of the field specified. If an asterisk is placed in the startpos entry then use of the field will result
in the record being searched for a match in any position of the record. Examples:
Field1=30,5 (Field1 starts at position 30 and ends at position 34)
Field2=*,5 (Field2 is 5 characters long and a match anywhere in the record will be valid)
11.6 - Operators for Formulas
Valid operators for use in writing formulas are:
Oper
ator
Definition
> Greater Than
< Less Than
>= Greater Than or Equal To
<= Less Than or Equal To
! or
<>
Not Equal To
= Equal To
= Wildcard (note this wildcard character is intended to be changed
later to *)
() (Parenthesis) Used to Combine Operations
OR Logical OR
AND Logical AND