= Sending Notifications and Alerts using LibreNMS. = When a specific event occurs (eg: Link Down) NMS should be able to send administrators some notifications. On LibreNMS this is done by creating different Transports and Alerting Rules. Transports are the mechanism on how LibreNMS should send the alerts (may be by Email, by some API etc.), where Alerting Rules specify when and to whom to send those alerts. == Alert Transports == We need to specify which transport we are going to use. On your UI, Go to `Alerts` --> `Alert Transports` === Email Transport === Email transports needs to be created per email basis. If you need two emails to be notified, You have to create two transports. Go to `Create Alert Transport` * Transport Name: `Email to ` * Transport type: `Mail` * Default Alert: `Off` * Email: `` Once you save the transport it should see like the following. [[Image(email_transport.png, 800px, nolink)]] Repeat the same for the second Email Address if you have any. ---- For Email Transports to Work, you need to setup email server details for LibreNMS. Since we haven't installed a public email server, lets use GMAIL as the smtp server. Log in to `https://myaccount.google.com` with any of your personal gmail accounts. Goto `Security` --> `Less secure app access` Enable `Allow less secure apps` Next, on your LibreNMS installation, Goto `Settings Wheel` --> `Global Settings` --> `Alerting` --> `Email Options` and include gmail settings as per following. [[Image(LibreNMS_Email.png, 800px, nolink)]] Now go back to the Alert Transport page and click [[Image(Test_transport.png, 25px, nolink, bottom)]] in front of your transports and check whether you received a test mail to your email account/s. === Slack Tranport === === Telegram Transport ===