The Cassandra Project banner
alm_line
by Kevin Millar <kmillar@ihug.co.nz>

#---------------------------------------------------------------------+
#  Copyright (c) 2000 Kevin Millar. All Rights Reserved.              |
#                                                                     |
#                  http://thecassandraproject.org/                    |
#                                                                     |
#  This is free software; you can redistribute it and/or modify it    |
#  under the terms of the GNU General Public License as published by  |
#  the Free Software Foundation; either version 2 of the License, or  |
#  (at your option) any later version.                                |
#                                                                     |
#  This software is distributed in the hope that it will be useful,   |
#  but WITHOUT ANY WARRANTY; without even the implied warranty of     |
#  merchantability or fitness for a particular purpose. See the GNU   |
#  General Public License (http://www.fsf.org/copyleft/gpl.htm)for    |
#  more details.                                                      |
#                                                                     |
#  To obtain the GNU General Public License, write to:                |
#                                                                     |
#      Free Software Foundation, Inc.                                 |
#      59 Temple Place - Suite 330                                    |
#      Boston, MA  02111-1307                                         |
#      USA                                                            |
#---------------------------------------------------------------------+

This utility is a server application, used for capturing alarm messages, and outputting those messages to the message line of a set of Display Managers. The program will automatically make itself a background task, and register itself as a pseudo-device. Alarm messages can be sent to this "device," the same as alarms are sent to WPs and printers.

To start the program use the following syntax:

           alm_line  NAME  WP_LIST [-d]

where:

NAME
is the name the pseudo-device alarms are to be sent to. This name must be added to the group device lists in the compounds. The name must be less than 12 characters long (6 characters recommended) and in uppercase. The compound "group device" list must contain this name for the alarms to be received.

WP_LIST
is the name of a text file containing a list of WPs the alarm messages are to be sent to (one WP per line).

-d
optional debug flag. Unprocessed IPC messages received will be printed to stdout.

Example:

           alm_line  MSGLINE  /usr/fox/bin/wp_list

Alarms are configured in the Compound Device Group to be sent to the pseudo-device MSGLINE. All WPs configured in the wp_list file will display the alarm messages.

This program was compiled and proven to work on a Ver 6.0 workstation.

Download

source code (18KB), compiled program (16KB)

WARNING

If one or more of the WPs is not responding, this program will slow down dramatically, and alarm messages may be lost. This is caused by the program sending a command to the bad WP and it must wait for the time-out before being able to continuing.

Although this program has been tested and appears to function properly, this is not a supported product. The Foxboro Company does not support this program, and will not be held responsible for problems encountered while using this program.

Author

Kevin Millar <kmillar@ihug.co.nz>
Systems/Software Engineer
W. Arthur Fisher Ltd.


Copyright ©2000 The Cassandra Project
web posted: 8 March 2000
last updated: 18 March 2000
Contact the webmaster for comments and/or questions.