-
Notifications
You must be signed in to change notification settings - Fork 0
/
zbx_ihead_template.xml
73 lines (73 loc) · 2.64 KB
/
zbx_ihead_template.xml
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2021-12-03T08:59:35Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>iHead</template>
<name>iHead</name>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>iHead</name>
</application>
</applications>
<items>
<item>
<name>Баланс {$IHEAD_USERNAME}</name>
<type>EXTERNAL</type>
<key>ihead.sh["{$IHEAD_USERNAME}","{$IHEAD_PASSWORD}"]</key>
<delay>1h</delay>
<history>1d</history>
<trends>0</trends>
<value_type>FLOAT</value_type>
<units>!руб.</units>
<applications>
<application>
<name>iHead</name>
</application>
</applications>
<triggers>
<trigger>
<expression>{last()}<={$IHEAD_LOW}</expression>
<name>Низкий баланс счёта iHead ({$IHEAD_USERNAME})</name>
<priority>HIGH</priority>
<manual_close>YES</manual_close>
<tags>
<tag>
<tag>type</tag>
<value>PAYMENT</value>
</tag>
</tags>
</trigger>
</triggers>
</item>
</items>
<macros>
<macro>
<macro>{$IHEAD_LOW}</macro>
<value>-10000</value>
<description>Порог баланса</description>
</macro>
<macro>
<macro>{$IHEAD_PASSWORD}</macro>
<type>SECRET_TEXT</type>
<description>Пароль</description>
</macro>
<macro>
<macro>{$IHEAD_USERNAME}</macro>
<description>Имя пользователя</description>
</macro>
</macros>
</template>
</templates>
</zabbix_export>