How-To Guides
...
Alerts Guides
Create an Email-Alert Based Trigger for Connector Online Status
10 min
in this use case, you'll set up an alert and a trigger for the default mqtt ssl connector in manufacturing connect edge (mc edge) that connects to manufacturing connect then you will simulate a disconnection for the connector to trigger the alert before you begin you will have to enable smtp from the manufacturing connect admin console see email docid\ xg4vtwb4x3rb yadjzt97 to learn more if you haven't yet connected your mc edge instance to manufacturing connect , see activate an edge device docid\ m2du1twvne9kz1he r222 an mc edge instance needs to be activated in manufacturing connect before it can trigger alerts step 1 set up an email alert based trigger in this step you'll create an email notification alert next, you will create a trigger that will use the email notification alert see alerts docid 2zmaxafw8faxd bhwsep6 for additional details from manufacturing connect , navigate to events & alerts and follow the steps below step 1a set up an email alert to set up an email alert from the events & alerts pane, click the add new action icon the add new action dialog box appears from the add new action dialog box, enter the following details action template select email action name enter an action name enter email enter an email address that will receive the alert notifications limit enter 1 interval select minute click add the newly created action appears in the action list step 1b set up a trigger to set up a trigger from the events & alerts pane, click the add new trigger icon the new trigger pane appears from the new trigger pane, configure the following sections trigger name enter a name for the trigger active select the checkbox dashboard select the checkbox description enter a description for the trigger scope select edge device and select the appropriate mc edge instance source select metrics as the source of the trigger click add new rule select alert template select connector online status enter the value 60 for alert delay, seconds action action list select the action you previously created continuously select the checkbox to send notifications continuously notification period, minutes enter 1 when done, click save the alert trigger appears in the trigger list step 2 simulate a disconnection from mc edge, you will simulate a disconnection with manufacturing connect to simulate a disconnection log in to manufacturing connect edge from the navigation panel, select integration the integration pane appears from the generic mqtt ssl tile, click the toggle to disable the connector step 3 verify successful trigger and alert from manufacturing connect , you will verify the simulated disconnection to verify the trigger and alert log in to manufacturing connect the status overview page displays from the navigation panel, navigate to events & alerts > incidents the incidents pane appears review that the incidents display in the list the email address that was configured for the alert will also receive the respective alert email