Перейти к содержанию

Навигация

Notification module/en: различия между версиями

Нет описания правки
(Новая страница: «==How to set up notifications with more complex conditions== The notification module is designed to quickly configure simple notifications. If you need more compl…»)
Метки: правка с мобильного устройства правка из мобильной версии
 
(не показано 5 промежуточных версий 3 участников)
Строка 7: Строка 7:


Emails will be sent from one of your mailboxes, which will be required:
Emails will be sent from one of your mailboxes, which will be required:
*login (for example, "robot@contactless.ru"),
*login (for example, "robot@wirenboard.com"),
*password,
*password,
*SMTP server address and port (for Gmail mailboxes, it is "smtp.gmail.com:587", for Mail.Ru - "smtp.mail.EN:465").
*SMTP server address and port (for Gmail mailboxes, it is "smtp.gmail.com:587", for Mail.Ru - "smtp.mail.EN:465").
Строка 14: Строка 14:
<syntaxhighlight lang="linux-config">
<syntaxhighlight lang="linux-config">
mailhub=smtp.gmail.com:587
mailhub=smtp.gmail.com:587
AuthUser=robot@contactless.ru
AuthUser=robot@wirenboard.com
AuthPass=qwerty12345
AuthPass=qwerty12345
UseTLS=Yes
UseTLS=Yes
Строка 28: Строка 28:
In case of additional questions, see [http://askubuntu.com/questions/185070/why-i-get-hostname-name-or-service-not-known-error] and [https://wiki.archlinux.org/index.php/SSMTP].
In case of additional questions, see [http://askubuntu.com/questions/185070/why-i-get-hostname-name-or-service-not-known-error] and [https://wiki.archlinux.org/index.php/SSMTP].


<div class="mw-translate-fuzzy">
== Pre-setting for sending SMS==
== = Pre-setting for sending SMS==
Make sure you insert the SIM card and connect the GSM antenna.
Make sure you insert the SIM card and connect the GSM antenna.
== = Configure the notification module==
== Configure the notification module==
#Go to the "Configs - Alarm Configuraion" page of the web interface.
#Go to the "Configs - Alarm Configuraion" page of the web interface.
#Add notification recipients in the "Recipients" section:
#Add notification recipients in the "Recipients" section:
#*press "+ Recipient";
#*press "+ Recipient";
#*select the type ("E-mail" or "SMS"));
#*select the type ("E-mail" or "SMS");
#*enter your postal address or phone number. You can also specify the subject of the email.
#*enter your postal address or phone number. You can also specify the subject of the email.
#Configure the parameter and condition to be checked in the "Alarms" section:
#Configure the parameter and condition to be checked in the "Alarms" section:
#*press "+ Item";
#*press "+ Item";
#*in the section that appears, select one of the four notification types from the drop-down list:
#*in the section that appears, select one of the four notification types from the drop-down list:
#*#"Expected Value Alarm" - notification, if the value is no longer equal to the specified value.
#*# "Expected Value Alarm" - notification, if the value is no longer equal to the specified value.
#*#"Minimum Value Alarm" - notification if the value becomes less than the specified value.
#*#"Minimum Value Alarm" - notification if the value becomes less than the specified value.
#*#"Maximum Value Alarm" - notification if the value becomes greater than the specified value.
#*#"Maximum Value Alarm" - notification if the value becomes greater than the specified value.
Строка 52: Строка 51:
#*if you forget to specify some required parameter, the "Save" button will be inactive, and an error will be written next to the parameter in red, which should be corrected;
#*if you forget to specify some required parameter, the "Save" button will be inactive, and an error will be written next to the parameter in red, which should be corrected;
#*if everything is OK, notifications will start working.
#*if everything is OK, notifications will start working.
</div>


==How to set up notifications with more complex conditions==
==How to set up notifications with more complex conditions==
translator, wb_editors
4268

правок