beautypg.com

Alarmnotifier.xml, Alarmnotifier.xml -2, 1 alarmnotifier.xml – Echelon i.LON 100 e2 Internet Server User Manual

Page 108

background image

Auto-Generated Log Files

Each Alarm Notifier will generate its own log file. It will add an entry to this log file each
time it generates an alarm notification. You can find these log files in the /root/AlarmLog

directory of the

i.

LON 100. These files are named histlogX, where X represents the index

number assigned to the Alarm Notifier when it was created. An Alarm Notifier will not

generate a log file until it has generated an alarm notification.
In addition, the Alarm Notifier application generates a summary log that summarizes the log
entries made by all the Alarm Notifiers that were classified as active alarms. This file is

called sumlog0, and can also be found in the /root/AlarmLog directory of your

i.

LON 100.

You can create the log files in either a text format (.csv) or binary format (.dat). You will
establish this when you create your Alarm Notifiers. You can read these log files by opening

the log files via an FTP session, or by using the AlarmNotifierRead function. You can use the
Alarm NotifierWrite function to acknowklede and comment on the alarm notifications stored

in the log files.

8.1 AlarmNotifier.XML

The AlarmNotifier.XML file stores the configuration of the Alarm Notifiers that you have

added to the

i.

LON 100. You can create up to 40 Alarm Notifiers per

i.

LON 100. Each Alarm

Notifier is signified by an element in the XML file.

You can create Alarm Notifiers with the AlarmNotifierSet SOAP function, or by manually

editing the AlarmNotifier.XML file and downloading it to the

i.

LON 100 via FTP. The

sections following this example provide instructions and guidelines to assist you when doing

so.
The following represents a sample AlarmNotifier.XML file for an

i.

LON 100 with one defined

alarm Notifier. This Alarm Notifier generates alarm notifications based on the status of the

data point NVL_nvoLevelAlarm. This data point monitors the log level of a Data Logger. As

you may recall from Chapter 6, this data point will be set to the alarm condition
AL_ALM_CONDITION when the volume of the Data Logger reaches its pre-defined log level.
The Alarm Notifier defined by the example below triggers an alarm notification when this

occurs, and updates the value of the NVL_nviDlClear data point to 100.0 1. The update to
NVL_nviDlClear will clear out the Data Logger’s log file. So, the Alarm Notifier defined by

the XML file below monitors the log level of a Data Logger, and empties the Data Logger’s
log file when it becomes full.

xml version="1.0" ?>

1

1

11

2002-07-04T15:08:54Z

Monitors the log level of a Data

Logger

Alarm Notifier- 1

0.0 /SCPTdelayTime>

<

100

100

LF_BINARY

10

i.

LON 100 Internet Server Program

8-2

mer’s Reference