Linac Tube Notifications

There are several different system updates that can be subscribed to. When subscribed to the different types, it is possible to get notified for multiple things at once. For example, if the status of a tube is changed and this lowers the spare count below the configured minumin, a person subscribed to both status updates and low spare count would received one e-mail message with two different notifications.

When an update is performed on the data that causes mail to be sent, a list of who is getting mail is presented.

Low Spare

Each tube is configured to have a low spare count minimum. This count is checked under the following conditions:

A spare tube is one that is configured with the following status types: if the number of tubes with these status goes below the low spare minimum, this notification is triggered. The message will contain the tube in question in the subject line and the message will look similar to the following:
This update reduces the spare count below the accepted minimum. There are currently XXX and this tube is configured for a minumum of XXX.
filling XXX in for the current values.

Status Update

Subscribing to the status updates will include in the e-mail message one that is formated for update requests to Johnathon Walters. It is hoped that this will help keep things udpated as requested and if the format needs changed, contact the system administrator.

This message goes out under the following conditions:

Rebuild Change

Subscribing to rebuild changes, will send a message with every change on the rebuilding interface for a tube. It will specify what changed, what the original value was and what it now is. The message will similiar to the following:

Rebuild Change Report for Tube name
What: What changed
From: original value
To: new value
======
What: What changed
From: original value
To: new value
======
And so on

Low Inventory Report

The interface allows selection of tubes that should be purchased and assigns the task code to use. When this report is generated, a message is sent that it is ready with a link to that report included. The message will be similiar to the following:

Tubes included in the report
Link to the interface
A low tube inventory report has been subimitted. Visit the report here: Link to the report

All Tube Updates

A person subscribed to all the tube updates will received mail in all the above cases except the Low Inventory Report. With each change using the interface, only one message will be sent including information for each type of change.

Although only one message will be genterated for each change, that message may have duplicate information it when subscribed to all tube updates. For instance. If a person is subscribed to a low spare count, status updates and all tube updates, changing a status of a tube from spare to archived will generate the following message:

Subject: Tube Low Spare Count, Tube Update, Status Update, Tube Update
7835 Update
         For Low Spare Count
This update reduces the spare count below the accepted minimum. There are currently Current number and this tube is configured for a minumum of Low spare count.

==================

         For All Tube Update
This update reduces the spare count below the accepted minimum. There are currently Current number and this tube is configured for a minumum of Low spare count.

==================

         For Status Update
A tube has been updated
Entry by: user name
Tube: Tube
Serial #: Serial
Rebuild : Rebuild
Status:
==================

         For All Tube Update
A tube has been updated
Entry by: user name
Tube: Tube
Serial #: Serial Status:

Linac Tube Subscription Interface

The subscription interface shows a list of notifications the user is currently subscribed too. If the person viewing the list has full access to the system, there will be a button allowing viewing of subscriptions for everyone.

Viewing current subscriptions is done from the list at the top of the page. Clicking on the checkbox in the row next the subscription marks that entry for deletion and can be removed using the "Remove Selected" button.

The next information allows a new subscription to be entered. The "Subscription for:" text area should have the e-mail address of who is to be notified. Next the "Notify on what event" needs picked from the pull down list. There is a description of what these are and what will be sent viewable by clicking on the '?' next to the list.

Then, the subscriptions can be done based on what tube is being updated. If it is desirable to subscrib to updates on all tubes, just click on the box in front of "All". Otherwise, chose those tubes desired.

Clicking on the "Add New" button will update the subscription.

Back to main page

Contact webmaster-ad@fnal.gov