Skip to content
Freddie Akeroyd edited this page Jun 24, 2020 · 5 revisions

This is a python file /isis/cgi/sendmess.py living on control-svcs and invoked as http://control-svcs.isis.cclrc.ac.uk/isiscgi/sendmess.py

It is only possible to invoke this file when on RAL site, and you also need to pass a correct passcode (see IBEX access sharepoint) as one of the parameters for it to send a message. The parameters passed are:

mobiles: a semicolon separated mobiles list for sms text
emails: a semicolon separated email list
pw: correct passcode
inst: instrument name for slack/teams alerts
message: the message

Al IOC usually posts to this service from the :AC: (alert control) system loaded by the run control IOC

To do the posting it will use sendAlert.db from support/webget. This combines several PVs with mobiles, emails etc. are combined together into a http POST format using the aSub function webFormURLEncode and then sends this to control-svcs using the aSub function webPOSTRequest

Clone this wiki locally