Alarm Message Viewer

AlarmMessageViewer

Description

Alarm Message Viewer is a simpler version of the Alarm Viewer which displays alarm messages in the selected machine and system. It intercepts all new alarms, which arrive from the predefined system and fills a table according to the received data.

This application is only a viewer and does not allow any manipulation of messages.

There are three types of messages which are displayed by this viewer. When a new alarm is received it is added to the top of the list and is painted with red background. This message will be updated with each heartbeat or other type of the alarm until the 'terminated' alarm arrives. At that point the table entry will be painted light grey. If there is an alarm in the table which did not receive any updates for over an hour, that entry will be marked dark grey. The last scenario may happen for instance if the alarm server was restarted while the message viewer was running.

Start

Alarm Message Viewer can be started by running the java class:

de.desy.tine.apps.AlarmMessageViewer

This will start a plain Alarm Message Viewer but it will not receive any updates from the alarm system. In order to see some messages one has to provide start-up parameters as described in the next section.

Run the Alarm Message Viewer with Java Webstart (only accessible from DESY internal network).

Start-up parameters

Alarm Message Viewer supports contact parameters and logging parameter as described in common features section, but does not support any debug parameters. In addition the Alarm Message Viewer supports several specific parameters described below.

The list of start-up parameters tags
  • amv.machine - the name of the context that will be selected (if it exists)
  • amv.subsystem - the name of the subsystem that will be selected (if it exists in the context)
  • amv.server - the name of the server that will be selected (if it exists in the context)

    Example: we want to start the alarm message viewer with context LINAC2 and system L2-Protokoll. We will use system parameters:

    java -Damv.machine=LINAC2 -Damv.system=L2-Protokoll
         -cp [classpath] de.desy.tine.apps.AlarmMessageViewer