[INSTRM-273] Select/reject open-source alarm handler Created: 13/Oct/17  Updated: 12/Jun/18  Resolved: 11/Jan/18

Status: Won't Fix
Project: Instrument control development
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: cloomis Assignee: cloomis
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: 2017-10A

 Description   

Evaluate the various open source alarm handling/monitoring systems. Can any support our needs or should we stick with enhancing our own.

We absolutely need:

  • input plugins, especially one to allow feeding keywords in to some engine which can act on them.
  • expressive logic, including our own code modules.
  • output plugins, so we can feed STS.
  • some way of expressing 'modes'


 Comments   
Comment by cloomis [ 13/Oct/17 ]

Waiting on proposals from any of Yoshida, Hiroshige rhl shimono arnaud.lefur fmadec. Will chose by the end of this sprint.

Comment by Yoshida, Hiroshige [ 21/Oct/17 ]

Alerta (http://alerta.io) - I tried it for a few minutes, after spending hours to get it going... Below is the quickest (?) steps to install and try it on Debian 9:

  • Install MongoDB
    # apt-get install mongodb
  • Install Alerta
    # apt-get install python3-pip
    $ pip3 install alerta-server alerta
  • Clone Alerta Web Console
    $ git clone https://github.com/alerta/angular-alerta-webui
  • Create a server configuration file
    $ vi ~/.alertad.conf
    $ cat ~/.alertad.conf
    CORS_ORIGINS = [
    'http://127.0.0.1:8080',
    'http://PUBLIC_FACING_IP_ADDRESS:8080'
    ]
  • Run Alerta server
    $ ALERTA_SVR_CONF_FILE=~/.alertad.conf ~/.local/bin/alertad run --host PUBLIC_FACING_IP_ADDRESS --port 8080
  • Run Alerta Web Console server
    $ cd $ANGULAR_ALERTA_WEBUI_DIR/app
    $ python3 -m http.server 8000
  • Go to Alerta Web Console http://PUBLIC_FACING_IP_ADDRESS:8000
  • Send a test alert manually
    $ ~/.local/bin/alerta --endpoint-url http://PUBLIC_FACING_IP_ADDRESS:8080 send -r net -e down -E Production -S Network -s fatal -t "Network is down." -v ERROR
  • Watch the alert to show up on the Web Console! You create an account, log in, then can acknowledge, close it, etc.
Comment by arnaud.lefur [ 26/Oct/17 ]

I have been chatting with a guy from manitou-neo and I have to send him an email where I summarize our needs.
I might have a phonecon with him then.
I'm not sure yet if their software can be a good match for us, but it worth trying.

Comment by cloomis [ 26/Oct/17 ]

I also looked at alerta a bit, mostly because it is designed to encourage accepting input from many different kinds of sources. So adapting our keywords would be easy. At first I thought it might be a good thing for Subaru, if nothing else.

It is intended to help manage and concisely view many active alerts from many organizations and different kinds of feeds. Again, perhaps good for Subaru, but less interesting to PFS.

There is no existing support for integrating plotting history with active alerts, which I think would be essential both for Subaru and PFS. There are plugin mechanisms through which we might be able to add them.

I would look at it more closely if I were Subaru – I suspect a reasonable development effort would get you what you want – but am less interested for PFS: that development effort would be better served building on the AIT tools.

Comment by cloomis [ 11/Jan/18 ]

For internal PFS work, we are not going use an external product.

Comment by shimono [ 11/Jan/18 ]

This SHALL be for ICS, but not development infrastructure.

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