Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion doc/systems/control_svcs/Alert-Relay.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,13 @@ An IOC usually posts to this service from the :AC: (alert control) system loaded

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

To see the debug output of what `sendAlerts.db` is sending set `epicsEnvSet("WEBGET_POST_DEBUG","1")` in the `st.cmd` of the runcontrol IOC. This is suppressed by default as it may contain sensitive user data.
To see the debug output of what `sendAlerts.db` is sending set `epicsEnvSet("WEBGET_POST_DEBUG","1")` in the `st.cmd` of the runcontrol IOC. This is suppressed by default as it may contain sensitive user data.

The PVs in IBEX which hold the URL & password for sending alerts are in the form:

```
%MYPVPREFIX%CS:AC:ALERTS:URL:SP
%MYPVPREFIX%CS:AC:ALERTS:PW:SP
```

There is further documentation in the [`RUNCTRL` README file](https://github.com/ISISComputingGroup/EPICS-ioc/blob/master/RUNCTRL/README.md).