Created
August 19, 2013 22:10
-
-
Save mikekunze/6274778 to your computer and use it in GitHub Desktop.
This is an example jade template body for a Nagios Service Alert E-Mail.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extends layout.jade | |
block content | |
include nav-bar-email | |
.container-fluid | |
.row-fluid | |
.span12 | |
.well | |
i.icon-warning-sign.icon-4x.pull-right | |
b | |
p.lead Nagios Alert for #{hostname} | |
hr | |
.container-fluid | |
.row-fluid | |
.span3 | |
label.label Hostname: | |
.span9 | |
span #{hostname} | |
if service | |
.row-fluid | |
.span3 | |
label.label service: | |
.span9 | |
span #{service} | |
.row-fluid | |
.span3 | |
label.label ip: | |
.span9 | |
span #{ip} | |
.row-fluid | |
.span3 | |
label.label notify: | |
.span9 | |
span #{notify_type} | |
.row-fluid | |
.span3 | |
label.label status: | |
.span9 | |
span #{status} | |
.row-fluid | |
.span3 | |
label.label date: | |
.span9 | |
span #{date} | |
.row-fluid | |
.span3 | |
label.label output: | |
.span9 | |
span #{output} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment