[INSTRM-451] Implement and use alertsActor for LAM AIT Created: 23/Aug/18  Updated: 19/Dec/19  Resolved: 19/Dec/19

Status: Done
Project: Instrument control development
Component/s: ics_alertsActor
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: arnaud.lefur Assignee: arnaud.lefur
Resolution: Done Votes: 0
Labels: SPS
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to INSTRM-711 Implement Simplified alertsActor for ... Done
relates to INSTRM-716 wire alertsActor to jabberBot Done
Story Points: 10
Sprint: SM1-2019 K

 Description   

We were using our own alarm handing mechanism until now, but we'll have to use the alertsActor sooner rather that later.

Since we actually don't have STS at LAM, one option would be to trigger our jabberBot instead.

In that case, we would receive the alarms on our cellphone just as before.

 

 



 Comments   
Comment by cloomis [ 23/Aug/18 ]

Not a bad idea. Will probably take some refactoring. The current scheme is for all STS datums to be (value, text) tuples. If text is "OK" all is OK. If not, the text should help pin down the problem. We haven't figured the "helpful text" part out yet.....

Comment by arnaud.lefur [ 26/Sep/18 ]

I've looked more closely at the master branch, to understand what's the current development status.

Right now, the ActorRules  class is forwarding to STS the keywords listed in config/STS.yaml .

But I don't see any reference to config/keywordAlerts.yaml, am i missing something ?

 

 

Comment by cloomis [ 09/Jan/19 ]

I thought there was a non-LAM specific ticket for the alertsActor design, but evidently there isn't. But I'll add a couple of the top design points here, because of the differences between Subaru and LAM.

  • the alertsActor is the only source of alerts for PFS. There may be internal PFS keywords which signal alerts, but they cannot be used except by the alertsActor.
  • the alertsActor contains no mechanism for propagating alerts via text/email/etc. All it does is generate alerts for some external communication package.
  • At Subaru, STS is the package which handles alert propagation/display/masking. The channel between the alertsActor and STS is an internal TCP socket.
  • Each alert generated by the alertsActor must have an associated MHS keyword. [details elsewhere]
  • the alertsActor should only operate on MHS keywords (or the lack thereof). It cannot use the archiver.
Comment by hassan [ 05/Feb/19 ]

Yoshida-san provide an image of the STS to the LAM team. They need to review it with Craig. This should be done before 10 Feb.

Design to accommodate STS still needs to be thought through.

Comment by hassan [ 28/Feb/19 ]

cloomis and hassan to discuss together to break down into smaller tickets

Comment by hassan [ 02/May/19 ]

To be discussed with cloomis during LAM visit early May

Comment by hassan [ 11/Jul/19 ]

@cloomis: Need to read YAML file with threshold and apply those thresholds to generate STS keywords.

Comment by arnaud.lefur [ 19/Dec/19 ]

done and tested before SM1 shipping

Generated at Sat Feb 10 16:25:09 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.