Skip to main content
Version: v4 (Stable)

External Database Export

In order to extend the capabilities of the statistical treatment of alarms and calls, the application configuration and the alarm history, the call history (group and user calls) and the report log can be automatically exported to an external database.

To set this functionality operational, the database export option has to be authorized by the software license and the "Database export activation" option must be checked in the general option dialog box (see General options).

When the database export option is activated, some additional features are available:

  • Enhanced history information (transmitted message)
  • Capability of comment attachment to alarms
  • Generation of report attached to alarms
  • Real time and differed time call overview

The exported data is stored in a single database. By default, it is a Microsoft Access database located in the "Base" subdirectory of the application's data directory: "AlertDB.mdb".

The link to this database is defined by the data link definition files "AlertDB.udl". To modify the connection to the database, open this file with the data source editor (a double click on the file name is sufficient) and modify the desired parameters.

The tables in the database are all built automatically when the application is initialized.

Configuration tables

The configuration tables contain all the configuration data needed to use the logs. They are updated automatically after each modification of the corresponding configuration data.

The configuration tables are the following tables:

STATIONS: List of stations

Field nameData typeDescription
StationIdNumericStation identifier
StationNameTextStation name

GROUPS: List of tag groups

Field nameData typeDescription
GroupIdNumericTag group identifier
GroupNameTextTag group name

CALLGROUPS: List of call groups

Field nameData typeDescription
CallGroupIdNumericCall group identifier
GroupNameTextCall group name
StationIdNumericIdentifier of the attached station

TEAMS: List of on-call teams

Field nameData typeDescription
TeamIdNumericTeam identifier
TeamNameTextTeam name
CallGroupIdNumericIdentifier of the attached call group

TAGS: List of supervised tags

Field nameData typeDescription
TagIdNumericTag identifier
StationIdNumericIdentifier of the attached station
LabelTextAlphanumeric tag identifier
GroupIdNumericIdentifier of the attached tag group
CallGroupIdNumericIdentifier of the attached call group
MessageMemoAssociated text message
PriorityNumericAlarm priority
PulseNumericTransitory alarm
ReferenceTextData path
NameTextTag name

USERPROFILES: List of user profiles

Field nameData typeDescription
ProfileIdNumericProfile identifier
ProfileNameTextProfile name
ProfileLevelNumericBasic access level of the profile

USERS: List of users

Field nameData typeDescription
UserIdNumericUser identifier
UserNameTextUser name
UserFirstNameTextUser first name (can be NULL)
StationIdNumericIdentifier of the attached station
UserNumericIdNumericTelephonic identifier of the user
ProfileIdNumericIdentifier of the attached profile
LanguageIdNumericCode of the user language
UserTypeNumericUser type (1=virtual, 2=console, ...)

DRIVERS: List of installed communication drivers

Field nameData typeDescription
DriverIdNumericDriver identifier
DriverNameTextDriver name
DriverTypeNumericDriver type (vocal, fax, SMS, ...)
CountryCodeTextCountry code (2 characters, NULL is not localized)

CALLNUMBERS: List of user call numbers

Field nameData typeDescription
NumberIdNumAutoCall number identifier
UserIdNumericIdentifier of the attached user
EntryNumberNumericEntry number in the user directory
DriverIdNumericIdentifier of the communication driver to use
AddressTextCall number or address

CALLGROUPS_USERS: Table of assignment of users to call groups

Field nameData typeDescription
CallGroupUserIdNumericLink identifier
CallGroupIdNumericIdentifier of the attached call group
UserIdNumericIdentifier of the attached user
ReliefBooleanRelief indicator for operator in the group

TEAMS_USERS: Table of assignment of operators to on-call teams

Field nameData typeDescription
TeamUserIdNumericLink identifier
TeamIdNumericIdentifier of the attached on-call team
UserIdNumericIdentifier of the attached user
UserIndexNumericPosition of the user in the team
ReliefBooleanRelief indicator for operator in the team

History tables

The history tables contain all dynamic data recorded by the software: alarms, calls, reports.

The history tables are the following tables:

ALARMLOG: Alarm history log

Field nameData typeDescription
AlarmLogIdNumAutoIdentifier of the alarm event
TagIdNumericIdentifier of the tag in alarm (cf. TAGS)
AlarmTimeDate/TimeTime-stamp of the alarm activation (GMT)
MessageMemoFormatted alarm message
ResetTimeDate/TimeTime-stamp of the alarm reset (GMT)
UserIdNumericIdentifier of the user who acknowledged the alarm (cf. USERS)
AckTimeDate/TimeTime-stamp of the alarm acknowledgment (GMT)
AlarmValueTextTag value at the alarm time
CommentTextMemoComment associated with the alarm
AlarmLocalTimeDate/TimeTime-stamp of the alarm activation (Local)
ResetLocalTimeDate/TimeTime-stamp of the alarm reset (Local)
AckLocalTimeDate/TimeTime-stamp of the alarm acknowledgment (Local)
EventTypeNumeric0 = Alarm, 1 = Event

The alarm history table is updated in real time for every alarm event (activation, reset, acknowledgment).

CALLGROUPLOG: group call history log

