61
6620-3201
SMS template:
This
fi
eld contains the name of the template
fi
le that will be used to form the basis of any SMS alarm
messages generated by the event logger. The default template is a text
fi
le called “EVENT.SMS” that
is stored within the compressed .web
fi
le.
You may create alternative templates but you must use the “.SMS”
fi
le extension and store the
fi
les
in the normal
fi
le directory. If you create a new template with the name “EVENT.SMS”, this will take
precedence over the pre-de
fi
ned “EVENT.SMS” template.
SMS destination:
This is the destination phone number for SMS alert messages including the international dialling code
but no “+” pre
fi
x or leading 0’s.
Using Text Commands
From the command line, the
event
command may be used to con
fi
gure the email alert options for
the event logger.
To display the current email settings for the event logger enter the command:
event <instance> ?
where
<instance>
is 0. At present there is only one event log, i.e. 0, but the instance parameter has
been included to allow for future expansion.
To change the value of a parameter use the command in the format:
event 0 <parameter> <value>
The parameters and values are:
Parameter
Values
Equivalent Web Parameter
action_dly number
Delay after powerup before
sending traps/emails/sms (s)
emax
number Max
emails/day
etemp
fi
lename
Email template
etrig
0-9
Email trigger priority
ev_
fi
lter
numbers
Event Filter Codes
from
email address
Email From
loglevel
number
Maximum event priority to log
sms_max
number Max
SMS/day
sms_to
phone number
SMS destination number
sms_trig
0-9
SMS trigger priority
smstemp
fi
lename
SMS Email template
subject
text
Email Subject
syslog_max
number
Max SYSLOG messages/day
syslog_trig
0-9
SYSLOG trigger priority
to
email address
Email To
trap_max
number Max
traps/day
trap_trig
0-9
Trap trigger priority
For example, to set the maximum number of emails that may be sent in one day to 3, enter:
event 0 emax 3