Script AckAlarmSMS : Configuration des variables globales
Le script contient les variables globales suivantes qui permettent de le configurer comme souhaité :
| Options | Default value | Description |
| Ack Alarm string | ACK |
String to send with the alarm OID of the alarm to acknowledge (cf Generalities) |
| Trace Level | 0 | Level of the trace |
| Ack. all alarms string | ACK ALL | String to send for the acknowledgement of all the alarms (cf Generalities) |
| GSM Driver begin Id | 1200 | Id of the first GSM driver (internal use) |
| GSM Driver end Id | 1339 | Id of the last GSM driver (internal use) |
| Timeout to update script watchdog |
-1 |
Timeout for the update of the watchdog of the script (if -1, no update of the watchdog) |
| Watchdog tagname | Name of the wachdog tag to supervise the script. | |
| SetTag string | SetTag | String to send for a request of change of the value of a Tag (with its OID) (cf Generalities) |
| Value Separator | : | Separator of the value |
| SetValue by Ref | 0 | If this option is set to 1, instead of sending the OID of the tag, you must send its reference |
| SetValue by Name | 0 | If this option is set to 1, instead of sending the OID of the tag, you must send its name |
| GetTag Value String | ValTag: | String to send for a request of read of the value of a Tag (with its OID) (cf Generalities) |
| GetValue by Ref | 0 | If this option is set to 1, instead of sending the OID of the tag, you must send its reference |
| GetValue by Name | 0 | If this option is set to 1, instead of sending the OID of the tag, you must send its name |
| Error Getting Value Message | This tag id isn't correct | Message that will be sent to the user in case of error for getting a value. |
| Check User Alarm Access | 1 | This option allows checking that the user who's sent the SMS exist in Alert and has the right to do the action he want to do (acknowledge, mask etc ...) |
| Mask Tag string | MASK |
String to send for a request of mask of an alarm (cf Generalities) |
| Mask Tag Separator | ; | Separator for the alarm field. |
| Allow Infinite Mask | 1 | If this option is set to 1, mask of the alarm without time limit is possible. |
| Max Masking Hour | 9 |
Max time value for the mask of an alarm that a user can send by SMS. |
| Find User on its First Number Only | 1 |
If this option is set to 1, the script do a search of the user only on its firs number. Otherwise the search is done on all the number a user. |
| Language | 0 | Language used for the display of the message of the script (0: French, 1: German, 2: English) |
| Log File name | AckAlarmSMS.log | Name if the file for the log |
| Activate Log File Trace | 1 | Option to activate or not the logs in the file Log File Name |
| Manage User Activation | 0 | If this option is set to 1, it is possible to activate ou deactivate a user by SMS. |
| User Activation String | YES |
String to send for a request of activation of an user (cf Generalities) |
| User Disactivation String | NO | String to send for a request of deactivation of an user (cf Generalities) |
| Options | Default value | Description |
| Ack Alarm string | ACK |
String to send with the alarm OID of the alarm to acknowledge (cf Generalities) |
| Trace Level | 0 | Level of the trace |
| Ack. all alarms string | ACK ALL | String to send for the acknowledgement of all the alarms (cf Generalities) |
| GSM Driver begin Id | 1200 | Id of the first GSM driver (internal use) |
| GSM Driver end Id | 1339 | Id of the last GSM driver (internal use) |
| Timeout to update script watchdog |
-1 |
Timeout for the update of the watchdog of the script (if -1, no update of the watchdog) |
| Watchdog tagname | Name of the wachdog tag to supervise the script. | |
| SetTag string | SetTag | String to send for a request of change of the value of a Tag (with its OID) (cf Generalities) |
| Value Separator | : | Separator of the value |
| SetValue by Ref | 0 | If this option is set to 1, instead of sending the OID of the tag, you must send its reference |
| SetValue by Name | 0 | If this option is set to 1, instead of sending the OID of the tag, you must send its name |
| GetTag Value String | ValTag: | String to send for a request of read of the value of a Tag (with its OID) (cf Generalities) |
| GetValue by Ref | 0 | If this option is set to 1, instead of sending the OID of the tag, you must send its reference |
| GetValue by Name | 0 | If this option is set to 1, instead of sending the OID of the tag, you must send its name |
| Error Getting Value Message | This tag id isn't correct | Message that will be sent to the user in case of error for getting a value. |
| Check User Alarm Access | 1 | This option allows checking that the user who's sent the SMS exist in Alert and has the right to do the action he want to do (acknowledge, mask etc ...) |
| Mask Tag string | MASK |
String to send for a request of mask of an alarm (cf Generalities) |
| Mask Tag Separator | ; | Separator for the alarm field. |
| Allow Infinite Mask | 1 | If this option is set to 1, mask of the alarm without time limit is possible. |
| Max Masking Hour | 9 |
Max time value for the mask of an alarm that a user can send by SMS. |
| Find User on its First Number Only | 1 |
If this option is set to 1, the script do a search of the user only on its firs number. Otherwise the search is done on all the number a user. |
| Language | 0 | Language used for the display of the message of the script (0: French, 1: German, 2: English) |
| Log File name | AckAlarmSMS.log | Name if the file for the log |
| Activate Log File Trace | 1 | Option to activate or not the logs in the file Log File Name |
| Manage User Activation | 0 | If this option is set to 1, it is possible to activate ou deactivate a user by SMS. |
| User Activation String | YES |
String to send for a request of activation of an user (cf Generalities) |
| User Disactivation String | NO | String to send for a request of deactivation of an user (cf Generalities) |