Field nameData typeDescription
CallGroupLogIdNumAutoIdentifier of the group call
CallGroupIdNumericIdentifier of the call group (cf. CALLGROUPS)
BeginTimeDate/TimeTime-stamp of the begin of the call cycle (GMT)
EndTimeDate/TimeTime-stamp of the end of the call cycle (GMT)
StatusNumeric0 = No call, 1 = Call in progress, 2 = Call transmitted (wait for call acknowledgment), 3 = Group not warned (call fail), 4 = Group warned (calls acknowledged), 5 = Relief group called, 6 = Call delayed, 7 = Relief group not warned, 8 = Relief group warned, 9 = Call finished (no more alarm for the group), 10 = Call group active wait (Relief only), 11 = Call group passive wait (Relief only), 12 = Call canceled
BeginLocalTimeDate/TimeTime-stamp of the begin of the call cycle (Local)
EndLocalTimeDate/TimeTime-stamp of the end of the call cycle (Local)

The call group table is updated at the beginning of the call cycle (EndTime and Status fields set to NULL) and at the end of the call cycle.

CALLLOG: user call history log

Field nameData typeDescription
CallLogIdNumAutoIdentifier of the user call
UserIdNumericIdentifier of the called user (cf. USERS)
DriverIdNumericIdentifier of the used communication driver (cf. DRIVERS)
CallNumberMemoCalled number
BeginTimeDate/TimeTime-stamp of the begin of the call (GMT)
EndTimeDate/TimeTime-stamp of the end of the call (GMT)
StatusNumeric0 = no call performed, 1 = call aborted, 2 = call suspended, 3 = call transmitted (wait for call acknowledgment), 4 = call failed, 5 = call acknowledged, 6 = call not acknowledged (failed), 7 = call cancelled, 8 = call acknowledged after one fail, 9 = call non-validating successed, 10 = call non-validating failed
FailReportTextDetailed error report
BeginLocalTimeDate/TimeTime-stamp of the begin of the call (Local)
EndLocalTimeDate/TimeTime-stamp of the end of the call (Local)

The call table is updated at the beginning of the call (EndTime and Status fields set to NULL) and at the end of the call.

CALLLOGMESSAGE: Message call history log

Field nameData typeDescription
CallLogMessageIdNumAutoIdentifier of the message call
CallLogIdNumericIdentifier of the user call (cf. CALLLOG)
MessageTextMessage associated to user call

The message call table can contains same user call identifier with multiple messages in case of multiple message are sent in one call (ex: Email).

REPORTLOG: report history log

Field nameData typeDescription
ReportLogIdNumAutoIdentifier of the report
Report DateDate/TimeTime-stamp of the first report edition (GMT)
UserIdNumericIdentifier of the report author (cf. USERS)
TopicIdNumericIdentifier of the report topic (cf. TOPICS)
ReportTextMemoReport content
AudioFileTextName of the attached audio file
AttachedFileMemoList of attached files
AlarmReportBooleanIndicator for alarm report
ReportLocalDateDate/TimeTime-stamp of the first report edition (Local)

The report log is updated after each report edition (creation or modification).

REPORTTOPIC: list of report topics

Field nameData typeDescription
TopicIdNumAutoIdentifier
TopicTexteTextTopic label

The following tables contain the list of crossed references between the alarms and the consecutive group calls (ALRMTOCALLGROUP), between the group calls and the associated user calls (CALLTOCALLGROUP), and the alarms and the associated reports (ALARMTOREPORT).

ALARMTOCALLGROUP: link alarms / group calls

Field nameData typeDescription
AlarmToCallGroupIdNumAutoIdentifier
AlarmIdNumericIdentifier of the alarm event (cf. ALARMLOG)
CallGroupIdNumericIdentifier of the group call (cf. CALLGROUPLOG)

CALLTOCALLGROUP: links user calls / group calls

Field nameData typeDescription
CallToCallGroupIdNumAutoIdentifier
CallIdNumericIdentifier the user call (cf. CALLOG)
CallGroupIdNumericIdentifier of the group call (cf. CALLGROULOG)

ALARMTOREPORT: links alarms / reports

Field nameData typeDescription
AlarmToReportIdNumAutoIdentifier
AlarmIdNumericIdentifier of the alarm event (cf. ALARMLOG)
ReportIdNumericIdentifier of the report (cf. REPORTLOG)

EVENTLOG: Event logs of Alert (required global option "DataBase.WriteEventLogs" set to "1")

Field nameData typeDescription
EventLogIdNumAutoIdentifier
StationIdNumericStation identifier (cf. STATIONS)
DateTimeDate/TimeTime-stamp of the event (GMT)
LocalDateTimeDate/TimeTime-stamp of the event (Local)
EventTypeNumeric0 = Alert Start, 1 = Alert Stop, 2 = Login, 3 = Logout, 4 = Manual outgoing call, 5 = Automatic outgoing call, 6 = Call success, 7 = Call not answered or not acknowledged, 8 = Communication failure, 9 = Alarm, 10 = Alarm acknowledgment, 11 = Alarm reset, 12 = Call acknowledged, 13 = Event, 14 = Incoming call, 15 = Team call success, 16 = Team call fail, 17 = Derogation start, 18 = Derogation end, 19 = System date changed, 20 = Remote login, 21 = Port disconnected, 22 = Port failed, 23 = Link failed, 24 = Information, 25 = Operator offduty, 26 = Operator replaced by, 27 = Alarm masked, 28 = Alarm unmasked, 29 = Port connection, 30 = Station disabled, 31 = Station enabled, 32 = Remote logout, 33 = Error, 34 = Operator onduty, 35 = Call rejected, 36 = Team relief, 37 = Relief fail, 38 = End relief, 39 = Operator status change, 40 = Call success but not acknowledged, 41 = Start/Stop polling, 42 = Outgoing call for transfer, 43 = License fail
InfoTextInformation of event