1 overview of the alarmnotifier xml file, Overview of the alarmnotifier xml file -2, Overview of the alarmnotifier xml file – Echelon i.LON SmartServer 2.0 User Manual
Page 94
![background image](/manuals/735732/94/background.png)
i.LON SmartServer 2.0 Programmer’s Reference
7-2
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 SmartServer.
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 with the SmartServer Web pages,
by opening the log files via FTP, or by using the Read function. You can use the Write function to
acknowledge and comment on the alarm notifications stored in the log files.
7.1
Overview of the AlarmNotifier XML File
The #8000010128000000[4].UFPTalarmNotifier.xml file stores the configuration of the Alarm
Notifiers that you have added to the SmartServer. Each Alarm Notifier is signified by an
element in the XML file.
You can create new Alarm Notifiers using the Set function, or by manually editing the
#8000010128000000[4].UFPTalarmNotifier.xml file, and rebooting the SmartServer. You can create
up to 40 Alarm Notifiers per SmartServer. You can add more than 40 Alarm Notifiers if you load the
dynamic v40 XIF on your SmartServer and you operate your SmartServer in Standalone mode. Note
that using the v40 XIF with the SmartServer operating in LNS mode (LNS Auto or LNS Manual) is
not supported.
The following represents a sample #8000010128000000[4].UFPTalarmNotifier.xml file with one
Alarm Notifier. This Alarm Notifier generates alarm notifications based on the status of an
nvoDlLevAlarm data point. This nvoDlLevAlarm data point monitors the log level of a Data
Logger. As you may recall from Chapter 4, 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 nviDlClear data point to 100.0 1. The update to nviDlClear will clear out the
Data Logger’s log file. In summary, the Alarm Notifier defined by the XML file below monitors the
log level of an Alarm Generator, and empties the Data Logger’s log file when it becomes full.
App/Alarm
Notifier[0]
App/Alarm
Notifier[0]/nviAnEnable[0]
App/Data
Logger[0]/nvoDlLevAlarm[0]
App/Data
Logger[0]/nviDlClear[0]
App/Data
Logger[0]/nviDlClear[0]
LonFormat="UCPTlogFormat">LF_TEXT
App/Alarm
Notifier[0]_Summary.csv
App/Alarm
Notifier[0]_History.csv