blob: 48d4315f4e97d4227bd23ea3dac9b9d3f29e81fa (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>4.4</version>
<date>2020-01-01T00:00:00Z</date>
<media_types>
<media_type>
<name>Email</name>
<type>EMAIL</type>
<smtp_server>mail.example.com</smtp_server>
<smtp_helo>example.com</smtp_helo>
<smtp_email>zabbix@example.com</smtp_email>
</media_type>
<media_type>
<name>Script</name>
<type>SCRIPT</type>
<script_name>script.sh</script_name>
</media_type>
<media_type>
<name>SMS</name>
<type>SMS</type>
<gsm_modem>/dev/ttyS0</gsm_modem>
</media_type>
<media_type>
<name>Webhook</name>
<type>WEBHOOK</type>
<parameters>
<parameter>
<name>URL</name>
<value/>
</parameter>
<parameter>
<name>To</name>
<value>{ALERT.SENDTO}</value>
</parameter>
<parameter>
<name>Subject</name>
<value>{ALERT.SUBJECT}</value>
</parameter>
<parameter>
<name>Message</name>
<value>{ALERT.MESSAGE}</value>
</parameter>
</parameters>
<script>return true;</script>
</media_type>
</media_types>
</zabbix_export>
|