Note
Onlyequality or inequality are supported for string values.
value isthe value to use in the expression. Stringvalues may be enclosed
insingle or double quotes; these quotes will not be included in the value. If
youwant the beginning or closing quotation marks to be included in the
string,you must double them. Note that single quotes occurring within the
stringshould not be doubled.
Youcan specify as many trap fields as you wish in the
asasnmp.ini
file. The
OIDused for the trap will be 1.3.6.1.4.1.897.2.4.1 ,and the data sent
withthe trap will indicate the trap number of the trap that was sent.
Youcan specify as many Trap fields as you wish in the
asasnmp.ini
file. The
OIDused for the trap will be 1.3.6.1.4.1.897.2.4.1 ,and the data sent
withthe trap includes the following:
thetrap number (starts at 1 for the first dynamic trap sent by the Adaptive
ServerAnywhere SNMP agent)
thedatabase index
thedatabase name trap index (from the
asasnmp.ini
file)
thevariable name
thevariable value (this is the current value of the variable, not necessarily
thethreshold value)
Dynamictrap behavior Oncea dynamic trap is triggered, the trap is not be sent again until the
conditionthat caused it to be triggered changes to FALSE and then back to
TRUEagain.
Forexample, if you have a dynamic trap set using 1.1.11.1 >= 5120,
thenthe trap is triggered when the server’s cache size reaches 5 MB (= 5120
KB)and the dynamic trap is disabled, so no more traps are sent. The only
waythe trap is re-enabled is if the cache size later drops below 5 MB. You
wouldthen be notified if the cache size grew to 5 MB again.
Trapexamples
Trapinformation Description
Trap1=1.1.5>10000 Trapsent when the number of bytes sent from the
serveris greater than 10 000
Trap2=1.3.6.1.2.1.39.1.4.1.4.14.1>= 10485760 Trap sent if the size of the transaction log file is
largerthan 10 MB
20