blob: e7cc667cb5281012b0314e16b19e118b7f0ac3e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
---
g_template_host:
params:
name: Template Host
host: Template Host
groups:
- groupid: 1 # FIXME (not real)
output: extend
search:
name: Template Host
zitems:
- name: Host Ping
hostid:
key_: host.ping
type: 2
value_type: 0
output: extend
search:
key_: host.ping
ztriggers:
- description: 'Host ping has failed on {HOST.NAME}'
expression: '{Template Host:host.ping.last()}<>0'
priority: 3
searchWildcardsEnabled: True
search:
description: 'Host ping has failed on*'
expandExpression: True
|