Move Jinja templates to files
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
690b0db332
commit
38c14b940c
4 changed files with 25 additions and 22 deletions
7
templates/host.md.j2
Normal file
7
templates/host.md.j2
Normal file
|
@ -0,0 +1,7 @@
|
|||
\*\*\*\*\* Nagios \*\*\*\*\*
|
||||
*Notification Type:* {{notification_type}}
|
||||
*Host:* {{host_name}}
|
||||
*State:* {{host_state}}
|
||||
*Address:* {{host_address}}
|
||||
*Info:* {{host_output}}
|
||||
*Date/Time:* {{long_date_time}}
|
9
templates/service.md.j2
Normal file
9
templates/service.md.j2
Normal file
|
@ -0,0 +1,9 @@
|
|||
\*\*\*\*\* Nagios \*\*\*\*\*
|
||||
*Notification Type:* {{notification_type}}
|
||||
*Service:* {{service_desc}}
|
||||
*Host:* {{host_alias}}
|
||||
*Address:* {{host_address}}
|
||||
*State:* {{service_state}}
|
||||
*Date/Time:* {{long_date_time}}
|
||||
*Additional Info:*
|
||||
{{service_output}}
|
Loading…
Add table
Add a link
Reference in a new issue