Alarm service configuration
The FX30 module offers an alarm service. This service can notify users when internal alarms are triggered. This service is used by the SMPP server for the watchdog feature, and by the connection supervisor (from version 1.0.7).
Each alarm is defined with:
- A name
- A description depending of the alarm context
- A scenario for notification
Those 3 informations cannot be changed. They are defined by the application.
The scenario contains:
- A message to send.
- The message sent will be a combination of the message (&M), the scenario name (&N), the alarm name (&A) and the alarm context (&U). The format describes the combination.
- A SMS recipient phone number list.
- The number of message repeat for each recipient.
- The time to wait between each SMS repeat.
The scenario parameters can be set through the SiwiUpdate "Application config" tab. Currently, the "watchdog" scenario is used by the SMPP service and the "Dataconnection" scenario is used by the datacnxService.
In the next array, the XXX is the scenario name. SiwiUpdate displays the parameters for each scenario.
Let's see the available alarms for each application.
SMPP watchdog
This feature (active by default) controls the link between ALERT and the FX30.
The SMPP server uses the alarm service for 2 alarms:
- "ServerStopped" which is triggered on SMPP server stop. The alarm context description is always "SMPP server stopped"
- "x.x.x.x" alarm which is the concerned SMPP client IP address (ALERT IP address). The context description can be either "Disconnection" on ALERT disconnection or "Enquirelink timeout" when ALERT hasn't sent the Enquire link for https://smppserver.restart.enquirelinktimeout/ seconds. (See the SMPP service parameters)
The 2 alarms use the "Watchdog" scenario for notification.
In the following example, on link failure, the modem will send a SMS to the two configured numbers.
The applied scenario when the link failure is detected can be modified.
If the link between ALERT and the embedded SMPP server is broken, the FX30 will play the scenario. The SMPP server parameters can be configured to finalize the watchdog setup.
Connection alarm
The datacnxService supervises the FX30 data connections. It can set those 2 alarms:
- "cnxServerStopped" triggered when the datacnxService is stopped. The context description is always "No more cnx supervision"
- "Connected" which is set when a connection attempt is detected. The context description is "Data connection is UP, trying to stop it"
Both alarms use the "DataConnection" scenario for notification. The scenario can be modified as seen for the watchdog.