| 135 | Then create a new template to map host based notifications to the script command we created earlier. |
| 136 | |
| 137 | [[Image(Mail-Host-Temp.png, 600px, nolink)]] |
| 138 | |
| 139 | Add another template for service based alerts. |
| 140 | |
| 141 | [[Image(Mail-Service-Temp.png, 600px, nolink)]] |
| 142 | |
| 143 | |
| 144 | === Create Notification === |
| 145 | |
| 146 | Once the templates are created we need to map the to hosts and services individually. |
| 147 | |
| 148 | On the Icinga Director, goto `Notifications` --> `Notifications` and click `Add` |
| 149 | |
| 150 | Create Notificatoins on Host Alerts to Admins by, |
| 151 | |
| 152 | [[Image(Host-Alert-Mail.png, 600px, nolink)]] |
| 153 | |
| 154 | Do the same thing to add a Notification on service alerts. |
| 155 | |
| 156 | [[Image(Host-Alert-Mail.png, 600px, nolink)]] |
| 157 | |
| 158 | Finally, we need to Deploy the changes to get them effected. |
| 159 | |
| 160 | [[Image(Deploy.png, 400px, nolink)]] |