Creating notifications (v2.0.1 - v2.2.5)

Notifications are intended to inform the user about events occurring in the monitoring system.

To create notification go to "Add" in the upper left corner of the interface, select the needed element.

It is possible to add the following:

  • notification via E-mail "Add Mailer - Email";
  • notification via SNMP trap "Add Mailer - SNMP trap";
  • notification via SMS "Add Mailer - SMS";

Left click on the menu item.  Fill in the form in the window that appears and press "Save".

To test the notification you can press "Send test message".

 

Notification via E-mail

To create notification via e-mail you have to specify the following parameters:

ParameterDescription
NameThe name of the element in the system
SMTP serverName or SMTP server IP address (smtp.gmail.com)
SMTP portSMTP server on the correct port number. (e.g. 25 or 465 )

Login,

Password

SMTP server username and password
Mail fromSender's e-mail address (sky25test@gmail.com)
Mail toRecipient's e-mail address (sky25test@gmail.com)
MessageText of the message

Contact your mail administrator for assistance with configuring SMTP parameters or     the help section of your e-mail provider.


Notification via SNMP Trap

To create notification via e-mail you have to specify the following parameters:

ParameterDescription
NameThe name of the element in the system
SNMP serverName or SNMP server IP address (192.168.1.10)
SNMP portSNMP port (usually 162).
CommunityCommunity name (public)
VersionVersion (v1 or v2c)

Notification via SMS

To create notification via SMS you have to specify the following parameters:

ParameterDescription
NameThe name of the element in the system
Phone numberPhone number of receiver (+421908315000)
MessageText of the message

Attention!  In order for SMS to display correct time, make sure you have set the correct time zone in "Preferences" >> "Network" before sending SMS.   The time zone has to be the same as the time zone of your browser ( Operating system).  See section Creating notifications (v2.0.1 - v2.2.5).

 

Macros in the notification text

The text of the message can include macros.  Macros have the following form:  

%{number of macro}

When notification is created the system replaces the macros variables with actual values.

The following macros are available:


MacroDescription
%1description of the logic scheme that has triggered
%2readings of sensors in the logic scheme
%3logic scheme response time
%4name of logic scheme
%5name of the sensor which triggered the logic scheme
%6state of the sensor in the logic scheme that has triggered
%7the value measured by the sensor or logic level

Example.  If the text has the following form:

%4
--
%1
--
%2
--
%3

When logic is triggered and  the notification is sent, the recipient will see a message in the following form:  

Logic scheme name 
--
if 'S/N iButton'(id=13) in state 'alarm',
then
'Email'(id=302) changes to state 'on' immediately
'Relay-0'(id=31) changes to state 'pulse' immediately
--
'S/N iButton'(id=13) in state 'alarm'
--
12:40:36 2012/01/18


 We recommend to use a more informative form of message, by default it is written in the following form:

Logic %4:
--
Defintion:
%1
Current sensor state:
%2
--
System time: %3