-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnginx_process_template.xml
More file actions
52 lines (52 loc) · 1.73 KB
/
nginx_process_template.xml
File metadata and controls
52 lines (52 loc) · 1.73 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2022-05-01T00:00:00Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Nginx process</template>
<name>Nginx process</name>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<items>
<item>
<name>Nginx: Number of processes running</name>
<key>proc.num[nginx]</key>
<history>7d</history>
<description>Number of the Nginx processes running.</description>
<triggers>
<trigger>
<expression>"Nginx by Zabbix agent":proc.num[nginx].last()=0</expression>
<name>Nginx: Process is not running</name>
<priority>HIGH</priority>
<tags>
<tag>
<tag>action</tag>
<value>restart</value>
</tag>
</tags>
</trigger>
</triggers>
</item>
</items>
<tags>
<tag>
<tag>class</tag>
<value>software</value>
</tag>
<tag>
<tag>software</tag>
<value>nginx</value>
</tag>
</tags>
</template>
</templates>
</zabbix_export>