add /update templates (#1)

Reviewed-on: #1
Reviewed-by: muppeth <muppeth@no-reply@disroot.org>
Co-authored-by: meaz <meaz@disroot.org>
Co-committed-by: meaz <meaz@disroot.org>
This commit is contained in:
meaz 2023-10-26 06:52:43 +00:00 committed by meaz
parent 2c0d411f7c
commit e4fb80510e
26 changed files with 10496 additions and 276 deletions

1639
MySQL by Zabbix agent.yaml Normal file

File diff suppressed because it is too large Load Diff

606
Nginx by Zabbix agent.yaml Normal file
View File

@ -0,0 +1,606 @@
zabbix_export:
version: '6.4'
template_groups:
- uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6
name: Templates/Applications
templates:
- uuid: 27f6424905884dbb96ab9210d987a56c
template: 'Nginx by Zabbix agent'
name: 'Nginx by Zabbix agent'
description: |
Get metrics from stub status module using Zabbix agent running on Linux
https://nginx.ru/en/docs/http/ngx_http_stub_status_module.html
You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/384765-discussion-thread-for-official-zabbix-template-nginx
Template tooling version used: 0.42
vendor:
name: Zabbix
version: 6.4-0
groups:
- name: Templates/Applications
items:
- uuid: 75a7795df3034835bcfd143f7c3e9b94
name: 'Nginx: Service response time'
key: 'net.tcp.service.perf[http,"{$NGINX.STUB_STATUS.HOST}","{$NGINX.STUB_STATUS.PORT}"]'
history: 7d
value_type: FLOAT
units: s
tags:
- tag: component
value: application
- tag: component
value: health
- uuid: f06e76888f464e13b7cc4c3db33e8131
name: 'Nginx: Service status'
key: 'net.tcp.service[http,"{$NGINX.STUB_STATUS.HOST}","{$NGINX.STUB_STATUS.PORT}"]'
history: 7d
valuemap:
name: 'Service state'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 10m
tags:
- tag: component
value: application
- tag: component
value: health
- uuid: 9e2be446ac79491c8be1bcd789392066
name: 'Nginx: Connections accepted per second'
type: DEPENDENT
key: nginx.connections.accepted.rate
delay: '0'
history: 7d
value_type: FLOAT
description: 'The total number of accepted client connections.'
preprocessing:
- type: REGEX
parameters:
- 'server accepts handled requests\s+([0-9]+) ([0-9]+) ([0-9]+)'
- \1
- type: CHANGE_PER_SECOND
parameters:
- ''
master_item:
key: 'web.page.get["{$NGINX.STUB_STATUS.HOST}","{$NGINX.STUB_STATUS.PATH}","{$NGINX.STUB_STATUS.PORT}"]'
tags:
- tag: component
value: connections
- uuid: 436f2dc87cda418eb8f19ed6910c7bd0
name: 'Nginx: Connections active'
type: DEPENDENT
key: nginx.connections.active
delay: '0'
history: 7d
description: 'The current number of active client connections including waiting connections.'
preprocessing:
- type: REGEX
parameters:
- 'Active connections: ([0-9]+)'
- \1
master_item:
key: 'web.page.get["{$NGINX.STUB_STATUS.HOST}","{$NGINX.STUB_STATUS.PATH}","{$NGINX.STUB_STATUS.PORT}"]'
tags:
- tag: component
value: connections
- uuid: 4027e6db5e024aff98056faa2d4b43cd
name: 'Nginx: Connections dropped per second'
type: DEPENDENT
key: nginx.connections.dropped.rate
delay: '0'
history: 7d
value_type: FLOAT
description: 'The total number of dropped client connections.'
preprocessing:
- type: JAVASCRIPT
parameters:
- |
var a = value.match(/server accepts handled requests\s+([0-9]+) ([0-9]+) ([0-9]+)/)
if (a) {
return a[1]-a[2]
}
- type: CHANGE_PER_SECOND
parameters:
- ''
master_item:
key: 'web.page.get["{$NGINX.STUB_STATUS.HOST}","{$NGINX.STUB_STATUS.PATH}","{$NGINX.STUB_STATUS.PORT}"]'
tags:
- tag: component
value: connections
- uuid: 06191636a7104e1bb40d197493b80958
name: 'Nginx: Connections handled per second'
type: DEPENDENT
key: nginx.connections.handled.rate
delay: '0'
history: 7d
value_type: FLOAT
description: 'The total number of handled connections. Generally, the parameter value is the same as for the accepted connections, unless some resource limits have been reached (for example, the `worker_connections limit`).'
preprocessing:
- type: REGEX
parameters:
- 'server accepts handled requests\s+([0-9]+) ([0-9]+) ([0-9]+)'
- \2
- type: CHANGE_PER_SECOND
parameters:
- ''
master_item:
key: 'web.page.get["{$NGINX.STUB_STATUS.HOST}","{$NGINX.STUB_STATUS.PATH}","{$NGINX.STUB_STATUS.PORT}"]'
tags:
- tag: component
value: connections
- uuid: f5925c78389143c7924432483a5c716c
name: 'Nginx: Connections reading'
type: DEPENDENT
key: nginx.connections.reading
delay: '0'
history: 7d
description: 'The current number of connections where Nginx is reading the request header.'
preprocessing:
- type: REGEX
parameters:
- 'Reading: ([0-9]+) Writing: ([0-9]+) Waiting: ([0-9]+)'
- \1
master_item:
key: 'web.page.get["{$NGINX.STUB_STATUS.HOST}","{$NGINX.STUB_STATUS.PATH}","{$NGINX.STUB_STATUS.PORT}"]'
tags:
- tag: component
value: connections
- uuid: d6cfa828ba344ffe948d8d985b849316
name: 'Nginx: Connections waiting'
type: DEPENDENT
key: nginx.connections.waiting
delay: '0'
history: 7d
description: 'The current number of idle client connections waiting for a request.'
preprocessing:
- type: REGEX
parameters:
- 'Reading: ([0-9]+) Writing: ([0-9]+) Waiting: ([0-9]+)'
- \3
master_item:
key: 'web.page.get["{$NGINX.STUB_STATUS.HOST}","{$NGINX.STUB_STATUS.PATH}","{$NGINX.STUB_STATUS.PORT}"]'
tags:
- tag: component
value: connections
- uuid: c038a572f73f4a418ddcc5aeb8b0a547
name: 'Nginx: Connections writing'
type: DEPENDENT
key: nginx.connections.writing
delay: '0'
history: 7d
description: 'The current number of connections where Nginx is writing a response back to the client.'
preprocessing:
- type: REGEX
parameters:
- 'Reading: ([0-9]+) Writing: ([0-9]+) Waiting: ([0-9]+)'
- \2
master_item:
key: 'web.page.get["{$NGINX.STUB_STATUS.HOST}","{$NGINX.STUB_STATUS.PATH}","{$NGINX.STUB_STATUS.PORT}"]'
tags:
- tag: component
value: connections
- uuid: b28444fb9b834d03a72036882c80b921
name: 'Nginx: Requests total'
type: DEPENDENT
key: nginx.requests.total
delay: '0'
history: 7d
description: 'The total number of client requests.'
preprocessing:
- type: REGEX
parameters:
- 'server accepts handled requests\s+([0-9]+) ([0-9]+) ([0-9]+)'
- \3
master_item:
key: 'web.page.get["{$NGINX.STUB_STATUS.HOST}","{$NGINX.STUB_STATUS.PATH}","{$NGINX.STUB_STATUS.PORT}"]'
tags:
- tag: component
value: requests
- uuid: 2600a696278f490f86cadd8c8836f269
name: 'Nginx: Requests per second'
type: DEPENDENT
key: nginx.requests.total.rate
delay: '0'
history: 7d
value_type: FLOAT
description: 'The total number of client requests.'
preprocessing:
- type: REGEX
parameters:
- 'server accepts handled requests\s+([0-9]+) ([0-9]+) ([0-9]+)'
- \3
- type: CHANGE_PER_SECOND
parameters:
- ''
master_item:
key: 'web.page.get["{$NGINX.STUB_STATUS.HOST}","{$NGINX.STUB_STATUS.PATH}","{$NGINX.STUB_STATUS.PORT}"]'
tags:
- tag: component
value: requests
- uuid: 3dcc81006977478f92be6dd040d66eb5
name: 'Nginx: Version'
type: DEPENDENT
key: nginx.version
delay: '0'
history: 7d
trends: '0'
status: DISABLED
value_type: CHAR
preprocessing:
- type: REGEX
parameters:
- 'Server: nginx\/(.+(?<!\r))'
- \1
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1d
master_item:
key: 'web.page.get["{$NGINX.STUB_STATUS.HOST}","{$NGINX.STUB_STATUS.PATH}","{$NGINX.STUB_STATUS.PORT}"]'
tags:
- tag: component
value: application
triggers:
- uuid: 7ad80c508f2f48b59f7659c673db9f36
expression: 'last(/Nginx by Zabbix agent/nginx.version,#1)<>last(/Nginx by Zabbix agent/nginx.version,#2) and length(last(/Nginx by Zabbix agent/nginx.version))>0'
name: 'Nginx: Version has changed'
event_name: 'Nginx: Version has changed (new version: {ITEM.VALUE})'
priority: INFO
description: 'The Nginx version has changed. Acknowledge (Ack) to close manually.'
manual_close: 'YES'
tags:
- tag: scope
value: notice
- uuid: d43b4b99b6084076a4feb1fde51ecc40
name: 'Nginx: Get processes summary'
key: 'proc.get[,,,summary]'
history: 0d
trends: '0'
value_type: TEXT
description: 'The aggregated data of summary metrics for all processes.'
tags:
- tag: component
value: raw
- uuid: 52a23a9f6d60490c8f5565b938154f61
name: 'Nginx: Get stub status page'
key: 'web.page.get["{$NGINX.STUB_STATUS.HOST}","{$NGINX.STUB_STATUS.PATH}","{$NGINX.STUB_STATUS.PORT}"]'
history: 1h
trends: '0'
value_type: TEXT
description: |
The following status information is provided:
`Active connections` - the current number of active client connections including waiting connections.
`Accepted` - the total number of accepted client connections.
`Handled` - the total number of handled connections. Generally, the parameter value is the same as for the accepted connections, unless some resource limits have been reached (for example, the `worker_connections` limit).
`Requests` - the total number of client requests.
`Reading` - the current number of connections where Nginx is reading the request header.
`Writing` - the current number of connections where Nginx is writing a response back to the client.
`Waiting` - the current number of idle client connections waiting for a request.
See also [Module ngx_http_stub_status_module](https://nginx.org/en/docs/http/ngx_http_stub_status_module.html).
tags:
- tag: component
value: application
- tag: component
value: health
discovery_rules:
- uuid: f4a898f929c54b3493506e68703fa2cc
name: 'Nginx process discovery'
type: DEPENDENT
key: nginx.proc.discovery
delay: '0'
filter:
evaltype: AND
conditions:
- macro: '{#NAME}'
value: '{$NGINX.PROCESS_NAME}'
formulaid: A
description: 'The discovery of Nginx process summary.'
item_prototypes:
- uuid: 632e441011674f04886096475180dcbb
name: 'Nginx: Get process data'
type: DEPENDENT
key: 'nginx.proc.get[{#NAME}]'
delay: '0'
history: 0d
trends: '0'
value_type: TEXT
description: 'The summary metrics aggregated by a process {#NAME}.'
preprocessing:
- type: JSONPATH
parameters:
- '$.[?(@["name"]=="{#NAME}")].first()'
error_handler: CUSTOM_VALUE
error_handler_params: 'Failed to retrieve process {#NAME} data'
master_item:
key: 'proc.get[,,,summary]'
tags:
- tag: component
value: raw
- uuid: ba3da6baccee4b31947bf20d3cae0e5f
name: 'Nginx: Number of running processes'
type: DEPENDENT
key: 'nginx.proc.num[{#NAME}]'
delay: '0'
history: 7d
description: 'The number of running processes {#NAME}.'
preprocessing:
- type: JSONPATH
parameters:
- $.processes
error_handler: CUSTOM_VALUE
error_handler_params: '0'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1h
master_item:
key: 'nginx.proc.get[{#NAME}]'
tags:
- tag: component
value: system
trigger_prototypes:
- uuid: 903e6a1f30154ee49df3f8d87e0164cc
expression: 'last(/Nginx by Zabbix agent/nginx.proc.num[{#NAME}])=0'
name: 'Nginx: Process is not running'
priority: HIGH
tags:
- tag: scope
value: availability
- uuid: 5887d0062bed4233a03d4f408fac7163
name: 'Nginx: Memory usage, %'
type: DEPENDENT
key: 'nginx.proc.pmem[{#NAME}]'
delay: '0'
history: 7d
value_type: FLOAT
units: '%'
description: 'The percentage of real memory used by a process {#NAME}.'
preprocessing:
- type: JSONPATH
parameters:
- $.pmem
error_handler: DISCARD_VALUE
master_item:
key: 'nginx.proc.get[{#NAME}]'
tags:
- tag: component
value: memory
- uuid: 64d208475c034bae953a64cde1833ebb
name: 'Nginx: Memory usage (rss)'
type: DEPENDENT
key: 'nginx.proc.rss[{#NAME}]'
delay: '0'
history: 7d
units: B
description: 'The summary of resident set size memory used by a process {#NAME} expressed in bytes.'
preprocessing:
- type: JSONPATH
parameters:
- $.rss
error_handler: DISCARD_VALUE
master_item:
key: 'nginx.proc.get[{#NAME}]'
tags:
- tag: component
value: memory
- uuid: 21fccb0286fb407c85f1972e994c698e
name: 'Nginx: Memory usage (vsize)'
type: DEPENDENT
key: 'nginx.proc.vmem[{#NAME}]'
delay: '0'
history: 7d
units: B
description: 'The summary of virtual memory used by a process {#NAME} expressed in bytes.'
preprocessing:
- type: JSONPATH
parameters:
- $.vsize
error_handler: DISCARD_VALUE
master_item:
key: 'nginx.proc.get[{#NAME}]'
tags:
- tag: component
value: memory
- uuid: 84c95c1955bf4ccaa12a060a9acdb478
name: 'Nginx: CPU utilization'
key: 'proc.cpu.util[{#NAME}]'
history: 7d
value_type: FLOAT
units: '%'
description: 'The percentage of the CPU utilization by a process {#NAME}.'
tags:
- tag: component
value: cpu
trigger_prototypes:
- uuid: a497b80eb03f469c9552881b498003b2
expression: |
(find(/Nginx by Zabbix agent/web.page.get["{$NGINX.STUB_STATUS.HOST}","{$NGINX.STUB_STATUS.PATH}","{$NGINX.STUB_STATUS.PORT}"],,"like","HTTP/1.1 200")=0 or
nodata(/Nginx by Zabbix agent/web.page.get["{$NGINX.STUB_STATUS.HOST}","{$NGINX.STUB_STATUS.PATH}","{$NGINX.STUB_STATUS.PORT}"],30m)) and last(/Nginx by Zabbix agent/nginx.proc.num[{#NAME}])>0
name: 'Nginx: Failed to fetch stub status page'
event_name: 'Nginx: Failed to fetch stub status page (or no data for 30m)'
priority: WARNING
description: 'Zabbix has not received any data for items for the last 30 minutes.'
manual_close: 'YES'
dependencies:
- name: 'Nginx: Service is down'
expression: 'last(/Nginx by Zabbix agent/net.tcp.service[http,"{$NGINX.STUB_STATUS.HOST}","{$NGINX.STUB_STATUS.PORT}"])=0 and last(/Nginx by Zabbix agent/nginx.proc.num[{#NAME}])>0'
tags:
- tag: scope
value: availability
- uuid: f2d431fa9bc446608caa3f80ef27c41b
expression: 'min(/Nginx by Zabbix agent/nginx.connections.dropped.rate,5m) > {$NGINX.DROP_RATE.MAX.WARN} and last(/Nginx by Zabbix agent/nginx.proc.num[{#NAME}])>0'
name: 'Nginx: High connections drop rate'
event_name: 'Nginx: High connections drop rate (more than {$NGINX.DROP_RATE.MAX.WARN} for 5m)'
opdata: 'Current rate: {ITEM.LASTVALUE1}'
priority: WARNING
description: 'The rate of dropping connections has been greater than {$NGINX.DROP_RATE.MAX.WARN} for the last 5 minutes.'
dependencies:
- name: 'Nginx: Service is down'
expression: 'last(/Nginx by Zabbix agent/net.tcp.service[http,"{$NGINX.STUB_STATUS.HOST}","{$NGINX.STUB_STATUS.PORT}"])=0 and last(/Nginx by Zabbix agent/nginx.proc.num[{#NAME}])>0'
tags:
- tag: scope
value: performance
- uuid: c043191c22f34522ba4f83430d9f88b1
expression: 'last(/Nginx by Zabbix agent/net.tcp.service[http,"{$NGINX.STUB_STATUS.HOST}","{$NGINX.STUB_STATUS.PORT}"])=0 and last(/Nginx by Zabbix agent/nginx.proc.num[{#NAME}])>0'
name: 'Nginx: Service is down'
priority: AVERAGE
manual_close: 'YES'
tags:
- tag: scope
value: availability
- uuid: f5db329410a14609a5f3e883ca493cc8
expression: 'min(/Nginx by Zabbix agent/net.tcp.service.perf[http,"{$NGINX.STUB_STATUS.HOST}","{$NGINX.STUB_STATUS.PORT}"],5m)>{$NGINX.RESPONSE_TIME.MAX.WARN} and last(/Nginx by Zabbix agent/nginx.proc.num[{#NAME}])>0'
name: 'Nginx: Service response time is too high'
event_name: 'Nginx: Service response time is too high (over {$NGINX.RESPONSE_TIME.MAX.WARN}s for 5m)'
priority: WARNING
manual_close: 'YES'
dependencies:
- name: 'Nginx: Service is down'
expression: 'last(/Nginx by Zabbix agent/net.tcp.service[http,"{$NGINX.STUB_STATUS.HOST}","{$NGINX.STUB_STATUS.PORT}"])=0 and last(/Nginx by Zabbix agent/nginx.proc.num[{#NAME}])>0'
tags:
- tag: scope
value: performance
graph_prototypes:
- uuid: 69ca908afa1d468d983a263d06910925
name: 'Nginx: Memory usage[{#NAME}]'
graph_items:
- drawtype: BOLD_LINE
color: 1A7C11
item:
host: 'Nginx by Zabbix agent'
key: 'nginx.proc.vmem[{#NAME}]'
- sortorder: '1'
drawtype: BOLD_LINE
color: 2774A4
item:
host: 'Nginx by Zabbix agent'
key: 'nginx.proc.rss[{#NAME}]'
master_item:
key: 'proc.get[,,,summary]'
lld_macro_paths:
- lld_macro: '{#NAME}'
path: $.name
tags:
- tag: class
value: software
- tag: target
value: nginx
macros:
- macro: '{$NGINX.DROP_RATE.MAX.WARN}'
value: '1'
description: 'The critical rate of the dropped connections for a trigger expression.'
- macro: '{$NGINX.PROCESS_NAME}'
value: nginx
description: 'The process name of the Nginx server.'
- macro: '{$NGINX.RESPONSE_TIME.MAX.WARN}'
value: '10'
description: 'The maximum response time of Nginx expressed in seconds for a trigger expression.'
- macro: '{$NGINX.STUB_STATUS.HOST}'
value: 0.0.0.0
description: 'The Hostname or an IP addess of the Nginx host or Nginx container of `astub_status`.'
- macro: '{$NGINX.STUB_STATUS.PATH}'
value: basic_status
description: 'The path of the `Nginx stub_status` page.'
- macro: '{$NGINX.STUB_STATUS.PORT}'
value: '10061'
description: 'The port of the `Nginx stub_status` host or container.'
dashboards:
- uuid: 9d071e3a148c405e85c53ef25d54efaf
name: 'Nginx performance'
pages:
- widgets:
- type: graph
width: '12'
height: '5'
fields:
- type: INTEGER
name: source_type
value: '0'
- type: GRAPH
name: graphid
value:
host: 'Nginx by Zabbix agent'
name: 'Nginx: Connections by state'
- type: graph
x: '12'
width: '12'
height: '5'
fields:
- type: INTEGER
name: source_type
value: '0'
- type: GRAPH
name: graphid
value:
host: 'Nginx by Zabbix agent'
name: 'Nginx: Requests per second'
- type: graph
'y': '5'
width: '12'
height: '5'
fields:
- type: INTEGER
name: source_type
value: '0'
- type: GRAPH
name: graphid
value:
host: 'Nginx by Zabbix agent'
name: 'Nginx: Connections per second'
valuemaps:
- uuid: 53c8528c18814f30a45d1540ab9e5c00
name: 'Service state'
mappings:
- value: '0'
newvalue: Down
- value: '1'
newvalue: Up
graphs:
- uuid: ba234158aeca468a8592d944f9aae691
name: 'Nginx: Connections by state'
graph_items:
- drawtype: BOLD_LINE
color: 1A7C11
item:
host: 'Nginx by Zabbix agent'
key: nginx.connections.active
- sortorder: '1'
color: 2774A4
item:
host: 'Nginx by Zabbix agent'
key: nginx.connections.waiting
- sortorder: '2'
color: F63100
item:
host: 'Nginx by Zabbix agent'
key: nginx.connections.writing
- sortorder: '3'
color: A54F10
item:
host: 'Nginx by Zabbix agent'
key: nginx.connections.reading
- uuid: b82a5b89864a47638421458f3e74563d
name: 'Nginx: Connections per second'
graph_items:
- color: 1A7C11
item:
host: 'Nginx by Zabbix agent'
key: nginx.connections.accepted.rate
- sortorder: '1'
color: 2774A4
item:
host: 'Nginx by Zabbix agent'
key: nginx.connections.handled.rate
- sortorder: '2'
color: F63100
item:
host: 'Nginx by Zabbix agent'
key: nginx.connections.dropped.rate
- uuid: a2d2fec823514df09731381304c245e9
name: 'Nginx: Requests per second'
graph_items:
- drawtype: GRADIENT_LINE
color: 1A7C11
item:
host: 'Nginx by Zabbix agent'
key: nginx.requests.total.rate

View File

@ -0,0 +1,647 @@
zabbix_export:
version: '6.4'
template_groups:
- uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6
name: Templates/Applications
templates:
- uuid: 1cbda0970410435684135884d0cb7090
template: 'PHP-FPM by Zabbix agent'
name: 'PHP-FPM by Zabbix agent'
description: |
Get PHP-FPM metrics using Zabbix agent running on Linux.
Template tooling version used: 0.42
vendor:
name: Zabbix
version: 6.4-0
groups:
- name: Templates/Applications
items:
- uuid: 9ae9e2a8003a48a7a482ef6d6ae9886c
name: 'PHP-FPM: Accepted connections per second'
type: DEPENDENT
key: php-fpm.conn_accepted.rate
delay: '0'
history: 7d
value_type: FLOAT
description: 'The number of accepted requests per second.'
preprocessing:
- type: JSONPATH
parameters:
- '$.[''accepted conn'']'
- type: CHANGE_PER_SECOND
parameters:
- ''
master_item:
key: 'web.page.get["{$PHP_FPM.HOST}","{$PHP_FPM.STATUS.PAGE}?json","{$PHP_FPM.PORT}"]'
tags:
- tag: component
value: connections
- uuid: edc6b68194fe499facfb6b22425ff0d4
name: 'PHP-FPM: Listen queue'
type: DEPENDENT
key: php-fpm.listen_queue
delay: '0'
history: 7d
description: 'The current number of connections that have been initiated but not yet accepted.'
preprocessing:
- type: JSONPATH
parameters:
- '$.[''listen queue'']'
master_item:
key: 'web.page.get["{$PHP_FPM.HOST}","{$PHP_FPM.STATUS.PAGE}?json","{$PHP_FPM.PORT}"]'
tags:
- tag: component
value: listen-queue
- uuid: aff9f072b06a4b56afb0e0f44b2c83a4
name: 'PHP-FPM: Listen queue, len'
type: DEPENDENT
key: php-fpm.listen_queue_len
delay: '0'
history: 7d
description: 'The size of the socket queue of pending connections.'
preprocessing:
- type: JSONPATH
parameters:
- '$.[''listen queue len'']'
master_item:
key: 'web.page.get["{$PHP_FPM.HOST}","{$PHP_FPM.STATUS.PAGE}?json","{$PHP_FPM.PORT}"]'
tags:
- tag: component
value: listen-queue
- uuid: de0a543bee5a46c88085b2aba2f4976f
name: 'PHP-FPM: Listen queue, max'
type: DEPENDENT
key: php-fpm.listen_queue_max
delay: '0'
history: 7d
description: 'The maximum number of requests in the queue of pending connections since this FPM pool was started.'
preprocessing:
- type: JSONPATH
parameters:
- '$.[''max listen queue'']'
master_item:
key: 'web.page.get["{$PHP_FPM.HOST}","{$PHP_FPM.STATUS.PAGE}?json","{$PHP_FPM.PORT}"]'
tags:
- tag: component
value: listen-queue
- uuid: dfabcd55c13449c29a48b70fdce77674
name: 'PHP-FPM: Queue usage'
type: CALCULATED
key: php-fpm.listen_queue_usage
history: 7d
value_type: FLOAT
units: '%'
params: 'last(//php-fpm.listen_queue)/(last(//php-fpm.listen_queue_len)+(last(//php-fpm.listen_queue_len)=0))*100'
description: 'The utilization of the queue.'
tags:
- tag: component
value: application
triggers:
- uuid: a11264f0e1174b7fb81b457dad1a745f
expression: 'min(/PHP-FPM by Zabbix agent/php-fpm.listen_queue_usage,15m) > {$PHP_FPM.QUEUE.WARN.MAX}'
name: 'PHP-FPM: Queue utilization is high'
event_name: 'PHP-FPM: Queue utilization is high (over {$PHP_FPM.QUEUE.WARN.MAX}% for 15m)'
priority: WARNING
description: 'The queue for this pool has reached `{$PHP_FPM.QUEUE.WARN.MAX}%` of its maximum capacity. Items in the queue represent the current number of connections that have been initiated on this pool but not yet accepted.'
tags:
- tag: scope
value: capacity
- uuid: e9d49669cf58492a9d5ef7ff997e1a40
name: 'PHP-FPM: Max children reached'
type: DEPENDENT
key: php-fpm.max_children
delay: '0'
history: 7d
description: 'The number of times that `pm.max_children` has been reached since the PHP-FPM pool was started.'
preprocessing:
- type: JSONPATH
parameters:
- '$.[''max children reached'']'
- type: SIMPLE_CHANGE
parameters:
- ''
master_item:
key: 'web.page.get["{$PHP_FPM.HOST}","{$PHP_FPM.STATUS.PAGE}?json","{$PHP_FPM.PORT}"]'
tags:
- tag: component
value: application
- uuid: 830e04be30f04e50ac0fa4783ecdc677
name: 'PHP-FPM: Pool name'
type: DEPENDENT
key: php-fpm.name
delay: '0'
history: 7d
trends: '0'
value_type: CHAR
description: 'The name of the current pool.'
preprocessing:
- type: JSONPATH
parameters:
- $.pool
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 3h
master_item:
key: 'web.page.get["{$PHP_FPM.HOST}","{$PHP_FPM.STATUS.PAGE}?json","{$PHP_FPM.PORT}"]'
tags:
- tag: component
value: application
- uuid: 250f346008984a95829dba08d0f95838
name: 'PHP-FPM: Ping'
type: DEPENDENT
key: php-fpm.ping
delay: '0'
history: 7d
valuemap:
name: 'Service state'
preprocessing:
- type: REGEX
parameters:
- '{$PHP_FPM.PING.REPLY}($|\r?\n)'
- '1'
error_handler: CUSTOM_VALUE
error_handler_params: '0'
master_item:
key: 'web.page.get["{$PHP_FPM.HOST}","{$PHP_FPM.PING.PAGE}","{$PHP_FPM.PORT}"]'
tags:
- tag: component
value: health
- uuid: 8ebee5fc8c854a96b34ed743e3dd0154
name: 'PHP-FPM: Processes, active'
type: DEPENDENT
key: php-fpm.processes_active
delay: '0'
history: 7d
description: 'The total number of active processes.'
preprocessing:
- type: JSONPATH
parameters:
- '$.[''active processes'']'
master_item:
key: 'web.page.get["{$PHP_FPM.HOST}","{$PHP_FPM.STATUS.PAGE}?json","{$PHP_FPM.PORT}"]'
tags:
- tag: component
value: system
- uuid: 11cfd028325242a58d61d9e83aee640b
name: 'PHP-FPM: Processes, idle'
type: DEPENDENT
key: php-fpm.processes_idle
delay: '0'
history: 7d
description: 'The total number of idle processes.'
preprocessing:
- type: JSONPATH
parameters:
- '$.[''idle processes'']'
master_item:
key: 'web.page.get["{$PHP_FPM.HOST}","{$PHP_FPM.STATUS.PAGE}?json","{$PHP_FPM.PORT}"]'
tags:
- tag: component
value: system
- uuid: 3858218f90684bb19cbe27fc9aedf404
name: 'PHP-FPM: Processes, max active'
type: DEPENDENT
key: php-fpm.processes_max_active
delay: '0'
history: 7d
description: 'The highest value of "active processes" since the PHP-FPM server was started.'
preprocessing:
- type: JSONPATH
parameters:
- '$.[''max active processes'']'
master_item:
key: 'web.page.get["{$PHP_FPM.HOST}","{$PHP_FPM.STATUS.PAGE}?json","{$PHP_FPM.PORT}"]'
tags:
- tag: component
value: application
- uuid: a79af6cf38ec45518055c64aa7f1f5a2
name: 'PHP-FPM: Processes, total'
type: DEPENDENT
key: php-fpm.processes_total
delay: '0'
history: 7d
description: 'The total number of server processes running currently.'
preprocessing:
- type: JSONPATH
parameters:
- '$.[''total processes'']'
master_item:
key: 'web.page.get["{$PHP_FPM.HOST}","{$PHP_FPM.STATUS.PAGE}?json","{$PHP_FPM.PORT}"]'
tags:
- tag: component
value: system
- uuid: 5ab12fc9f4ef49e5bbf7b2c6a840879e
name: 'PHP-FPM: Process manager'
type: DEPENDENT
key: php-fpm.process_manager
delay: '0'
history: 7d
trends: '0'
value_type: CHAR
description: 'The method used by the process manager to control the number of child processes for this pool.'
preprocessing:
- type: JSONPATH
parameters:
- '$.[''process manager'']'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 3h
master_item:
key: 'web.page.get["{$PHP_FPM.HOST}","{$PHP_FPM.STATUS.PAGE}?json","{$PHP_FPM.PORT}"]'
tags:
- tag: component
value: application
triggers:
- uuid: 231e0fbfb6e94f34b790576766244602
expression: 'last(/PHP-FPM by Zabbix agent/php-fpm.process_manager,#1)<>last(/PHP-FPM by Zabbix agent/php-fpm.process_manager,#2)'
name: 'PHP-FPM: Manager changed'
event_name: 'PHP-FPM: Manager changed (new value received: {ITEM.VALUE})'
priority: INFO
description: 'The PHP-FPM manager has changed. `Ack` to close manually.'
manual_close: 'YES'
tags:
- tag: scope
value: notice
- uuid: 4d17b6d89ac94d0880eac6962ebf7347
name: 'PHP-FPM: Slow requests'
type: DEPENDENT
key: php-fpm.slow_requests
delay: '0'
history: 7d
description: 'The number of requests that has exceeded your `request_slowlog_timeout` value.'
preprocessing:
- type: JSONPATH
parameters:
- '$.[''slow requests'']'
- type: SIMPLE_CHANGE
parameters:
- ''
master_item:
key: 'web.page.get["{$PHP_FPM.HOST}","{$PHP_FPM.STATUS.PAGE}?json","{$PHP_FPM.PORT}"]'
tags:
- tag: component
value: application
triggers:
- uuid: f30147d8e92f48aa8fedc2d28b8d7c70
expression: 'min(/PHP-FPM by Zabbix agent/php-fpm.slow_requests,#3)>0'
name: 'PHP-FPM: Detected slow requests'
priority: WARNING
description: 'The PHP-FPM has detected a slow request. The slow request means that it took more time to execute than expected (defined in the configuration of your pool).'
tags:
- tag: scope
value: performance
- uuid: 4e4d6eda8fbb4dd2ba7f48fba5723473
name: 'PHP-FPM: Start time'
type: DEPENDENT
key: php-fpm.start_time
delay: '0'
history: 7d
units: unixtime
description: 'The time when this pool was started.'
preprocessing:
- type: JSONPATH
parameters:
- '$.[''start time'']'
master_item:
key: 'web.page.get["{$PHP_FPM.HOST}","{$PHP_FPM.STATUS.PAGE}?json","{$PHP_FPM.PORT}"]'
tags:
- tag: component
value: application
- uuid: 2a19b306712a47999e70d3ec30e39b05
name: 'PHP-FPM: Uptime'
type: DEPENDENT
key: php-fpm.uptime
delay: '0'
history: 7d
units: s
description: 'It indicates how long has this pool been running.'
preprocessing:
- type: JSONPATH
parameters:
- '$.[''start since'']'
master_item:
key: 'web.page.get["{$PHP_FPM.HOST}","{$PHP_FPM.STATUS.PAGE}?json","{$PHP_FPM.PORT}"]'
tags:
- tag: component
value: application
triggers:
- uuid: c6966a6c3ff0452ab4fd112c9299e624
expression: 'last(/PHP-FPM by Zabbix agent/php-fpm.uptime)<10m'
name: 'PHP-FPM: Pool has been restarted'
event_name: 'PHP-FPM: Pool has been restarted (uptime < 10m)'
priority: INFO
description: 'Uptime is less than 10 minutes.'
manual_close: 'YES'
tags:
- tag: scope
value: notice
- uuid: b53e2e356317468f9d6d3272eb755650
name: 'PHP-FPM: Version'
type: DEPENDENT
key: php-fpm.version
delay: '0'
history: 7d
trends: '0'
value_type: CHAR
description: 'The current version of the PHP. You can get it from the HTTP-Header "X-Powered-By"; it may not work if you have changed the default HTTP-headers.'
preprocessing:
- type: REGEX
parameters:
- '^[.\s\S]*X-Powered-By: PHP/([.\d]{1,})'
- \1
error_handler: DISCARD_VALUE
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 3h
master_item:
key: 'web.page.get["{$PHP_FPM.HOST}","{$PHP_FPM.PING.PAGE}","{$PHP_FPM.PORT}"]'
tags:
- tag: component
value: application
triggers:
- uuid: fb110a37f0fc4a62b51df72e33bc3448
expression: 'last(/PHP-FPM by Zabbix agent/php-fpm.version,#1)<>last(/PHP-FPM by Zabbix agent/php-fpm.version,#2) and length(last(/PHP-FPM by Zabbix agent/php-fpm.version))>0'
name: 'PHP-FPM: Version has changed'
event_name: 'PHP-FPM: Version has changed (new version: {ITEM.VALUE})'
priority: INFO
description: 'The PHP-FPM version has changed. Acknowledge (Ack) to close manually.'
manual_close: 'YES'
tags:
- tag: scope
value: notice
- uuid: 71ea0957d99a4d48b18e73a21494c849
name: 'PHP-FPM: Get processes summary'
key: 'proc.get[,,,summary]'
history: 0d
trends: '0'
value_type: TEXT
description: 'The aggregated data of summary metrics for all processes.'
tags:
- tag: component
value: raw
- uuid: c0c438492c63453496e83938745ffffc
name: 'PHP-FPM: php-fpm_ping'
key: 'web.page.get["{$PHP_FPM.HOST}","{$PHP_FPM.PING.PAGE}","{$PHP_FPM.PORT}"]'
history: '0'
trends: '0'
value_type: TEXT
tags:
- tag: component
value: health
- uuid: 09ec73291f21417ab8f19f56fda3331f
name: 'PHP-FPM: Get status page'
key: 'web.page.get["{$PHP_FPM.HOST}","{$PHP_FPM.STATUS.PAGE}?json","{$PHP_FPM.PORT}"]'
history: '0'
trends: '0'
value_type: TEXT
preprocessing:
- type: REGEX
parameters:
- '^[.\s\S]*({.+})'
- \1
tags:
- tag: component
value: raw
discovery_rules:
- uuid: a8abec999ac74339b077d226bdbcfcc9
name: 'PHP-FPM process discovery'
type: DEPENDENT
key: php-fpm.proc.discovery
delay: '0'
filter:
evaltype: AND
conditions:
- macro: '{#NAME}'
value: '{$PHP_FPM.PROCESS_NAME}'
formulaid: A
description: 'The discovery of the PHP-FPM summary processes.'
item_prototypes:
- uuid: 985005cdf7b44332a59a5f7da7528d88
name: 'PHP-FPM: Get process data'
type: DEPENDENT
key: 'php-fpm.proc.get[{#NAME}]'
delay: '0'
history: 0d
trends: '0'
value_type: TEXT
description: 'The summary metrics aggregated by a process `{#NAME}`.'
preprocessing:
- type: JSONPATH
parameters:
- '$.[?(@["name"]=="{#NAME}")].first()'
error_handler: CUSTOM_VALUE
error_handler_params: 'Failed to retrieve process {#NAME} data'
master_item:
key: 'proc.get[,,,summary]'
tags:
- tag: component
value: raw
- uuid: ab8dc0d1ce344fe8ae6a22716a168fbd
name: 'PHP-FPM: Number of running processes'
type: DEPENDENT
key: 'php-fpm.proc.num[{#NAME}]'
delay: '0'
history: 7d
description: 'The number of running processes `{#NAME}`.'
preprocessing:
- type: JSONPATH
parameters:
- $.processes
error_handler: CUSTOM_VALUE
error_handler_params: '0'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1h
master_item:
key: 'php-fpm.proc.get[{#NAME}]'
tags:
- tag: component
value: system
trigger_prototypes:
- uuid: 21a03d0ada634602ae9089a2cf3b4d70
expression: 'last(/PHP-FPM by Zabbix agent/php-fpm.proc.num[{#NAME}])=0'
name: 'PHP-FPM: Process is not running'
priority: HIGH
tags:
- tag: scope
value: availability
- uuid: ef771994ec9e482babf872d9f867d500
name: 'PHP-FPM: Memory usage, %'
type: DEPENDENT
key: 'php-fpm.proc.pmem[{#NAME}]'
delay: '0'
history: 7d
value_type: FLOAT
units: '%'
description: 'The percentage of real memory used by a process `{#NAME}`.'
preprocessing:
- type: JSONPATH
parameters:
- $.pmem
error_handler: DISCARD_VALUE
master_item:
key: 'php-fpm.proc.get[{#NAME}]'
tags:
- tag: component
value: memory
- uuid: f55a5ef29f864d0a8c1af25df2372f7c
name: 'PHP-FPM: Memory usage (rss)'
type: DEPENDENT
key: 'php-fpm.proc.rss[{#NAME}]'
delay: '0'
history: 7d
units: B
description: 'The summary of resident set size memory used by a process `{#NAME}` expressed in bytes.'
preprocessing:
- type: JSONPATH
parameters:
- $.rss
error_handler: DISCARD_VALUE
master_item:
key: 'php-fpm.proc.get[{#NAME}]'
tags:
- tag: component
value: memory
- uuid: 4efc6da713264e629f987106b8252355
name: 'PHP-FPM: Memory usage (vsize)'
type: DEPENDENT
key: 'php-fpm.proc.vmem[{#NAME}]'
delay: '0'
history: 7d
units: B
description: 'The summary of virtual memory used by a process `{#NAME}` expressed in bytes.'
preprocessing:
- type: JSONPATH
parameters:
- $.vsize
error_handler: DISCARD_VALUE
master_item:
key: 'php-fpm.proc.get[{#NAME}]'
tags:
- tag: component
value: memory
- uuid: a709eaae52ad4128a129c618db6525d2
name: 'PHP-FPM: CPU utilization'
key: 'proc.cpu.util[{#NAME}]'
history: 7d
value_type: FLOAT
units: '%'
description: 'The percentage of the CPU utilization by a process `{#NAME}`.'
tags:
- tag: component
value: cpu
trigger_prototypes:
- uuid: bdf9962aee2049a8aec000b037b94d60
expression: 'nodata(/PHP-FPM by Zabbix agent/php-fpm.uptime,30m)=1 and last(/PHP-FPM by Zabbix agent/php-fpm.proc.num[{#NAME}])>0'
name: 'PHP-FPM: Failed to fetch info data'
event_name: 'PHP-FPM: Failed to fetch info data (or no data for 30m)'
priority: INFO
description: 'Zabbix has not received any data for items for the last 30 minutes.'
manual_close: 'YES'
tags:
- tag: scope
value: notice
- uuid: 10d92102d7a24327ada7869a41119fee
expression: '(last(/PHP-FPM by Zabbix agent/php-fpm.ping)=0 or nodata(/PHP-FPM by Zabbix agent/php-fpm.ping,3m)=1) and last(/PHP-FPM by Zabbix agent/php-fpm.proc.num[{#NAME}])>0'
name: 'PHP-FPM: Service is down'
priority: HIGH
manual_close: 'YES'
tags:
- tag: scope
value: availability
graph_prototypes:
- uuid: 628b350f5fb6439fb4965f4e053f66d5
name: 'PHP-FPM: Memory usage[{#NAME}]'
graph_items:
- drawtype: BOLD_LINE
color: 1A7C11
item:
host: 'PHP-FPM by Zabbix agent'
key: 'php-fpm.proc.vmem[{#NAME}]'
- sortorder: '1'
drawtype: BOLD_LINE
color: 2774A4
item:
host: 'PHP-FPM by Zabbix agent'
key: 'php-fpm.proc.rss[{#NAME}]'
master_item:
key: 'proc.get[,,,summary]'
lld_macro_paths:
- lld_macro: '{#NAME}'
path: $.name
tags:
- tag: class
value: application
- tag: target
value: php-fpm
macros:
- macro: '{$PHP_FPM.HOST}'
value: localhost
description: 'The Hostname or an IP address of the PHP-FPM status for a host or container.'
- macro: '{$PHP_FPM.PING.PAGE}'
value: ping
description: 'The path of the PHP-FPM ping page.'
- macro: '{$PHP_FPM.PING.REPLY}'
value: pong
description: 'The expected reply to the ping.'
- macro: '{$PHP_FPM.PORT}'
value: '10061'
description: 'The port of the PHP-FPM status host or container.'
- macro: '{$PHP_FPM.PROCESS_NAME}'
value: php-fpm
description: 'The name of the PHP-FPM process.'
- macro: '{$PHP_FPM.QUEUE.WARN.MAX}'
value: '80'
description: 'The maximum percent of the PHP-FPM queue usage for a trigger expression.'
- macro: '{$PHP_FPM.STATUS.PAGE}'
value: status
description: 'The path of the PHP-FPM status page.'
valuemaps:
- uuid: 1caa1e7c41e14c7492ab8112f93ea068
name: 'Service state'
mappings:
- value: '0'
newvalue: Down
- value: '1'
newvalue: Up
graphs:
- uuid: 36cd028132d94585877ad5726f0f9e3d
name: 'PHP-FPM: Process'
graph_items:
- color: 1A7C11
item:
host: 'PHP-FPM by Zabbix agent'
key: php-fpm.processes_max_active
- sortorder: '1'
color: 2774A4
item:
host: 'PHP-FPM by Zabbix agent'
key: php-fpm.processes_idle
- sortorder: '2'
color: F63100
item:
host: 'PHP-FPM by Zabbix agent'
key: php-fpm.processes_total
- sortorder: '3'
color: A54F10
item:
host: 'PHP-FPM by Zabbix agent'
key: php-fpm.processes_active
- uuid: 768a3e8aaa4741239887b55be5842f4a
name: 'PHP-FPM: Queue'
graph_items:
- color: 1A7C11
item:
host: 'PHP-FPM by Zabbix agent'
key: php-fpm.listen_queue_len
- sortorder: '1'
color: 2774A4
item:
host: 'PHP-FPM by Zabbix agent'
key: php-fpm.listen_queue
- sortorder: '2'
color: F63100
item:
host: 'PHP-FPM by Zabbix agent'
key: php-fpm.listen_queue_max

File diff suppressed because it is too large Load Diff

68
Service - Dovecot.yaml Normal file
View File

@ -0,0 +1,68 @@
zabbix_export:
version: '6.4'
template_groups:
- uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
templates:
- uuid: 6a84cbfc3fb840d58521727cfe3a9800
template: 'Service - Dovecot'
name: 'Service - Dovecot'
groups:
- name: Templates
items:
- uuid: 255135e1c0dd439e905d68fb46ef7d7f
name: 'Dovecot Device Count'
key: dovecot.devicecount
delay: 60s
request_method: POST
tags:
- tag: Application
value: dovecot
- uuid: dd1cdd50632b4a93880e28f7226436d7
name: 'Dovecot process count'
key: dovecot.processes
delay: 30s
request_method: POST
tags:
- tag: Application
value: dovecot
triggers:
- uuid: fb65a65170694efbba9f74d914c6e970
expression: 'last(/Service - Dovecot/dovecot.processes)>6000'
name: 'Number of Dovecot processes high'
priority: WARNING
- uuid: f3ddf2bec10647209d6b3cffcfb6d353
name: 'Dovecot User Count'
key: dovecot.usercount
delay: 600s
request_method: POST
tags:
- tag: Application
value: dovecot
triggers:
- uuid: c678c27311544077885e76b362aa1c4f
expression: 'last(/Service - Dovecot/dovecot.usercount)>1500'
name: 'Number of Dovecot online users high'
priority: WARNING
graphs:
- uuid: e650eb48751a42ed8bc86985760ff749
name: 'Dovecot Device Count'
graph_items:
- color: 9999FF
item:
host: 'Service - Dovecot'
key: dovecot.devicecount
- uuid: b9e5ef35ec6f438a95ed5e488cdd08c2
name: 'Dovecot process count'
graph_items:
- color: 1A7C11
item:
host: 'Service - Dovecot'
key: dovecot.processes
- uuid: 3ea3668708034b7386b2dfc3d7c45e75
name: 'Dovecot User Count'
graph_items:
- color: 1A7C11
item:
host: 'Service - Dovecot'
key: dovecot.usercount

19
Service - Ethercalc.yaml Normal file
View File

@ -0,0 +1,19 @@
zabbix_export:
version: '6.4'
template_groups:
- uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
templates:
- uuid: 82a4c529567745a5bc9715b2d0efc12f
template: 'Service - Ethercalc'
name: 'Service - Ethercalc'
groups:
- name: Templates
items:
- uuid: 1f0990a84913468aa79af3252dc654b4
name: 'Total calcs'
key: 'ethercalc[calc_all]'
delay: 5s
tags:
- tag: Application
value: ethercalc

33
Service - Etherpad.yaml Normal file
View File

@ -0,0 +1,33 @@
zabbix_export:
version: '6.4'
template_groups:
- uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
templates:
- uuid: a658ec9bed5143518c8d052b95764c8d
template: 'Service - Etherpad'
name: 'Service - Etherpad'
groups:
- name: Templates
items:
- uuid: e1d6a94c64204a7487ef98dc842eb373
name: 'Total pads'
key: 'etherpad[pads_totalpads]'
delay: 50m
tags:
- tag: Application
value: Etherpad
- uuid: 1730e1a9c9944df6a7d05758569bb309
name: 'Total active pads'
key: 'etherpad[pad_activepads]'
delay: 5m
tags:
- tag: Application
value: Etherpad
- uuid: 88871b77aaeb465e81a4f5f7e5fb0f7b
name: 'Total active users'
key: 'etherpad[pad_activeusers]'
delay: 5m
tags:
- tag: Application
value: Etherpad

33
Service - Framadate.yaml Normal file
View File

@ -0,0 +1,33 @@
zabbix_export:
version: '6.4'
template_groups:
- uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
templates:
- uuid: 709eb484a88c458a99cd2b7a9ef94be6
template: 'Service - Framadate'
name: 'Service - Framadate'
groups:
- name: Templates
items:
- uuid: b5884b213686444d9be4472550e542f0
name: 'All Polls'
key: 'framadate[polls_all]'
delay: 50m
tags:
- tag: Application
value: framadate
- uuid: 78fddcd9b1cc47cebca0d74eca31aeb7
name: 'All Event type Polls'
key: 'framadate[polls_events]'
delay: 50m
tags:
- tag: Application
value: framadate
- uuid: 7a58901ad19a4813a0b2240e32f31b55
name: 'All Standard Polls'
key: 'framadate[polls_standard]'
delay: 50m
tags:
- tag: Application
value: framadate

40
Service - Lufi.yaml Normal file
View File

@ -0,0 +1,40 @@
zabbix_export:
version: '6.4'
template_groups:
- uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
templates:
- uuid: 80622a50a5304c4d92b592a175a78f06
template: 'Service - Lufi'
name: 'Service - Lufi'
groups:
- name: Templates
items:
- uuid: 9b433251a062440d96fc2b71003fb33e
name: 'Number of active files'
key: 'lufi[lufi_active]'
delay: 5s
tags:
- tag: Application
value: Lufi
- uuid: 294ebf2b35174afca339eee80d313c1a
name: 'Number of files'
key: 'lufi[lufi_allfiles]'
delay: 5s
tags:
- tag: Application
value: Lufi
- uuid: 255e8410c94a4becb2bcdff0b09387e3
name: 'Number of deleted files'
key: 'lufi[lufi_deleted]'
delay: 5s
tags:
- tag: Application
value: Lufi
- uuid: 5d46afce28124971a54641685ebcbb72
name: 'Size of all files'
key: 'lufi[lufi_size]'
delay: 5s
tags:
- tag: Application
value: Lufi

159
Service - Nextcloud.yaml Normal file
View File

@ -0,0 +1,159 @@
zabbix_export:
version: '6.4'
template_groups:
- uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
templates:
- uuid: 58fb6d9c9e654fd68b56043126a4abff
template: 'Service - Nextcloud'
name: 'Service - Nextcloud'
description: 'This Template will get the monitoring data from the nextcloud xml monitoring.'
groups:
- name: Templates
items:
- uuid: be581cb15c344240bc7f0b4b205f5a8f
name: 'Active Users'
key: 'nextcloud[last5minutes]'
delay: '300'
request_method: POST
tags:
- tag: Application
value: nextcloud
- uuid: eca1e64779934b578d0e0257ec79b8df
name: 'Number files'
key: 'nextcloud[num_files]'
delay: '300'
request_method: POST
tags:
- tag: Application
value: nextcloud
- uuid: add31f850aee4744bdefdfa1c89b168b
name: 'Number shares'
key: 'nextcloud[num_shares]'
delay: '300'
request_method: POST
tags:
- tag: Application
value: nextcloud
- uuid: 068c54716457413fb28aaf2470b83797
name: 'number of group shares'
key: 'nextcloud[num_shares_groups]'
delay: '300'
request_method: POST
tags:
- tag: Application
value: nextcloud
- uuid: 60f02537cbac4c19be09e234b9cd18ef
name: 'shares via link'
key: 'nextcloud[num_shares_link]'
delay: '300'
request_method: POST
tags:
- tag: Application
value: nextcloud
- uuid: 9a52301e24bb495ebd30fcbddbe7fddb
name: 'shares via link with out password'
key: 'nextcloud[num_shares_link_no_password]'
delay: '300'
request_method: POST
tags:
- tag: Application
value: nextcloud
- uuid: a5f4a037100043098f6411faecf85b69
name: 'number of sharred with users'
key: 'nextcloud[num_shares_user]'
delay: '300'
request_method: POST
tags:
- tag: Application
value: nextcloud
- uuid: afd3a5fc24c04e318367b4bffea3e19a
name: 'Nextcloud Version'
key: 'nextcloud[version]'
delay: '60480'
trends: '0'
value_type: TEXT
request_method: POST
tags:
- tag: Application
value: nextcloud
- uuid: cc78c1556d404f918d53666b636ecc20
name: 'Nextcloud News Items'
key: 'nextcloud_news[nc_news_items]'
delay: '30'
tags:
- tag: Application
value: nextcloud_news
- uuid: 088d22eee5284d8386243bf3a0923e7e
name: 'Nextcloud News Read'
key: 'nextcloud_news[nc_news_read]'
delay: '30'
tags:
- tag: Application
value: nextcloud_news
- uuid: 5fe9b071c2e7498da4277df18b06d8d1
name: 'Nextcloud News Unread'
key: 'nextcloud_news[nc_news_unread]'
delay: '30'
tags:
- tag: Application
value: nextcloud_news
graphs:
- uuid: dce2e074033f4df58f01bd81a4925039
name: 'Active Users'
graph_items:
- color: 00C800
item:
host: 'Service - Nextcloud'
key: 'nextcloud[last5minutes]'
- uuid: 6837f8bcc2614ff0b903751bd56baaf9
name: 'Nextcloud news'
graph_items:
- color: 4A148C
item:
host: 'Service - Nextcloud'
key: 'nextcloud_news[nc_news_items]'
- sortorder: '1'
color: 33691E
item:
host: 'Service - Nextcloud'
key: 'nextcloud_news[nc_news_read]'
- sortorder: '2'
color: '891515'
item:
host: 'Service - Nextcloud'
key: 'nextcloud_news[nc_news_unread]'
- uuid: bd7d7a96e26f45678bd602ba6cd65e4f
name: 'Number files'
graph_items:
- color: 00C800
item:
host: 'Service - Nextcloud'
key: 'nextcloud[num_files]'
- uuid: d82adc5751bc4980ac93ae6432e8422c
name: 'share statistics'
graph_items:
- color: C80000
item:
host: 'Service - Nextcloud'
key: 'nextcloud[num_shares]'
- sortorder: '1'
color: 0000C8
item:
host: 'Service - Nextcloud'
key: 'nextcloud[num_shares_groups]'
- sortorder: '2'
color: C800C8
item:
host: 'Service - Nextcloud'
key: 'nextcloud[num_shares_user]'
- sortorder: '3'
color: 00C8C8
item:
host: 'Service - Nextcloud'
key: 'nextcloud[num_shares_link]'
- sortorder: '4'
color: C8C800
item:
host: 'Service - Nextcloud'
key: 'nextcloud[num_shares_link_no_password]'

27
Service - PrivateBin.yaml Normal file
View File

@ -0,0 +1,27 @@
zabbix_export:
version: '6.4'
template_groups:
- uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
templates:
- uuid: e40760d657aa42bfb2232fcab65155a4
template: 'Service - PrivateBin'
name: 'Service - PrivateBin'
description: 'Template for monitoring of PrvateBin'
groups:
- name: Templates
items:
- uuid: 4246fb91d1d7440d90c1b31ac383fd23
name: 'Size of all Pastebins'
key: 'privatebin[bin_size]'
delay: 5s
tags:
- tag: Application
value: PrivateBin
- uuid: e7d359c4e9ac48519dbdd4ca9bef9b12
name: 'Amount of Pastebins'
key: 'privatebin[bin_total]'
delay: 50m
tags:
- tag: Application
value: PrivateBin

183
Service - Prosody.yaml Normal file
View File

@ -0,0 +1,183 @@
zabbix_export:
version: '6.4'
template_groups:
- uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
templates:
- uuid: 26742a8a9ccb4fbca803d6b4baa58a5d
template: 'Service - Prosody'
name: 'Service - Prosody'
groups:
- name: Templates
items:
- uuid: 541d5b6361de41cea585ca3db6209fff
name: 'Memory allocated'
type: TRAP
key: prosody.memory_allocated
delay: '0'
units: Bytes
request_method: POST
tags:
- tag: Application
value: Prosody
- uuid: 1207731dbe104d628776d095ddb2f8ef
name: 'Memory used by Lua'
type: TRAP
key: prosody.memory_lua
delay: '0'
units: Bytes
request_method: POST
tags:
- tag: Application
value: Prosody
- uuid: 50e915114e7c41c3bfdfad83881f063b
name: 'Memory returnable'
type: TRAP
key: prosody.memory_returnable
delay: '0'
units: Bytes
request_method: POST
tags:
- tag: Application
value: Prosody
- uuid: 6ca14acdeda44096b5ff89a822f4d726
name: 'Memory unused'
type: TRAP
key: prosody.memory_unused
delay: '0'
units: Bytes
request_method: POST
tags:
- tag: Application
value: Prosody
- uuid: d75825008c094d45b46cefb76635b187
name: 'Memory used'
type: TRAP
key: prosody.memory_used
delay: '0'
units: Bytes
request_method: POST
tags:
- tag: Application
value: Prosody
- uuid: 94ce64d794de4a29acd2511f2987af8b
name: 'Connected Clients'
type: TRAP
key: prosody.total_c2s
delay: '0'
units: Connections
request_method: POST
tags:
- tag: Application
value: Prosody
- uuid: e4be948b2467417d8978a2583f8ca1bf
name: 'Connected Components'
type: TRAP
key: prosody.total_component
delay: '0'
units: Connections
request_method: POST
tags:
- tag: Application
value: Prosody
- uuid: 3c460cbe682c440589131a0491fc94c5
name: 'Incoming server connections'
type: TRAP
key: prosody.total_s2sin
delay: '0'
units: Connections
request_method: POST
tags:
- tag: Application
value: Prosody
- uuid: 351095ab83674db1934f410afcccfcf7
name: 'Outgoing server connections'
type: TRAP
key: prosody.total_s2sout
delay: '0'
units: Connections
request_method: POST
tags:
- tag: Application
value: Prosody
- uuid: 5ebbeec834ba45e48fcf44a270066ba4
name: 'Connected Users'
type: TRAP
key: prosody.total_users
delay: '0'
units: Users
request_method: POST
tags:
- tag: Application
value: Prosody
triggers:
- uuid: c2bf3938ac2d482390ce7f0a40e29cab
expression: 'last(/Service - Prosody/prosody.total_users,#1:now-5s)<250'
name: 'Suspicious low amount of users online'
priority: DISASTER
- uuid: 1652fa11ae774b2d9620d091fab6aa6b
name: 'Prosody Version'
type: TRAP
key: prosody.version
delay: '0'
trends: '0'
value_type: TEXT
request_method: POST
tags:
- tag: Application
value: Prosody
graphs:
- uuid: ce4a98da11ba4328a3679661b9036378
name: 'Prosody Connections'
graph_items:
- color: 1A7C11
item:
host: 'Service - Prosody'
key: prosody.total_c2s
- sortorder: '1'
color: F63100
item:
host: 'Service - Prosody'
key: prosody.total_component
- sortorder: '2'
color: 2774A4
item:
host: 'Service - Prosody'
key: prosody.total_users
- sortorder: '3'
color: A54F10
item:
host: 'Service - Prosody'
key: prosody.total_s2sin
- sortorder: '4'
color: FC6EA3
item:
host: 'Service - Prosody'
key: prosody.total_s2sout
- uuid: f40d5c78c4624355aad1dc81837990ab
name: 'Prosody Ram consumption'
graph_items:
- color: 1A7C11
item:
host: 'Service - Prosody'
key: prosody.memory_allocated
- sortorder: '1'
color: F63100
item:
host: 'Service - Prosody'
key: prosody.memory_returnable
- sortorder: '2'
color: 2774A4
item:
host: 'Service - Prosody'
key: prosody.memory_unused
- sortorder: '3'
color: A54F10
item:
host: 'Service - Prosody'
key: prosody.memory_used
- sortorder: '4'
color: FC6EA3
item:
host: 'Service - Prosody'
key: prosody.memory_lua

809
Site check.yaml Normal file
View File

@ -0,0 +1,809 @@
zabbix_export:
version: '6.4'
template_groups:
- uuid: 5382aaf8b3d24deba717f9805b0dd511
name: Containers
templates:
- uuid: 13760a2f17f14384962462d8ec37fa27
template: 'Site check'
name: 'Site check'
groups:
- name: Containers
items:
- uuid: b31dc63160e64551aa444d9d7d28606a
name: 'Site Letsencrypt date to expire - apps.disroot.org'
key: 'site.score[ltpdate,apps.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
- uuid: 618c8db824444a8e978450b32c6aa68e
name: 'Site Letsencrypt date to expire - bin.disroot.org'
key: 'site.score[ltpdate,bin.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
- uuid: f1078434e0d24b21a238c98b09ff3a93
name: 'Site Letsencrypt date to expire - board.disroot.org'
key: 'site.score[ltpdate,board.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
- uuid: b08956e1d2384b1993eaf4d677e879a3
name: 'Site Letsencrypt date to expire - cloud.disroot.org'
key: 'site.score[ltpdate,cloud.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
- uuid: cd61148f8c4443df99c8d4b7bdd1ebcf
name: 'Site Letsencrypt date to expire - cryptpad.disroot.org'
key: 'site.score[ltpdate,cryptpad.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
- uuid: 322a24b28f03491cb333fc53dc77f6ed
name: 'Site Letsencrypt date to expire - disroot.org'
key: 'site.score[ltpdate,disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
- uuid: 4c43c3de75644706b8cefe06fa36e877
name: 'Site Letsencrypt date to expire - fe.disroot.org'
key: 'site.score[ltpdate,fe.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
- uuid: 332e1c11209442799a56c0b903101c72
name: 'Site Letsencrypt date to expire - forum.disroot.org'
key: 'site.score[ltpdate,forum.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
- uuid: fde369c6d3dc41809f71bd87cd6d38f1
name: 'Site Letsencrypt date to expire - git.disroot.org'
key: 'site.score[ltpdate,git.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
- uuid: efdc7cf3f489454a84e659592efdae88
name: 'Site Letsencrypt date to expire - howto.disroot.org'
key: 'site.score[ltpdate,howtodisroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
- uuid: 7dade5e5ed47478b8352fb2e80ee570a
name: 'Site Letsencrypt date to expire - mail.disroot.org'
key: 'site.score[ltpdate,mail.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
- uuid: 02535fb38f3f4d1fafa123c06d2ab55f
name: 'Site Letsencrypt date to expire - ncapps.disroot.org'
key: 'site.score[ltpdate,ncapps.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
- uuid: 9e2e7f14cfe847a1be101fe08cfb0014
name: 'Site Letsencrypt date to expire - pad.disroot.org'
key: 'site.score[ltpdate,pad.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
- uuid: 9924d38d00a649a6b2976cd99c73af1a
name: 'Site Letsencrypt date to expire - search.disroot.org'
key: 'site.score[ltpdate,search.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
- uuid: 12cc03c162274486bf038b026fccf1c2
name: 'Site Letsencrypt date to expire - state.disroot.org'
key: 'site.score[ltpdate,state.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
- uuid: 7788e7eced864c44b0af86cb58a615fb
name: 'Site Letsencrypt date to expire - upload.disroot.org'
key: 'site.score[ltpdate,upload.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
- uuid: 72ae2a7c55494708ab9b501d497abfd5
name: 'Site Letsencrypt date to expire - user.disroot.org'
key: 'site.score[ltpdate,user.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
- uuid: e2f5851f107f4c69904bb0b7de8dd93d
name: 'Site Letsencrypt days to expire - apps.disroot.org'
key: 'site.score[ltpday,apps.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
triggers:
- uuid: d0c994a3b4784481bfaf82517ebbd4f0
expression: 'last(/Site check/site.score[ltpday,apps.disroot.org])<7'
name: 'apps.disroot.org - Site Letsencrypt exires in a week!'
priority: DISASTER
- uuid: 4a2e81ece8c34a18be08aa8b670dea26
expression: 'last(/Site check/site.score[ltpday,apps.disroot.org])<25'
name: 'apps.disroot.org - Site Letsencrypt exires soon'
priority: WARNING
- uuid: 8a46b358ed5442f3a2eb8eb38a98c81d
name: 'Site Letsencrypt days to expire - bin.disroot.org'
key: 'site.score[ltpday,bin.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
triggers:
- uuid: 5cd71a51cc114484a8e1fedd1b0d34a3
expression: 'last(/Site check/site.score[ltpday,bin.disroot.org])<7'
name: 'bin.disroot.org - Site Letsencrypt exires in a week!'
priority: DISASTER
- uuid: 95743b6759564d1591f1036acb036fb9
expression: 'last(/Site check/site.score[ltpday,bin.disroot.org])<25'
name: 'bin.disroot.org - Site Letsencrypt exires soon'
priority: WARNING
- uuid: 83cef36ffedb457caaf8b9092b71f03d
name: 'Site Letsencrypt days to expire - board.disroot.org'
key: 'site.score[ltpday,board.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
triggers:
- uuid: 7c550ef2627a4f41a3314b98bf470ae9
expression: 'last(/Site check/site.score[ltpday,board.disroot.org])<7'
name: 'board.disroot.org - Site Letsencrypt exires in a week!'
priority: DISASTER
- uuid: 264884ba77804a58b26e9f288a39b185
expression: 'last(/Site check/site.score[ltpday,board.disroot.org])<25'
name: 'board.disroot.org - Site Letsencrypt exires soon'
priority: WARNING
- uuid: 32a8f943ddbd404f819197eb7a070a44
name: 'Site Letsencrypt days to expire - cloud.disroot.org'
key: 'site.score[ltpday,cloud.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
triggers:
- uuid: 090674edbd054c138be8120f286d7b24
expression: 'last(/Site check/site.score[ltpday,cloud.disroot.org])<7'
name: 'cloud.disroot.org - Site Letsencrypt exires in a week!'
priority: DISASTER
- uuid: 58d2dae6b91a4c86b4524fdbb6337ded
expression: 'last(/Site check/site.score[ltpday,cloud.disroot.org])<25'
name: 'cloud.disroot.org - Site Letsencrypt exires soon'
priority: WARNING
- uuid: 93905f89293f48dd96d2b6d8a583ac13
name: 'Site Letsencrypt days to expire - cryptpad.disroot.org'
key: 'site.score[ltpday,cryptpad.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
triggers:
- uuid: ae21e3bb786646bab0d89b0981b7af66
expression: 'last(/Site check/site.score[ltpday,cryptpad.disroot.org])<7'
name: 'cryptpad.disroot.org - Site Letsencrypt exires in a week!'
priority: DISASTER
- uuid: 9dd61e034d8846819103b65c175fb560
expression: 'last(/Site check/site.score[ltpday,cryptpad.disroot.org])<25'
name: 'cryptpad.disroot.org - Site Letsencrypt exires soon'
priority: WARNING
- uuid: f11a0c09c7f44408b1b354a24b1478ad
name: 'Site Letsencrypt days to expire - disroot.org'
key: 'site.score[ltpday,disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
triggers:
- uuid: 1fe82e1319314df3b489ebedd1cdcafd
expression: 'last(/Site check/site.score[ltpday,disroot.org])<7'
name: 'disroot.org - Site Letsencrypt exires in a week!'
priority: DISASTER
- uuid: 9d258efa10c048dfb91f941ba6264f75
expression: 'last(/Site check/site.score[ltpday,disroot.org])<25'
name: 'disroot.org - Site Letsencrypt exires soon'
priority: WARNING
- uuid: 2a75dea67d614894812cb0ba3540f366
name: 'Site Letsencrypt days to expire - fe.disroot.org'
key: 'site.score[ltpday,fe.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
triggers:
- uuid: e10d5604a23546a89899ad1d70a72f87
expression: 'last(/Site check/site.score[ltpday,fe.disroot.org])<7'
name: 'fe.disroot.org - Site Letsencrypt exires in a week!'
priority: DISASTER
- uuid: 28f156364d2c4bd088ec7a23e8624c01
expression: 'last(/Site check/site.score[ltpday,fe.disroot.org])<25'
name: 'fe.disroot.org - Site Letsencrypt exires soon'
priority: WARNING
- uuid: e1c5e5a99ddb45c9a4b199a24a767edd
name: 'Site Letsencrypt days to expire - forum.disroot.org'
key: 'site.score[ltpday,forum.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
triggers:
- uuid: d854b523b5754cd7a022db60d5ad9418
expression: 'last(/Site check/site.score[ltpday,forum.disroot.org])<7'
name: 'forum.disroot.org - Site Letsencrypt exires in a week!'
priority: DISASTER
- uuid: b52a3bcee8094c35a1607b876a2490f5
expression: 'last(/Site check/site.score[ltpday,forum.disroot.org])<25'
name: 'forum.disroot.org - Site Letsencrypt exires soon'
priority: WARNING
- uuid: 126496160665432792706d443a24fa5d
name: 'Site Letsencrypt days to expire - git.disroot.org'
key: 'site.score[ltpday,git.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
triggers:
- uuid: fb4ec1a8a9924311837e44895547ef84
expression: 'last(/Site check/site.score[ltpday,git.disroot.org])<7'
name: 'git.disroot.org - Site Letsencrypt exires in a week!'
priority: DISASTER
- uuid: 417ae63119ae4cc2a2a5a3d47ffd39b6
expression: 'last(/Site check/site.score[ltpday,git.disroot.org])<25'
name: 'git.disroot.org - Site Letsencrypt exires soon'
priority: WARNING
- uuid: 1700bb53f0094e54a4c4bf72721ac57b
name: 'Site Letsencrypt days to expire - howto.disroot.org'
key: 'site.score[ltpday,howto.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
- uuid: 1a7f1d86bfa14e0d9938af441fc6ebe4
name: 'Site Letsencrypt days to expire - mail.disroot.org'
key: 'site.score[ltpday,mail.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
triggers:
- uuid: 20787439917e4ee29503b9d37bad8fe5
expression: 'last(/Site check/site.score[ltpday,mail.disroot.org])<7'
name: 'mail.disroot.org - Site Letsencrypt exires in a week!'
priority: DISASTER
- uuid: e501be87b453499daed85ae3397a55bc
expression: 'last(/Site check/site.score[ltpday,mail.disroot.org])<25'
name: 'mail.disroot.org - Site Letsencrypt exires soon'
priority: WARNING
- uuid: 49ac14ef2c3f4b5a9c33eddb51ae9e36
name: 'Site Letsencrypt days to expire - ncapps.disroot.org'
key: 'site.score[ltpday,ncapps.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
triggers:
- uuid: 888c6320a80e4afeb91ee7e1ccc8612a
expression: 'last(/Site check/site.score[ltpday,ncapps.disroot.org])<7'
name: 'ncapps.disroot.org - Site Letsencrypt exires in a week!'
priority: DISASTER
- uuid: e9c654da73e24746b608e4f418372873
expression: 'last(/Site check/site.score[ltpday,ncapps.disroot.org])<25'
name: 'ncapps.disroot.org - Site Letsencrypt exires soon'
priority: WARNING
- uuid: b00cbffb3c754743b9dd3a99a6481597
name: 'Site Letsencrypt days to expire - pad.disroot.org'
key: 'site.score[ltpday,pad.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
triggers:
- uuid: 8bd30468e29e459295b6658b0a7e894a
expression: 'last(/Site check/site.score[ltpday,pad.disroot.org])<7'
name: 'pad.disroot.org - Site Letsencrypt exires in a week!'
priority: DISASTER
- uuid: 288072e61821410aa516908d1fa68b51
expression: 'last(/Site check/site.score[ltpday,pad.disroot.org])<25'
name: 'pad.disroot.org - Site Letsencrypt exires soon'
priority: WARNING
- uuid: ae49200add9840de82335b652d7854d4
name: 'Site Letsencrypt days to expire - search.disroot.org'
key: 'site.score[ltpday,search.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
triggers:
- uuid: 5cf1f38805ea4067b5cf0d4d8fea5136
expression: 'last(/Site check/site.score[ltpday,search.disroot.org])<7'
name: 'search.disroot.org - Site Letsencrypt exires in a week!'
priority: DISASTER
- uuid: 315b30d3fb0a48ddac456bc642f22178
expression: 'last(/Site check/site.score[ltpday,search.disroot.org])<25'
name: 'search.disroot.org - Site Letsencrypt exires soon'
priority: WARNING
- uuid: 2adc87738bf441f894b00c1e2ae3c5ac
name: 'Site Letsencrypt days to expire - state.disroot.org'
key: 'site.score[ltpday,state.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
triggers:
- uuid: f6939f47324345358f8505e2a06a83d7
expression: 'last(/Site check/site.score[ltpday,state.disroot.org])<7'
name: 'state.disroot.org - Site Letsencrypt exires in a week!'
priority: DISASTER
- uuid: 481f38c63f7f48a090683cd6d6ec2e26
expression: 'last(/Site check/site.score[ltpday,state.disroot.org])<25'
name: 'state.disroot.org - Site Letsencrypt exires soon'
priority: WARNING
- uuid: 6cc3b097271f46c2bf55b69f12e82079
name: 'Site Letsencrypt days to expire - upload.disroot.org'
key: 'site.score[ltpday,upload.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
triggers:
- uuid: 708357a58904498f872b5e5cecf90133
expression: 'last(/Site check/site.score[ltpday,upload.disroot.org])<7'
name: 'upload.disroot.org - Site Letsencrypt exires in a week!'
priority: DISASTER
- uuid: fc275ea150f2453ca869cdaef7d481b8
expression: 'last(/Site check/site.score[ltpday,upload.disroot.org])<25'
name: 'upload.disroot.org - Site Letsencrypt exires soon'
priority: WARNING
- uuid: 63499c281fb5431881433f29b0db9cf4
name: 'Site Letsencrypt days to expire - user.disroot.org'
key: 'site.score[ltpday,user.disroot.org]'
delay: 1d
tags:
- tag: Application
value: 'Site check letsencrypt'
triggers:
- uuid: f89ed741c5a44efe87645618bbadb0a9
expression: 'last(/Site check/site.score[ltpday,user.disroot.org])<7'
name: 'user.disroot.org - Site Letsencrypt exires in a week!'
priority: DISASTER
- uuid: 2f08ddb3ce9f43749b91b86f58816670
expression: 'last(/Site check/site.score[ltpday,user.disroot.org])<25'
name: 'user.disroot.org - Site Letsencrypt exires soon'
priority: WARNING
- uuid: d33edec45c0149fd863388036619d0c3
name: 'Site Score - apps.disroot.org'
key: 'site.score[score,apps.disroot.org]'
delay: 24h
trends: '0'
value_type: TEXT
tags:
- tag: Application
value: 'Site check Score'
triggers:
- uuid: 7b8e12b8879e4bc7b174400784c078b1
expression: '(last(/Site check/site.score[score,apps.disroot.org],#1)<>last(/Site check/site.score[score,apps.disroot.org],#2))>0'
name: 'Site Score - apps.disroot.org'
priority: WARNING
- uuid: a48e046a9dfe4e3ebace34321c3a28b0
name: 'Site Score - bin.disroot.org'
key: 'site.score[score,bin.disroot.org]'
delay: 24h
trends: '0'
value_type: TEXT
tags:
- tag: Application
value: 'Site check Score'
triggers:
- uuid: d39e6b572534495dace07581b465aac0
expression: '(last(/Site check/site.score[score,bin.disroot.org],#1)<>last(/Site check/site.score[score,bin.disroot.org],#2))>0'
name: 'Site Score - bin.disroot.org'
priority: WARNING
- uuid: cc0c5df534164d2186f1e7ae74b8047b
name: 'Site Score - board.disroot.org'
key: 'site.score[score,board.disroot.org]'
delay: 24h
trends: '0'
value_type: TEXT
tags:
- tag: Application
value: 'Site check Score'
triggers:
- uuid: fad878a4c05d46ec939772b80af4292a
expression: '(last(/Site check/site.score[score,board.disroot.org],#1)<>last(/Site check/site.score[score,board.disroot.org],#2))>0'
name: 'Site Score - board.disroot.org'
priority: WARNING
- uuid: 035ddfea120b450ebf939239f2539078
name: 'Site Score - cloud.disroot.org'
key: 'site.score[score,cloud.disroot.org]'
delay: 24h
trends: '0'
value_type: TEXT
tags:
- tag: Application
value: 'Site check Score'
triggers:
- uuid: ee9fb7bea2a041cd87c2c8795c23eb6a
expression: '(last(/Site check/site.score[score,cloud.disroot.org],#1)<>last(/Site check/site.score[score,cloud.disroot.org],#2))>0'
name: 'Site Score - cloud.disroot.org'
priority: WARNING
- uuid: 91cb7b61cd104d1fbd9891d8ac2bd792
name: 'Site Score - cryptpad.disroot.org'
key: 'site.score[score,cryptpad.disroot.org]'
delay: 24h
trends: '0'
value_type: TEXT
tags:
- tag: Application
value: 'Site check Score'
triggers:
- uuid: a4c03807533d4d0487489981c8d0cac2
expression: '(last(/Site check/site.score[score,cryptpad.disroot.org],#1)<>last(/Site check/site.score[score,cryptpad.disroot.org],#2))>0'
name: 'Site Score - cryptpad.disroot.org'
priority: WARNING
- uuid: 3d5ceb23895d4d8a8b21ecff0b873362
name: 'Site Score - disroot.org'
key: 'site.score[score,disroot.org]'
delay: 24h
trends: '0'
value_type: TEXT
tags:
- tag: Application
value: 'Site check Score'
triggers:
- uuid: eb859595894e4482a222b62a7e5a042e
expression: '(last(/Site check/site.score[score,disroot.org],#1)<>last(/Site check/site.score[score,disroot.org],#2))>0'
name: 'Site Score - disroot.org'
priority: WARNING
- uuid: 459f90e2102c46679d8b734e1693f0b0
name: 'Site Score - fe.disroot.org'
key: 'site.score[score,fe.disroot.org]'
delay: 24h
trends: '0'
value_type: TEXT
tags:
- tag: Application
value: 'Site check Score'
triggers:
- uuid: 00a11eade98b4417a53462519d88d71c
expression: '(last(/Site check/site.score[score,fe.disroot.org],#1)<>last(/Site check/site.score[score,fe.disroot.org],#2))>0'
name: 'Site Score - fe.disroot.org'
priority: WARNING
- uuid: f063a4c79d534e0a99b260f336682582
name: 'Site Score - forum.disroot.org'
key: 'site.score[score,forum.disroot.org]'
delay: 24h
trends: '0'
value_type: TEXT
tags:
- tag: Application
value: 'Site check Score'
triggers:
- uuid: 069a82562d47471cb719c7b11a0d22e5
expression: '(last(/Site check/site.score[score,forum.disroot.org],#1)<>last(/Site check/site.score[score,forum.disroot.org],#2))>0'
name: 'Site Score - forum.disroot.org'
priority: WARNING
- uuid: a214290bd0b744d78f90c57bffd03a37
name: 'Site Score - git.disroot.org'
key: 'site.score[score,git.disroot.org]'
delay: 24h
trends: '0'
value_type: TEXT
tags:
- tag: Application
value: 'Site check Score'
triggers:
- uuid: c0705f68261446ce99378e482ca1de42
expression: '(last(/Site check/site.score[score,git.disroot.org],#1)<>last(/Site check/site.score[score,git.disroot.org],#2))>0'
name: 'Site Score - git.disroot.org'
priority: WARNING
- uuid: bb19712c999b4555b3b30b036139c5bb
name: 'Site Score - howto.disroot.org'
key: 'site.score[score,howto.disroot.org]'
delay: 24h
trends: '0'
value_type: TEXT
tags:
- tag: Application
value: 'Site check Score'
- uuid: 39a20a1f6c4a4d70b279d48c23879423
name: 'Site Score - mail.disroot.org'
key: 'site.score[score,mail.disroot.org]'
delay: 24h
trends: '0'
value_type: TEXT
tags:
- tag: Application
value: 'Site check Score'
triggers:
- uuid: 520d2ab8d8424326ae3618e59aedf978
expression: '(last(/Site check/site.score[score,mail.disroot.org],#1)<>last(/Site check/site.score[score,mail.disroot.org],#2))>0'
name: 'Site Score - mail.disroot.org'
priority: WARNING
- uuid: 54ebc72c9c3a4f199ee58b49419ca9e3
name: 'Site Score - ncapps.disroot.org'
key: 'site.score[score,ncapps.disroot.org]'
delay: 24h
trends: '0'
value_type: TEXT
tags:
- tag: Application
value: 'Site check Score'
triggers:
- uuid: 7beb433b926c4a16b8be44ca0354d39b
expression: '(last(/Site check/site.score[score,ncapps.disroot.org],#1)<>last(/Site check/site.score[score,ncapps.disroot.org],#2))>0'
name: 'Site Score - ncapps.disroot.org'
priority: WARNING
- uuid: fa9d68212d4f4964b313bfe44320071f
name: 'Site Score - pad.disroot.org'
key: 'site.score[score,pad.disroot.org]'
delay: 24h
trends: '0'
value_type: TEXT
tags:
- tag: Application
value: 'Site check Score'
triggers:
- uuid: e89702f556514d5687dfde643d416710
expression: '(last(/Site check/site.score[score,pad.disroot.org],#1)<>last(/Site check/site.score[score,pad.disroot.org],#2))>0'
name: 'Site Score - pad.disroot.org'
priority: WARNING
- uuid: 1c78a796d4f4452aad9d688744d1fb86
name: 'Site Score - search.disroot.org'
key: 'site.score[score,search.disroot.org]'
delay: 24h
trends: '0'
value_type: TEXT
tags:
- tag: Application
value: 'Site check Score'
triggers:
- uuid: c40dc67649314076947f3cb2fbcea624
expression: '(last(/Site check/site.score[score,search.disroot.org],#1)<>last(/Site check/site.score[score,search.disroot.org],#2))>0'
name: 'Site Score - search.disroot.org'
priority: WARNING
- uuid: b07be006ce49404ba882283b9eaaa8c2
name: 'Site Score - state.disroot.org'
key: 'site.score[score,state.disroot.org]'
delay: 24h
trends: '0'
value_type: TEXT
tags:
- tag: Application
value: 'Site check Score'
triggers:
- uuid: dabd591415384e0785dbfb0cc12f09ed
expression: '(last(/Site check/site.score[score,state.disroot.org],#1)<>last(/Site check/site.score[score,state.disroot.org],#2))>0'
name: 'Site Score - state.disroot.org'
priority: WARNING
- uuid: 27a3b69da8034c259c9a8dec54e31c72
name: 'Site Score - upload.disroot.org'
key: 'site.score[score,upload.disroot.org]'
delay: 24h
trends: '0'
value_type: TEXT
tags:
- tag: Application
value: 'Site check Score'
triggers:
- uuid: 62f34372940a4636b3cf54966daae3ad
expression: '(last(/Site check/site.score[score,upload.disroot.org],#1)<>last(/Site check/site.score[score,upload.disroot.org],#2))>0'
name: 'Site Score - upload.disroot.org'
priority: WARNING
- uuid: 905297692a0f4f14ad7c05839155d98a
name: 'Site Score - user.disroot.org'
key: 'site.score[score,user.disroot.org]'
delay: 24h
trends: '0'
value_type: TEXT
tags:
- tag: Application
value: 'Site check Score'
triggers:
- uuid: 7162845bf4fc4414900e39dc294ddd25
expression: '(last(/Site check/site.score[score,user.disroot.org],#1)<>last(/Site check/site.score[score,user.disroot.org],#2))>0'
name: 'Site Score - user.disroot.org'
priority: WARNING
- uuid: df3eb4ea7327499eaa50e9bacfb18468
name: 'apps.disroot.org - Site Up Code'
key: 'site.score[up,apps.disroot.org]'
tags:
- tag: Application
value: 'Site check Up'
triggers:
- uuid: a4535f653cd6477b805c441d2b621965
expression: 'last(/Site check/site.score[up,apps.disroot.org])<>200'
name: 'apps.disroot.org - is down!'
priority: HIGH
- uuid: d6b6fb44cd6b4b388a0d3812ff3a105d
name: 'bin.disroot.org - Site Up Code'
key: 'site.score[up,bin.disroot.org]'
tags:
- tag: Application
value: 'Site check Up'
triggers:
- uuid: c4c66b4802ab4dc58f592c5b32629176
expression: 'last(/Site check/site.score[up,bin.disroot.org])<>200'
name: 'bin.disroot.org - is down!'
priority: HIGH
- uuid: ebc7080d17a34667a4e18d611756698f
name: 'board.disroot.org - Site Up Code'
key: 'site.score[up,board.disroot.org]'
tags:
- tag: Application
value: 'Site check Up'
triggers:
- uuid: def483625e464f0d852d8130a488ba69
expression: 'last(/Site check/site.score[up,board.disroot.org])<>200'
name: 'board.disroot.org - is down!'
priority: HIGH
- uuid: 98e1685c5ba544ecbb81199b62cb5f6b
name: 'cloud.disroot.org - Site Up Code'
key: 'site.score[up,cloud.disroot.org]'
tags:
- tag: Application
value: 'Site check Up'
triggers:
- uuid: fac2b77c7a944d9da3e5237d46de0efc
expression: 'last(/Site check/site.score[up,cloud.disroot.org])<>200'
name: 'cloud.disroot.org - is down!'
priority: HIGH
- uuid: c715be42a6cb4ef2891236e49a29269d
name: 'cryptpad.disroot.org - Site Up Code'
key: 'site.score[up,cryptpad.disroot.org]'
tags:
- tag: Application
value: 'Site check Up'
triggers:
- uuid: 3551c76809dc4cedbbce392b49d9fda2
expression: 'last(/Site check/site.score[up,cryptpad.disroot.org])<>200'
name: 'cryptpad.disroot.org - is down!'
priority: HIGH
- uuid: e79b84c73b3749f283193296a467846a
name: 'disroot.org - Site Up Code'
key: 'site.score[up,disroot.org]'
tags:
- tag: Application
value: 'Site check Up'
triggers:
- uuid: 3ea0ce3c6a634fe9b243cb9e3c69fcb9
expression: 'last(/Site check/site.score[up,disroot.org])<>200'
name: 'disroot.org - is down!'
priority: HIGH
- uuid: 1bb4e6515406439a87a8048c8f9149fc
name: 'fe.disroot.org - Site Up Code'
key: 'site.score[up,fe.disroot.org]'
tags:
- tag: Application
value: 'Site check Up'
triggers:
- uuid: 9275dde55982453bb2f2ce650cfffcd6
expression: 'last(/Site check/site.score[up,fe.disroot.org])<>200'
name: 'fe.disroot.org - is down!'
priority: HIGH
- uuid: 02cbb9be68c34f32b270c9d454890601
name: 'forum.disroot.org - Site Up Code'
key: 'site.score[up,forum.disroot.org]'
tags:
- tag: Application
value: 'Site check Up'
triggers:
- uuid: 4cf4745a36ed4118bffa31071977417c
expression: 'last(/Site check/site.score[up,forum.disroot.org])<>200'
name: 'forum.disroot.org - is down!'
priority: HIGH
- uuid: 2ccdc0dec9a54cc489c321fbf108050b
name: 'git.disroot.org - Site Up Code'
key: 'site.score[up,git.disroot.org]'
tags:
- tag: Application
value: 'Site check Up'
triggers:
- uuid: e06d7373e77f4a6680e2f382da609820
expression: 'last(/Site check/site.score[up,git.disroot.org])<>200'
name: 'git.disroot.org - is down!'
priority: HIGH
- uuid: daaf618053cc4690a7455d3e47678ad6
name: 'Site Up - howto.disroot.org'
key: 'site.score[up,howto.disroot.org]'
tags:
- tag: Application
value: 'Site check Up'
- uuid: fb39b0606ac3408e98741788fa4383e0
name: 'mail.disroot.org - Site Up Code'
key: 'site.score[up,mail.disroot.org]'
tags:
- tag: Application
value: 'Site check Up'
triggers:
- uuid: 0f2eba20f97740a38946f4990a87387a
expression: 'last(/Site check/site.score[up,mail.disroot.org])<>200'
name: 'mail.disroot.org - is down!'
priority: HIGH
- uuid: b15228c88e4442199883b781122e3a07
name: 'ncapps.disroot.org - Site Up Code'
key: 'site.score[up,ncapps.disroot.org]'
tags:
- tag: Application
value: 'Site check Up'
triggers:
- uuid: 911e2783b4794a8db6a6cf7fe579f80f
expression: 'last(/Site check/site.score[up,ncapps.disroot.org])<>200'
name: 'ncapps.disroot.org - is down!'
priority: HIGH
- uuid: e9812ff4de5c409b99f355bf9587f3de
name: 'pad.disroot.org - Site Up Code'
key: 'site.score[up,pad.disroot.org]'
tags:
- tag: Application
value: 'Site check Up'
triggers:
- uuid: a0cb445590f543b9b5dd696fb8ce2cd4
expression: 'last(/Site check/site.score[up,pad.disroot.org])<>200'
name: 'pad.disroot.org - is down!'
priority: HIGH
- uuid: ee747deeae51459bb475f3422fccfdfb
name: 'search.disroot.org - Site Up Code'
key: 'site.score[up,search.disroot.org]'
tags:
- tag: Application
value: 'Site check Up'
triggers:
- uuid: f3380bfeff414fbebd7f0183be7fbece
expression: 'last(/Site check/site.score[up,search.disroot.org])<>200'
name: 'search.disroot.org - is down!'
priority: HIGH
- uuid: ab90b88a1f0645ab844e8e1215e94df3
name: 'state.disroot.org - Site Up Code'
key: 'site.score[up,state.disroot.org]'
tags:
- tag: Application
value: 'Site check Up'
triggers:
- uuid: faed609fb91443d1b024c7619bec53ed
expression: 'last(/Site check/site.score[up,state.disroot.org])<>200'
name: 'state.disroot.org - is down!'
priority: HIGH
- uuid: 99bae7cbb48147018e37ac199b4fdf8d
name: 'upload.disroot.org - Site Up Code'
key: 'site.score[up,upload.disroot.org]'
tags:
- tag: Application
value: 'Site check Up'
triggers:
- uuid: 53b34d76501441e297f45b4c84523e73
expression: 'last(/Site check/site.score[up,upload.disroot.org])<>200'
name: 'upload.disroot.org - is down!'
priority: HIGH
- uuid: 3228f26158cc4471b2e408202fa413f3
name: 'user.disroot.org - Site Up Code'
key: 'site.score[up,user.disroot.org]'
tags:
- tag: Application
value: 'Site check Up'
triggers:
- uuid: 21a52843cfe24d04814156431b9eb09b
expression: 'last(/Site check/site.score[up,user.disroot.org])<>200'
name: 'user.disroot.org - is down!'
priority: HIGH

317
Template App Postfix.yaml Normal file
View File

@ -0,0 +1,317 @@
zabbix_export:
version: '6.4'
template_groups:
- uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
templates:
- uuid: e5cc2a8a065c4272866ee0277ccc417f
template: 'Template App Postfix'
name: 'Template App Postfix'
groups:
- name: Templates
items:
- uuid: c39bb96edc4949ec8d4870b46fbda929
name: 'Port 25/SMTP is running'
type: SIMPLE
key: 'net.tcp.service[smtp]'
request_method: POST
triggers:
- uuid: 2c8a65a4507f40d098f388b01fbb579e
expression: 'last(/Template App Postfix/net.tcp.service[smtp])<>1'
name: 'SMTP Service is down on {HOST.NAME}'
priority: HIGH
- uuid: b5fa080b20e2420c8dab14c671186fa6
name: 'Postfix Mail Queue'
key: postfix.pfmailq
delay: 5m
history: 30d
units: mails
request_method: POST
tags:
- tag: Application
value: Postfix
triggers:
- uuid: 7e61ac55a28c4af38b1bf5eca24e4d00
expression: 'last(/Template App Postfix/postfix.pfmailq)>400'
name: 'Postfix: Too many mails in mail queue on {HOST.NAME}'
priority: AVERAGE
- uuid: 47e0dfc8d07b4c989cef45d1fb73f7ce
expression: 'last(/Template App Postfix/postfix.pfmailq)>1000'
name: 'Postfix: Waaaay too many mails in mail queue on {HOST.NAME}'
priority: DISASTER
- uuid: 7cd3ee0f095745479f41a130f9f4d0fe
name: 'Postfix Bounced'
key: 'postfix[bounced]'
delay: 10m
history: 30d
units: mails
preprocessing:
- type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: Postfix
triggers:
- uuid: ab1160bd66b24df2bcde8331f7e05e2c
expression: 'last(/Template App Postfix/postfix[bounced])>50'
name: 'Postfix: Too many bounced mails on {HOST.NAME}'
priority: WARNING
- uuid: 2bd4be03b4594fa1b9164c457945314c
name: 'Postfix Bytes Delivered'
key: 'postfix[bytes_delivered]'
delay: '5'
history: 30d
units: B
preprocessing:
- type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: Postfix
- uuid: 58cdfb43b842476d8b2e00043055a574
name: 'Postfix Bytes Received'
key: 'postfix[bytes_received]'
delay: 10m
history: 30d
units: B
preprocessing:
- type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: Postfix
- uuid: bb47ae2f75a74a3d8dc91e01a3f748b3
name: 'Postfix Deferred'
key: 'postfix[deferred]'
delay: 10m
history: 30d
units: mails
preprocessing:
- type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: Postfix
triggers:
- uuid: f6b29344b2a1463f8e1e8754dbf64fbc
expression: 'last(/Template App Postfix/postfix[deferred])>50'
name: 'Postfix: Too many deferred mails on {HOST.NAME}'
priority: HIGH
- uuid: a216b3ef611143dab8b82bc16c8e30f0
name: 'Postfix Delivered'
key: 'postfix[delivered]'
delay: 10m
history: 30d
units: mails
preprocessing:
- type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: Postfix
- uuid: 1d8d84e7ef164558b159efd2a88f402a
name: 'Postfix Discarded'
key: 'postfix[discarded]'
delay: 10m
history: 30d
units: mails
preprocessing:
- type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: Postfix
- uuid: dc6e94bf570c4028b82fad8d23ff4a41
name: 'Postfix Forwarded'
key: 'postfix[forwarded]'
delay: 10m
history: 30d
units: mails
preprocessing:
- type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: Postfix
- uuid: 0cf6423c8e0140d0916b337480b146e2
name: 'Postfix Held'
key: 'postfix[held]'
delay: 10m
history: 30d
units: mails
preprocessing:
- type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: Postfix
triggers:
- uuid: ae21f25514ef4d1b9271ed891a332493
expression: 'last(/Template App Postfix/postfix[held])>100'
name: 'Postfix: Too many held mails in mail queue on {HOST.NAME}'
priority: WARNING
- uuid: a956a25859c541cf8e383775dbb94a62
name: 'Postfix Received'
key: 'postfix[received]'
delay: 10m
history: 30d
units: mails
preprocessing:
- type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: Postfix
- uuid: 6f5fd2fa88ae42a38598e23ffa82e778
name: 'Postfix Rejected'
key: 'postfix[rejected]'
delay: 10m
history: 30d
units: mails
preprocessing:
- type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: Postfix
- uuid: 55da764ec6d84e74a7dd2a221f3fafbb
name: 'Postfix Reject Warnings'
key: 'postfix[reject_warnings]'
delay: 10m
history: 30d
units: mails
preprocessing:
- type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: Postfix
triggers:
- uuid: b8d8d224c132410fbadb7cc751bb5440
expression: 'last(/Template App Postfix/postfix[rejected])>60 or last(/Template App Postfix/postfix[reject_warnings])>60'
name: 'Postfix: Too many rejected mails on {HOST.NAME}'
priority: HIGH
graphs:
- uuid: b623609c08684947935db8eb6b92fb8d
name: 'Postfix Error Pie'
yaxismax: '0'
show_work_period: 'NO'
show_triggers: 'NO'
type: EXPLODED
show_3d: 'YES'
graph_items:
- color: C80000
item:
host: 'Template App Postfix'
key: 'postfix[bounced]'
- sortorder: '1'
color: 00C800
item:
host: 'Template App Postfix'
key: 'postfix[deferred]'
- sortorder: '2'
color: 0000C8
item:
host: 'Template App Postfix'
key: 'postfix[discarded]'
- sortorder: '3'
color: C800C8
item:
host: 'Template App Postfix'
key: 'postfix[rejected]'
- sortorder: '4'
color: 00C8C8
item:
host: 'Template App Postfix'
key: 'postfix[reject_warnings]'
- uuid: 913c1703abdf43db8f840051e7e23d2f
name: 'Postfix Mails Scoreboard'
height: '300'
show_work_period: 'NO'
show_triggers: 'NO'
graph_items:
- color: '009900'
item:
host: 'Template App Postfix'
key: 'postfix[bounced]'
- sortorder: '1'
color: FF99FF
item:
host: 'Template App Postfix'
key: 'postfix[reject_warnings]'
- sortorder: '2'
color: AAAA00
item:
host: 'Template App Postfix'
key: postfix.pfmailq
- sortorder: '3'
color: EE00EE
item:
host: 'Template App Postfix'
key: 'postfix[discarded]'
- sortorder: '4'
color: '880088'
item:
host: 'Template App Postfix'
key: 'postfix[rejected]'
- sortorder: '5'
color: 0000CC
item:
host: 'Template App Postfix'
key: 'postfix[received]'
- sortorder: '6'
color: FF6666
item:
host: 'Template App Postfix'
key: 'postfix[held]'
- sortorder: '7'
color: FFFF33
item:
host: 'Template App Postfix'
key: 'postfix[forwarded]'
- sortorder: '8'
color: 00EE00
item:
host: 'Template App Postfix'
key: 'postfix[delivered]'
- sortorder: '9'
color: EE0000
item:
host: 'Template App Postfix'
key: 'postfix[deferred]'
- uuid: 4481f1f55f1f465ab51994f9bd2ed575
name: 'Postfix Traffic'
show_work_period: 'NO'
show_triggers: 'NO'
graph_items:
- color: C80000
item:
host: 'Template App Postfix'
key: 'postfix[bytes_received]'
- sortorder: '1'
color: 00C800
item:
host: 'Template App Postfix'
key: 'postfix[bytes_delivered]'

View File

@ -0,0 +1,80 @@
zabbix_export:
version: '6.4'
template_groups:
-
uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
templates:
-
uuid: 29faeb6410e24c959b92967f466750e6
template: 'Template App Zabbix Agent'
name: 'Template App Zabbix Agent'
groups:
-
name: Templates
items:
-
uuid: 1f436557772f4629a425ef311b306a70
name: 'Host name of zabbix_agentd running'
key: agent.hostname
delay: 1h
history: 1w
trends: '0'
value_type: CHAR
#request_method: POST
tags:
-
tag: Application
value: 'Zabbix agent'
triggers:
-
uuid: ed938d0e260647ab99ee603f69afea90
expression: '(last(/Template App Zabbix Agent/agent.hostname,#1)<>last(/Template App Zabbix Agent/agent.hostname,#2))>0'
name: 'Host name of zabbix_agentd was changed on {HOST.NAME}'
priority: INFO
-
uuid: bf419e8cb21342e596cd3727af5b3ebf
name: 'Agent ping'
key: agent.ping
history: 1w
description: 'The agent always returns 1 for this item. It could be used in combination with nodata() for availability check.'
valuemap:
name: 'Zabbix agent ping status'
#request_method: POST
tags:
-
tag: Application
value: 'Zabbix agent'
triggers:
-
uuid: 43555408eeab4ee2bd0d2b059dcd488f
expression: 'nodata(/Template App Zabbix Agent/agent.ping,5m)=1'
name: 'Zabbix agent on {HOST.NAME} is unreachable for 5 minutes'
priority: AVERAGE
-
uuid: 848edd2ec1cf4a279f65db59e2b83039
name: 'Version of zabbix_agent(d) running'
key: agent.version
delay: 1h
history: 1w
trends: '0'
value_type: CHAR
#request_method: POST
tags:
-
tag: Application
value: 'Zabbix agent'
triggers:
-
uuid: b4663ca19dc54caa8ced01bf0fc84c1d
expression: '(last(/Template App Zabbix Agent/agent.version,#1)<>last(/Template App Zabbix Agent/agent.version,#2))>0'
name: 'Version of zabbix_agent(d) was changed on {HOST.NAME}'
priority: INFO
valuemaps:
-
uuid: 2bbdd800972b4752b18d300712301e9d
name: 'Zabbix agent ping status'
mappings:
-
value: '1'
newvalue: Up

View File

@ -1,80 +1,66 @@
zabbix_export:
version: '6.4'
template_groups:
-
uuid: 7df96b18c230490a9a0a9e2307226338
- uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
templates:
-
uuid: 29faeb6410e24c959b92967f466750e6
- uuid: 29faeb6410e24c959b92967f466750e6
template: 'Template App Zabbix Agent'
name: 'Template App Zabbix Agent'
groups:
-
name: Templates
- name: Templates
items:
-
uuid: 1f436557772f4629a425ef311b306a70
- uuid: 1f436557772f4629a425ef311b306a70
name: 'Host name of zabbix_agentd running'
key: agent.hostname
delay: 1h
history: 1w
trends: '0'
value_type: CHAR
#request_method: POST
request_method: POST
tags:
-
tag: Application
- tag: Application
value: 'Zabbix agent'
triggers:
-
uuid: ed938d0e260647ab99ee603f69afea90
- uuid: ed938d0e260647ab99ee603f69afea90
expression: '(last(/Template App Zabbix Agent/agent.hostname,#1)<>last(/Template App Zabbix Agent/agent.hostname,#2))>0'
name: 'Host name of zabbix_agentd was changed on {HOST.NAME}'
priority: INFO
-
uuid: bf419e8cb21342e596cd3727af5b3ebf
- uuid: bf419e8cb21342e596cd3727af5b3ebf
name: 'Agent ping'
key: agent.ping
history: 1w
description: 'The agent always returns 1 for this item. It could be used in combination with nodata() for availability check.'
valuemap:
name: 'Zabbix agent ping status'
#request_method: POST
request_method: POST
tags:
-
tag: Application
- tag: Application
value: 'Zabbix agent'
triggers:
-
uuid: 43555408eeab4ee2bd0d2b059dcd488f
- uuid: 43555408eeab4ee2bd0d2b059dcd488f
expression: 'nodata(/Template App Zabbix Agent/agent.ping,5m)=1'
name: 'Zabbix agent on {HOST.NAME} is unreachable for 5 minutes'
priority: AVERAGE
-
uuid: 848edd2ec1cf4a279f65db59e2b83039
- uuid: 848edd2ec1cf4a279f65db59e2b83039
name: 'Version of zabbix_agent(d) running'
key: agent.version
delay: 1h
history: 1w
trends: '0'
value_type: CHAR
#request_method: POST
request_method: POST
tags:
-
tag: Application
- tag: Application
value: 'Zabbix agent'
triggers:
-
uuid: b4663ca19dc54caa8ced01bf0fc84c1d
- uuid: b4663ca19dc54caa8ced01bf0fc84c1d
expression: '(last(/Template App Zabbix Agent/agent.version,#1)<>last(/Template App Zabbix Agent/agent.version,#2))>0'
name: 'Version of zabbix_agent(d) was changed on {HOST.NAME}'
priority: INFO
valuemaps:
-
uuid: 2bbdd800972b4752b18d300712301e9d
- uuid: 2bbdd800972b4752b18d300712301e9d
name: 'Zabbix agent ping status'
mappings:
-
value: '1'
- value: '1'
newvalue: Up

View File

@ -0,0 +1,788 @@
zabbix_export:
version: '6.4'
template_groups:
- uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
templates:
- uuid: e2d2b4e4ac28483996cc11fe42823d57
template: 'Template App Zabbix Server'
name: 'Template App Zabbix Server'
groups:
- name: Templates
items:
- uuid: cac7bb12993945fe848df86f7c4502ed
name: 'Zabbix $4 $2 processes, in %'
type: INTERNAL
key: 'zabbix[process,alerter,avg,busy]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
triggers:
- uuid: 20963ffd33864196ab909b60d7acdc0a
expression: 'avg(/Template App Zabbix Server/zabbix[process,alerter,avg,busy],10m)>75'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'avg(/Template App Zabbix Server/zabbix[process,alerter,avg,busy],10m)<65'
name: 'Zabbix alerter processes more than 75% busy'
priority: AVERAGE
- uuid: 301e7fe93a024444b19766e665e9d156
name: 'Zabbix $4 $2 processes, in %'
type: INTERNAL
key: 'zabbix[process,configuration syncer,avg,busy]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
triggers:
- uuid: 63d681dba0b94487886a1d9b3360d1d1
expression: 'avg(/Template App Zabbix Server/zabbix[process,configuration syncer,avg,busy],10m)>75'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'avg(/Template App Zabbix Server/zabbix[process,configuration syncer,avg,busy],10m)<65'
name: 'Zabbix configuration syncer processes more than 75% busy'
priority: AVERAGE
- uuid: 7507b0f58c6748d68f7bf1c0f802566c
name: 'Zabbix $4 $2 processes, in %'
type: INTERNAL
key: 'zabbix[process,db watchdog,avg,busy]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
triggers:
- uuid: 846ed1f1ac1a4f6896ec264c2dfd6e6e
expression: 'avg(/Template App Zabbix Server/zabbix[process,db watchdog,avg,busy],10m)>75'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'avg(/Template App Zabbix Server/zabbix[process,db watchdog,avg,busy],10m)<65'
name: 'Zabbix db watchdog processes more than 75% busy'
priority: AVERAGE
- uuid: db7fee2552d5487fa608cf12f69aef41
name: 'Zabbix $4 $2 processes, in %'
type: INTERNAL
key: 'zabbix[process,discoverer,avg,busy]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
triggers:
- uuid: 5c470ddbda674fe0a789447dd120c36d
expression: 'avg(/Template App Zabbix Server/zabbix[process,discoverer,avg,busy],10m)>75'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'avg(/Template App Zabbix Server/zabbix[process,discoverer,avg,busy],10m)<65'
name: 'Zabbix discoverer processes more than 75% busy'
priority: AVERAGE
- uuid: d12ce718fad34644b92d98cf2096e7df
name: 'Zabbix $4 $2 processes, in %'
type: INTERNAL
key: 'zabbix[process,escalator,avg,busy]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
triggers:
- uuid: 9895b4318f50487d9c7f25abd48bb1a1
expression: 'avg(/Template App Zabbix Server/zabbix[process,escalator,avg,busy],10m)>75'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'avg(/Template App Zabbix Server/zabbix[process,escalator,avg,busy],10m)<65'
name: 'Zabbix escalator processes more than 75% busy'
priority: AVERAGE
- uuid: 4d92eb7b411345cfbd6e2ea2ff5c1788
name: 'Zabbix $4 $2 processes, in %'
type: INTERNAL
key: 'zabbix[process,history syncer,avg,busy]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
triggers:
- uuid: a99ffd43a05e40f7abee83aa8c6c3ce5
expression: 'avg(/Template App Zabbix Server/zabbix[process,history syncer,avg,busy],10m)>75'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'avg(/Template App Zabbix Server/zabbix[process,history syncer,avg,busy],10m)<65'
name: 'Zabbix history syncer processes more than 75% busy'
priority: AVERAGE
- uuid: 23f448b5acba472881857647ca1bb614
name: 'Zabbix $4 $2 processes, in %'
type: INTERNAL
key: 'zabbix[process,housekeeper,avg,busy]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
triggers:
- uuid: faa349f84dc043658fe51294ad87f766
expression: 'avg(/Template App Zabbix Server/zabbix[process,housekeeper,avg,busy],30m)>75'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'avg(/Template App Zabbix Server/zabbix[process,housekeeper,avg,busy],30m)<65'
name: 'Zabbix housekeeper processes more than 75% busy'
priority: AVERAGE
- uuid: 419e937c4a1d4fa09c4b50ca88cbe3e2
name: 'Zabbix $4 $2 processes, in %'
type: INTERNAL
key: 'zabbix[process,http poller,avg,busy]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
triggers:
- uuid: c296c1ecdba44bd5b826ab4a86bbc300
expression: 'avg(/Template App Zabbix Server/zabbix[process,http poller,avg,busy],10m)>75'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'avg(/Template App Zabbix Server/zabbix[process,http poller,avg,busy],10m)<65'
name: 'Zabbix http poller processes more than 75% busy'
priority: AVERAGE
- uuid: d5d469d5eb2e4e0ca0afc89b603d4065
name: 'Zabbix $4 $2 processes, in %'
type: INTERNAL
key: 'zabbix[process,icmp pinger,avg,busy]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
triggers:
- uuid: d5c6ea5711594a9587ab8d7094f1f481
expression: 'avg(/Template App Zabbix Server/zabbix[process,icmp pinger,avg,busy],10m)>75'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'avg(/Template App Zabbix Server/zabbix[process,icmp pinger,avg,busy],10m)<65'
name: 'Zabbix icmp pinger processes more than 75% busy'
priority: AVERAGE
- uuid: c11d415de9c64fd6911f82d49db140d3
name: 'Zabbix $4 $2 processes, in %'
type: INTERNAL
key: 'zabbix[process,ipmi poller,avg,busy]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
triggers:
- uuid: 5a4f841292fd4bb5bec2e28340c9e4c2
expression: 'avg(/Template App Zabbix Server/zabbix[process,ipmi poller,avg,busy],10m)>75'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'avg(/Template App Zabbix Server/zabbix[process,ipmi poller,avg,busy],10m)<65'
name: 'Zabbix ipmi poller processes more than 75% busy'
priority: AVERAGE
- uuid: a8168691df3d43f1a1e106062f18ee06
name: 'Zabbix $4 $2 processes, in %'
type: INTERNAL
key: 'zabbix[process,java poller,avg,busy]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
triggers:
- uuid: d7705ba9c3f74554ac21c59c9a0dcc11
expression: 'avg(/Template App Zabbix Server/zabbix[process,java poller,avg,busy],10m)>75'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'avg(/Template App Zabbix Server/zabbix[process,java poller,avg,busy],10m)<65'
name: 'Zabbix java poller processes more than 75% busy'
priority: AVERAGE
- uuid: cbec202e15be49de93dc0c5f58824ae3
name: 'Zabbix $4 $2 processes, in %'
type: INTERNAL
key: 'zabbix[process,poller,avg,busy]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
triggers:
- uuid: bb50da4052134ef1a478bface291b50a
expression: 'avg(/Template App Zabbix Server/zabbix[process,poller,avg,busy],10m)>75'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'avg(/Template App Zabbix Server/zabbix[process,poller,avg,busy],10m)<65'
name: 'Zabbix poller processes more than 75% busy'
priority: AVERAGE
- uuid: baf22e095078435d978a6c4374500db4
name: 'Zabbix $4 $2 processes, in %'
type: INTERNAL
key: 'zabbix[process,proxy poller,avg,busy]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
triggers:
- uuid: 6a884c1fbf254637bb74b68571ee2ffa
expression: 'avg(/Template App Zabbix Server/zabbix[process,proxy poller,avg,busy],10m)>75'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'avg(/Template App Zabbix Server/zabbix[process,proxy poller,avg,busy],10m)<65'
name: 'Zabbix proxy poller processes more than 75% busy'
priority: AVERAGE
- uuid: 6fc9c055d4894c19b3b1075db106d995
name: 'Zabbix $4 $2 processes, in %'
type: INTERNAL
key: 'zabbix[process,self-monitoring,avg,busy]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
triggers:
- uuid: bf730ed3313f45248f483289c704f5e9
expression: 'min(/Template App Zabbix Server/zabbix[process,self-monitoring,avg,busy],10m)>75'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'min(/Template App Zabbix Server/zabbix[process,self-monitoring,avg,busy],10m)<65'
name: 'Zabbix self-monitoring processes more than 75% busy'
priority: AVERAGE
- uuid: cb9a7c4f3373496da97f3e0b8c978366
name: 'Zabbix $4 $2 processes, in %'
type: INTERNAL
key: 'zabbix[process,snmp trapper,avg,busy]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
triggers:
- uuid: 821611786e5e49bf941cbca370d6ed6b
expression: 'avg(/Template App Zabbix Server/zabbix[process,snmp trapper,avg,busy],10m)>75'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'avg(/Template App Zabbix Server/zabbix[process,snmp trapper,avg,busy],10m)<65'
name: 'Zabbix snmp trapper processes more than 75% busy'
priority: AVERAGE
- uuid: caeb7ecc88cc4c14bb80f901284be9a5
name: 'Zabbix $4 $2 processes, in %'
type: INTERNAL
key: 'zabbix[process,task manager,avg,busy]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
triggers:
- uuid: 37c1c6ec07474a8a95b06c3c28e4bf96
expression: 'avg(/Template App Zabbix Server/zabbix[process,task manager,avg,busy],10m)>75'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'avg(/Template App Zabbix Server/zabbix[process,task manager,avg,busy],10m)<65'
name: 'Zabbix task manager processes more than 75% busy'
priority: AVERAGE
- uuid: 3af0ec03af6542e18aaff505e3806089
name: 'Zabbix $4 $2 processes, in %'
type: INTERNAL
key: 'zabbix[process,timer,avg,busy]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
triggers:
- uuid: 0c7715df608f4736a7077ff2f6098adc
expression: 'avg(/Template App Zabbix Server/zabbix[process,timer,avg,busy],10m)>75'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'avg(/Template App Zabbix Server/zabbix[process,timer,avg,busy],10m)<65'
name: 'Zabbix timer processes more than 75% busy'
priority: AVERAGE
- uuid: 0dd727eddfaf45a9a819a9d64c5b72c7
name: 'Zabbix $4 $2 processes, in %'
type: INTERNAL
key: 'zabbix[process,trapper,avg,busy]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
triggers:
- uuid: 197c04bbf5204ce7ac80630f2948b6b0
expression: 'avg(/Template App Zabbix Server/zabbix[process,trapper,avg,busy],10m)>75'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'avg(/Template App Zabbix Server/zabbix[process,trapper,avg,busy],10m)<65'
name: 'Zabbix trapper processes more than 75% busy'
priority: AVERAGE
- uuid: 4fd24bdb8935435e8617c9607b9c6ca1
name: 'Zabbix $4 $2 processes, in %'
type: INTERNAL
key: 'zabbix[process,unreachable poller,avg,busy]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
triggers:
- uuid: b0168864ef6849f185deb6ef22a056fa
expression: 'avg(/Template App Zabbix Server/zabbix[process,unreachable poller,avg,busy],10m)>75'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'avg(/Template App Zabbix Server/zabbix[process,unreachable poller,avg,busy],10m)<65'
name: 'Zabbix unreachable poller processes more than 75% busy'
priority: AVERAGE
- uuid: bad00e43cd064a0fb3a4b65b71bea926
name: 'Zabbix $4 $2 processes, in %'
type: INTERNAL
key: 'zabbix[process,vmware collector,avg,busy]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
triggers:
- uuid: 7e0881bb1b384deba18439ae098a7fbd
expression: 'avg(/Template App Zabbix Server/zabbix[process,vmware collector,avg,busy],10m)>75'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'avg(/Template App Zabbix Server/zabbix[process,vmware collector,avg,busy],10m)<65'
name: 'Zabbix vmware collector processes more than 75% busy'
priority: AVERAGE
- uuid: 2b2f695ed1ef4a7a871c80df9c911e90
name: 'Zabbix queue over $2'
type: INTERNAL
key: 'zabbix[queue,10m]'
delay: 10m
history: 1w
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
triggers:
- uuid: 53883a57e663421ca5fa794067a267b4
expression: 'min(/Template App Zabbix Server/zabbix[queue,10m],10m)>100'
name: 'More than 100 items having missing data for more than 10 minutes'
priority: WARNING
description: 'zabbix[queue,10m] item is collecting data about how many items are missing data for more than 10 minutes (next parameter)'
- uuid: aaf58555c0774e848f51a351b6ae8462
name: 'Zabbix queue'
type: INTERNAL
key: 'zabbix[queue]'
delay: 10m
history: 1w
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
- uuid: 108aed58a24e40ba927d395c9e5fa471
name: 'Zabbix configuration cache, % free'
type: INTERNAL
key: 'zabbix[rcache,buffer,pfree]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
triggers:
- uuid: 868eb3e0a28e43eda02ba2e0276abc99
expression: 'min(/Template App Zabbix Server/zabbix[rcache,buffer,pfree],10m)<25'
name: 'Less than 25% free in the configuration cache'
priority: AVERAGE
description: 'Consider increasing CacheSize in the zabbix_server.conf configuration file'
- uuid: 73375c845e8343e3a3921174c5f7c946
name: 'Zabbix value cache, % free'
type: INTERNAL
key: 'zabbix[vcache,buffer,pfree]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
triggers:
- uuid: 9d152e7c0048444a8b2b614a18c88af9
expression: 'min(/Template App Zabbix Server/zabbix[vcache,buffer,pfree],10m)<5'
name: 'Less than 5% free in the value cache'
priority: AVERAGE
- uuid: 69b14487a9744dbb866f2e6ee131d0e5
name: 'Zabbix value cache hits'
type: INTERNAL
key: 'zabbix[vcache,cache,hits]'
history: 1w
value_type: FLOAT
units: vps
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
- uuid: c78439859fd248cdb15e1eee37be2220
name: 'Zabbix value cache misses'
type: INTERNAL
key: 'zabbix[vcache,cache,misses]'
history: 1w
value_type: FLOAT
units: vps
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
- uuid: 07379df0114445b7b06818736f011ca6
name: 'Zabbix value cache operating mode'
type: INTERNAL
key: 'zabbix[vcache,cache,mode]'
history: 1w
valuemap:
name: 'Value cache operating mode'
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
triggers:
- uuid: ee3db7e7bc104f1598ca36e735bce53f
expression: 'last(/Template App Zabbix Server/zabbix[vcache,cache,mode])=1'
name: 'Zabbix value cache working in low memory mode'
priority: HIGH
- uuid: 47d68dc9471f418bb97a014fe4318856
name: 'Zabbix vmware cache, % free'
type: INTERNAL
key: 'zabbix[vmware,buffer,pfree]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
triggers:
- uuid: 0e433df72cc947e69769018fdcb04fe9
expression: 'min(/Template App Zabbix Server/zabbix[vmware,buffer,pfree],10m)<25'
name: 'Less than 25% free in the vmware cache'
priority: AVERAGE
- uuid: 85c5b8695936478797106f3109d39e63
name: 'Zabbix $2 write cache, % free'
type: INTERNAL
key: 'zabbix[wcache,history,pfree]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
triggers:
- uuid: ad581d6c23e4418fbd8850eeb402ba7e
expression: 'min(/Template App Zabbix Server/zabbix[wcache,history,pfree],10m)<25'
name: 'Less than 25% free in the history cache'
priority: AVERAGE
- uuid: 449a68361d484421b1efb60ee991f1e8
name: 'Zabbix history index cache, % free'
type: INTERNAL
key: 'zabbix[wcache,index,pfree]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
triggers:
- uuid: 51b36248e80041e3bf8096e46bcc50f9
expression: 'min(/Template App Zabbix Server/zabbix[wcache,index,pfree],10m)<25'
name: 'Less than 25% free in the history index cache'
priority: AVERAGE
- uuid: 53cfb78d092e49138b879e88cf1d9b0f
name: 'Zabbix $2 write cache, % free'
type: INTERNAL
key: 'zabbix[wcache,trend,pfree]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
triggers:
- uuid: 5c966d8845c647a0afb6540fcbaa8571
expression: 'min(/Template App Zabbix Server/zabbix[wcache,trend,pfree],10m)<25'
name: 'Less than 25% free in the trends cache'
priority: AVERAGE
- uuid: db364af6bcb24881850f3979933fccb0
name: 'Values processed by Zabbix server per second'
type: INTERNAL
key: 'zabbix[wcache,values]'
history: 1w
value_type: FLOAT
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: 'Zabbix server'
dashboards:
- uuid: 6815a90fb9b745fd8f1b1f47697893d6
name: 'Zabbix server health'
pages:
- widgets:
- type: graph
width: '12'
height: '6'
fields:
- type: GRAPH
name: graphid
value:
host: 'Template App Zabbix Server'
name: 'Zabbix server performance'
- type: graph
x: '12'
width: '12'
height: '6'
fields:
- type: GRAPH
name: graphid
value:
host: 'Template App Zabbix Server'
name: 'Zabbix data gathering process busy %'
- type: graph
'y': '6'
width: '12'
height: '5'
fields:
- type: GRAPH
name: graphid
value:
host: 'Template App Zabbix Server'
name: 'Zabbix internal process busy %'
- type: graph
x: '12'
'y': '6'
width: '12'
height: '5'
fields:
- type: GRAPH
name: graphid
value:
host: 'Template App Zabbix Server'
name: 'Zabbix cache usage, % free'
- type: graph
'y': '11'
width: '24'
height: '5'
fields:
- type: GRAPH
name: graphid
value:
host: 'Template App Zabbix Server'
name: 'Value cache effectiveness'
valuemaps:
- uuid: 97bbea700550483bbd8405b4dd9d8005
name: 'Value cache operating mode'
mappings:
- value: '0'
newvalue: Normal
- value: '1'
newvalue: 'Low memory'
graphs:
- uuid: d2841f4fbb33411d9ab1b1b48e7e959f
name: 'Value cache effectiveness'
type: STACKED
graph_items:
- color: C80000
item:
host: 'Template App Zabbix Server'
key: 'zabbix[vcache,cache,misses]'
- sortorder: '1'
color: 00C800
item:
host: 'Template App Zabbix Server'
key: 'zabbix[vcache,cache,hits]'
- uuid: 7d699465cae24c33b93605653a0c9ae7
name: 'Zabbix cache usage, % free'
ymin_type_1: FIXED
ymax_type_1: FIXED
graph_items:
- color: '009900'
item:
host: 'Template App Zabbix Server'
key: 'zabbix[wcache,trend,pfree]'
- sortorder: '1'
color: DD0000
item:
host: 'Template App Zabbix Server'
key: 'zabbix[rcache,buffer,pfree]'
- sortorder: '2'
color: 00DDDD
item:
host: 'Template App Zabbix Server'
key: 'zabbix[wcache,index,pfree]'
- sortorder: '3'
color: 3333FF
item:
host: 'Template App Zabbix Server'
key: 'zabbix[wcache,history,pfree]'
- sortorder: '4'
color: '999900'
item:
host: 'Template App Zabbix Server'
key: 'zabbix[vcache,buffer,pfree]'
- sortorder: '5'
color: 00FF00
item:
host: 'Template App Zabbix Server'
key: 'zabbix[vmware,buffer,pfree]'
- uuid: e4fddc2e4924446fbf17122d752f955f
name: 'Zabbix data gathering process busy %'
ymin_type_1: FIXED
ymax_type_1: FIXED
graph_items:
- color: '990099'
item:
host: 'Template App Zabbix Server'
key: 'zabbix[process,trapper,avg,busy]'
- sortorder: '1'
color: '990000'
item:
host: 'Template App Zabbix Server'
key: 'zabbix[process,poller,avg,busy]'
- sortorder: '2'
color: 0000EE
item:
host: 'Template App Zabbix Server'
key: 'zabbix[process,ipmi poller,avg,busy]'
- sortorder: '3'
color: FF33FF
item:
host: 'Template App Zabbix Server'
key: 'zabbix[process,discoverer,avg,busy]'
- sortorder: '4'
item:
host: 'Template App Zabbix Server'
key: 'zabbix[process,icmp pinger,avg,busy]'
- sortorder: '5'
color: '003300'
item:
host: 'Template App Zabbix Server'
key: 'zabbix[process,http poller,avg,busy]'
- sortorder: '6'
color: CCCC00
item:
host: 'Template App Zabbix Server'
key: 'zabbix[process,proxy poller,avg,busy]'
- sortorder: '7'
color: 33FFFF
item:
host: 'Template App Zabbix Server'
key: 'zabbix[process,unreachable poller,avg,busy]'
- sortorder: '8'
color: DD0000
item:
host: 'Template App Zabbix Server'
key: 'zabbix[process,java poller,avg,busy]'
- sortorder: '9'
color: '000099'
item:
host: 'Template App Zabbix Server'
key: 'zabbix[process,snmp trapper,avg,busy]'
- sortorder: '10'
color: 00FF00
item:
host: 'Template App Zabbix Server'
key: 'zabbix[process,vmware collector,avg,busy]'
- uuid: 5ec89f81a91d4500880201799f778a20
name: 'Zabbix internal process busy %'
ymin_type_1: FIXED
ymax_type_1: FIXED
graph_items:
- color: 00EE00
item:
host: 'Template App Zabbix Server'
key: 'zabbix[process,timer,avg,busy]'
- sortorder: '1'
color: 0000EE
item:
host: 'Template App Zabbix Server'
key: 'zabbix[process,escalator,avg,busy]'
- sortorder: '2'
color: FFAA00
item:
host: 'Template App Zabbix Server'
key: 'zabbix[process,housekeeper,avg,busy]'
- sortorder: '3'
color: 00EEEE
item:
host: 'Template App Zabbix Server'
key: 'zabbix[process,alerter,avg,busy]'
- sortorder: '4'
color: '990099'
item:
host: 'Template App Zabbix Server'
key: 'zabbix[process,configuration syncer,avg,busy]'
- sortorder: '5'
color: '666600'
item:
host: 'Template App Zabbix Server'
key: 'zabbix[process,db watchdog,avg,busy]'
- sortorder: '6'
color: EE0000
item:
host: 'Template App Zabbix Server'
key: 'zabbix[process,history syncer,avg,busy]'
- sortorder: '7'
color: FF66FF
item:
host: 'Template App Zabbix Server'
key: 'zabbix[process,self-monitoring,avg,busy]'
- sortorder: '8'
color: '009900'
item:
host: 'Template App Zabbix Server'
key: 'zabbix[process,task manager,avg,busy]'
- uuid: 3d256a358da74f469700eea05173343a
name: 'Zabbix server performance'
graph_items:
- drawtype: GRADIENT_LINE
color: 00C800
item:
host: 'Template App Zabbix Server'
key: 'zabbix[wcache,values]'
- sortorder: '1'
drawtype: GRADIENT_LINE
color: C80000
yaxisside: RIGHT
item:
host: 'Template App Zabbix Server'
key: 'zabbix[queue]'

View File

@ -0,0 +1,640 @@
zabbix_export:
version: '6.4'
template_groups:
-
uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
templates:
-
uuid: 2a0bf3ed9dcb4ea3b2d1bb1c3c67d08c
template: 'Template Containers'
name: 'Template Containers'
templates:
-
name: 'Template App Zabbix Agent'
groups:
-
name: Templates
items:
-
uuid: bd4a837bc9d04eb1b14cd747e7fe9936
name: 'Check OS version'
key: ct.issue
trends: '0'
value_type: TEXT
tags:
-
tag: Application
value: OS
-
uuid: 2c2a0494d2be490fb87958809c1e64a5
name: 'Host local time'
key: ct.localtime
history: 1w
value_type: FLOAT
units: unixtime
#request_method: POST
tags:
-
tag: Application
value: General
-
tag: Application
value: OS
-
uuid: 9015e63c80664d10aa2fcb07803c35f0
name: 'Number of processes'
key: ct.processes
history: 1w
value_type: FLOAT
description: 'Total number of processes in any state.'
#request_method: POST
tags:
-
tag: Application
value: Processes
triggers:
-
uuid: 7b050ef8ba224bb287500f9c0c432e51
expression: 'avg(/Template Containers/ct.processes,5m)>360'
name: 'Too many processes on {HOST.NAME}'
priority: WARNING
-
uuid: 21206e98dac54fa2abfadd24cb19f3ef
name: 'Available memory'
key: ct.ramfree
history: 1w
value_type: FLOAT
units: B
description: 'Available memory is defined as free+cached+buffers memory.'
#request_method: POST
tags:
-
tag: Application
value: Memory
triggers:
-
uuid: 9385b95fab7c4c5ab488391db49c605c
expression: 'last(/Template Containers/ct.ramfree)<20M'
name: 'Lack of available memory on server {HOST.NAME}'
priority: AVERAGE
-
uuid: 1693208d45ca45ecbfcb8bee72358702
name: 'Free memory %'
key: ct.ramfree_proc
delay: 30s
value_type: FLOAT
units: '%'
#request_method: POST
tags:
-
tag: Application
value: Memory
-
uuid: 259596fd666a4daa98c70c64727f106b
name: 'Total memory'
key: ct.ramtotal
delay: 1h
history: 1w
value_type: FLOAT
units: B
#request_method: POST
tags:
-
tag: Application
value: Memory
-
uuid: dcf2518ae91546a297c333af00ecbff8
name: 'Used memory'
key: ct.ramused
history: 1w
value_type: FLOAT
units: B
tags:
-
tag: Application
value: Memory
-
uuid: f6cbea88973b4c26a506b9f2815850e4
name: 'Free swap space'
key: ct.swapfree
history: 1w
value_type: FLOAT
units: B
#request_method: POST
tags:
-
tag: Application
value: Memory
-
uuid: f257ad585bd04e3e8ae11f6eb52ab906
name: 'Free swap space in %'
key: ct.swapfree_proc
delay: 2m
history: 1w
value_type: FLOAT
units: '%'
#request_method: POST
tags:
-
tag: Application
value: Memory
triggers:
-
uuid: e2d6356947d849619533c047e4b9b2f7
expression: 'last(/Template Containers/ct.swapfree_proc)<50'
name: 'Lack of free swap space on {HOST.NAME}'
status: DISABLED
priority: WARNING
description: 'It probably means that the systems requires more physical memory.'
-
uuid: 79fd627f5bb149a29928b916df583773
name: 'Total swap space'
key: ct.swaptotal
delay: 5s
history: 1w
value_type: FLOAT
units: B
#request_method: POST
tags:
-
tag: Application
value: Memory
-
uuid: 75ca486de2674db99a86a107bf6d2e1c
name: 'System uptime'
key: ct.uptime
delay: 10m
history: 1w
value_type: FLOAT
units: uptime
#request_method: POST
tags:
-
tag: Application
value: General
-
tag: Application
value: OS
triggers:
-
uuid: f0a28dbe802245dfae81fb99463c69e8
expression: 'change(/Template Containers/ct.uptime)<0'
name: '{HOST.NAME} has just been restarted'
status: DISABLED
priority: INFO
-
uuid: 5c7f36dad687457082c19ba8d0ee8465
name: 'Maximum number of opened files'
key: kernel.maxfiles
delay: 1h
history: 1w
value_type: FLOAT
description: 'It could be increased by using sysctrl utility or modifying file /etc/sysctl.conf.'
preprocessing:
-
type: RTRIM
parameters:
- '3'
#request_method: POST
tags:
-
tag: Application
value: OS
triggers:
-
uuid: 502e41028ba542469b87d7825071ec50
expression: 'last(/Template Containers/kernel.maxfiles)<1024'
name: 'Configured max number of opened files is too low on {HOST.NAME}'
priority: INFO
-
uuid: 56196557228142f4b4b1b621c52c471a
name: 'Maximum number of processes'
key: kernel.maxproc
delay: 1h
history: 1w
value_type: FLOAT
description: 'It could be increased by using sysctrl utility or modifying file /etc/sysctl.conf.'
#request_method: POST
tags:
-
tag: Application
value: OS
triggers:
-
uuid: 63102e632a3e46c283de5e47e5555ab2
expression: 'last(/Template Containers/kernel.maxproc)<256'
name: 'Configured max number of processes is too low on {HOST.NAME}'
priority: INFO
-
uuid: e41ad00080c44b67b17b23eeb636d797
name: 'Host boot time'
key: system.boottime
delay: 10m
history: 1w
value_type: FLOAT
units: unixtime
#request_method: POST
tags:
-
tag: Application
value: General
-
tag: Application
value: OS
-
uuid: 95c8bde2b7de414d95393cd83cfe4524
name: 'Host name'
key: system.hostname
delay: 1h
history: 1w
trends: '0'
value_type: CHAR
description: 'System host name.'
inventory_link: NAME
#request_method: POST
tags:
-
tag: Application
value: General
-
tag: Application
value: OS
triggers:
-
uuid: 1399a6aca6134bf58120c1b2cc2f32e5
expression: '(last(/Template Containers/system.hostname,#1)<>last(/Template Containers/system.hostname,#2))>0'
name: 'Hostname was changed on {HOST.NAME}'
priority: INFO
-
uuid: d3aefc22659244cba82aab6e6fb2ee15
name: 'System information'
key: system.uname
delay: 1h
history: 1w
trends: '0'
value_type: CHAR
description: 'The information as normally returned by ''uname -a''.'
inventory_link: OS
#request_method: POST
tags:
-
tag: Application
value: General
-
tag: Application
value: OS
triggers:
-
uuid: 0dcd0f691c0b4a7d9c6b2834e1909fe3
expression: '(last(/Template Containers/system.uname,#1)<>last(/Template Containers/system.uname,#2))>0'
name: 'Host information was changed on {HOST.NAME}'
priority: INFO
-
uuid: 1bbf2e280d684da9967edd614eef117e
name: 'Number of logged in users'
key: system.users.num
history: 1w
value_type: FLOAT
description: 'Number of users who are currently logged in.'
#request_method: POST
tags:
-
tag: Application
value: OS
-
tag: Application
value: Security
-
uuid: fc384b1da607499cb9beaf6d1400b756
name: 'Checksum of $1'
key: 'vfs.file.cksum[/etc/passwd]'
delay: 1h
history: 1w
#request_method: POST
tags:
-
tag: Application
value: Security
triggers:
-
uuid: cf943a0ff206434f952cf4afccf7d56a
expression: '(last(/Template Containers/vfs.file.cksum[/etc/passwd],#1)<>last(/Template Containers/vfs.file.cksum[/etc/passwd],#2))>0'
name: '/etc/passwd has been changed on {HOST.NAME}'
priority: WARNING
manual_close: 'YES'
-
uuid: 7e0bfdb626d54991ad3bec1e7a475454
name: 'Checksum of $1'
key: 'vfs.file.cksum[/etc/ssh/authorized_keys/root]'
delay: 30s
tags:
-
tag: Application
value: Security
triggers:
-
uuid: 01471f5580da4f508978209d800bb93a
expression: '(last(/Template Containers/vfs.file.cksum[/etc/ssh/authorized_keys/root],#1)<>last(/Template Containers/vfs.file.cksum[/etc/ssh/authorized_keys/root],#2))>0'
name: 'SSH Authorized keys has been changed on {HOST.NAME}'
priority: DISASTER
discovery_rules:
-
uuid: e73a591b26e54034a3882898035c842c
name: 'Network interface discovery'
key: net.if.discovery
delay: 1h
filter:
conditions:
-
macro: '{#IFNAME}'
value: '@Network interfaces for discovery'
formulaid: A
description: 'Discovery of network interfaces as defined in global regular expression "Network interfaces for discovery".'
item_prototypes:
-
uuid: 5424543ac5094381b3780ab87c7662df
name: 'Incoming network traffic on $1'
key: 'net.if.in[{#IFNAME}]'
history: 1w
units: bps
preprocessing:
-
type: CHANGE_PER_SECOND
parameters:
- ''
-
type: MULTIPLIER
parameters:
- '8'
#request_method: POST
tags:
-
tag: Application
value: 'Network interfaces'
-
uuid: 4a0a9d9e65064bf7a10f3c4e86e3421e
name: 'Outgoing network traffic on $1'
key: 'net.if.out[{#IFNAME}]'
history: 1w
units: bps
preprocessing:
-
type: CHANGE_PER_SECOND
parameters:
- ''
-
type: MULTIPLIER
parameters:
- '8'
#request_method: POST
tags:
-
tag: Application
value: 'Network interfaces'
graph_prototypes:
-
uuid: 5c3afcd1707147aabdff69c4a51a3943
name: 'Network traffic on {#IFNAME}'
ymin_type_1: FIXED
graph_items:
-
drawtype: GRADIENT_LINE
color: 00AA00
item:
host: 'Template Containers'
key: 'net.if.in[{#IFNAME}]'
-
sortorder: '1'
drawtype: GRADIENT_LINE
color: 3333FF
item:
host: 'Template Containers'
key: 'net.if.out[{#IFNAME}]'
#request_method: POST
-
uuid: 4741e4182b31472989a12b66cd213613
name: 'Mounted filesystem discovery'
key: vfs.fs.discovery
delay: 1h
filter:
conditions:
-
macro: '{#FSTYPE}'
value: '@File systems for discovery'
formulaid: A
description: 'Discovery of file systems of different types as defined in global regular expression "File systems for discovery".'
item_prototypes:
-
uuid: aae745998c7a4567b6b93ddcba76e8e6
name: 'Free inodes on $1 (percentage)'
key: 'vfs.fs.inode[{#FSNAME},pfree]'
history: 1w
value_type: FLOAT
units: '%'
#request_method: POST
tags:
-
tag: Application
value: Filesystems
trigger_prototypes:
-
uuid: d1b24d36174f412fb91304bbcf5ae312
expression: 'last(/Template Containers/vfs.fs.inode[{#FSNAME},pfree])<20'
name: 'Free inodes is less than 20% on volume {#FSNAME}'
priority: WARNING
-
uuid: 6d614e33c0b943eb8cc430d2fb470310
name: 'Free disk space on $1'
key: 'vfs.fs.size[{#FSNAME},free]'
history: 1w
units: B
#request_method: POST
tags:
-
tag: Application
value: Filesystems
-
uuid: ff75d66fa0444440978ecb0e6baa3aee
name: 'Free disk space on $1 (percentage)'
key: 'vfs.fs.size[{#FSNAME},pfree]'
history: 1w
value_type: FLOAT
units: '%'
#request_method: POST
tags:
-
tag: Application
value: Filesystems
trigger_prototypes:
-
uuid: 6a0bea5a05cb4eccbe5094c9c2b8a529
expression: 'last(/Template Containers/vfs.fs.size[{#FSNAME},pfree])<5'
name: 'Free disk space is less than 5% on volume {#FSNAME}'
priority: DISASTER
-
uuid: 61be12520bfd435fbc6ce85ec478b5d8
expression: 'last(/Template Containers/vfs.fs.size[{#FSNAME},pfree])<15'
name: 'Free disk space is less than 20% on volume {#FSNAME}'
priority: WARNING
-
uuid: 5f44a96642ff49a8bdd1e23ef4395965
name: 'Total disk space on $1'
key: 'vfs.fs.size[{#FSNAME},total]'
delay: 1h
history: 1w
units: B
#request_method: POST
tags:
-
tag: Application
value: Filesystems
-
uuid: 6ed1b4e043ee4d4ab7ddc3f5cbbb0111
name: 'Used disk space on $1'
key: 'vfs.fs.size[{#FSNAME},used]'
history: 1w
units: B
#request_method: POST
tags:
-
tag: Application
value: Filesystems
graph_prototypes:
-
uuid: 98516d05dcea4891a0cb9cf47f8562d8
name: 'Disk space usage {#FSNAME}'
width: '600'
height: '340'
show_work_period: 'NO'
show_triggers: 'NO'
type: STACKED
graph_items:
-
color: C80000
type: GRAPH_SUM
item:
host: 'Template Containers'
key: 'vfs.fs.size[{#FSNAME},total]'
-
sortorder: '1'
color: 00C800
item:
host: 'Template Containers'
key: 'vfs.fs.size[{#FSNAME},free]'
#request_method: POST
dashboards:
-
uuid: ed2584b7c71845f780a55fb9fb46b4a9
name: 'System performance'
pages:
-
widgets:
-
type: graphprototype
width: '12'
height: '5'
fields:
-
type: INTEGER
name: columns
value: '1'
-
type: GRAPH_PROTOTYPE
name: graphid
value:
host: 'Template Containers'
name: 'Disk space usage {#FSNAME}'
-
type: graphprototype
x: '12'
width: '12'
height: '5'
fields:
-
type: INTEGER
name: columns
value: '1'
-
type: GRAPH_PROTOTYPE
name: graphid
value:
host: 'Template Containers'
name: 'Network traffic on {#IFNAME}'
-
type: graph
'y': '5'
width: '12'
height: '5'
fields:
-
type: GRAPH
name: graphid
value:
host: 'Template Containers'
name: 'Memory usage'
-
type: graph
x: '12'
'y': '5'
width: '12'
height: '5'
fields:
-
type: GRAPH
name: graphid
value:
host: 'Template Containers'
name: 'Container - Number of processes'
graphs:
-
uuid: b8d6a23897ad4e0bb11ac68f06e9218b
name: 'Container - Number of processes'
graph_items:
-
color: '666600'
item:
host: 'Template Containers'
key: ct.processes
-
uuid: d4e234a581c1482c8416de642f0d6715
name: 'Memory usage'
show_work_period: 'NO'
show_triggers: 'NO'
ymin_type_1: FIXED
graph_items:
-
drawtype: GRADIENT_LINE
color: D7CCC8
item:
host: 'Template Containers'
key: ct.ramtotal
-
sortorder: '1'
drawtype: FILLED_REGION
color: 00796B
item:
host: 'Template Containers'
key: ct.ramused
-
uuid: 1e41269f0a1a4a0aa969106cde5bdb7f
name: 'Swap usage'
width: '600'
height: '340'
show_work_period: 'NO'
show_triggers: 'NO'
type: PIE
show_3d: 'YES'
graph_items:
-
color: AA0000
type: GRAPH_SUM
item:
host: 'Template Containers'
key: ct.swaptotal
-
sortorder: '1'
color: 00AA00
item:
host: 'Template Containers'
key: ct.swapfree

View File

@ -1,190 +1,157 @@
zabbix_export:
version: '6.4'
template_groups:
-
uuid: 7df96b18c230490a9a0a9e2307226338
- uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
templates:
-
uuid: 2a0bf3ed9dcb4ea3b2d1bb1c3c67d08c
- uuid: 2a0bf3ed9dcb4ea3b2d1bb1c3c67d08c
template: 'Template Containers'
name: 'Template Containers'
templates:
-
name: 'Template App Zabbix Agent'
- name: 'Template App Zabbix Agent'
groups:
-
name: Templates
- name: Templates
items:
-
uuid: bd4a837bc9d04eb1b14cd747e7fe9936
- uuid: bd4a837bc9d04eb1b14cd747e7fe9936
name: 'Check OS version'
key: ct.issue
trends: '0'
value_type: TEXT
tags:
-
tag: Application
- tag: Application
value: OS
-
uuid: 2c2a0494d2be490fb87958809c1e64a5
- uuid: 2c2a0494d2be490fb87958809c1e64a5
name: 'Host local time'
key: ct.localtime
history: 1w
value_type: FLOAT
units: unixtime
#request_method: POST
request_method: POST
tags:
-
tag: Application
- tag: Application
value: General
-
tag: Application
- tag: Application
value: OS
-
uuid: 9015e63c80664d10aa2fcb07803c35f0
- uuid: 9015e63c80664d10aa2fcb07803c35f0
name: 'Number of processes'
key: ct.processes
history: 1w
value_type: FLOAT
description: 'Total number of processes in any state.'
#request_method: POST
request_method: POST
tags:
-
tag: Application
- tag: Application
value: Processes
triggers:
-
uuid: 7b050ef8ba224bb287500f9c0c432e51
- uuid: 7b050ef8ba224bb287500f9c0c432e51
expression: 'avg(/Template Containers/ct.processes,5m)>360'
name: 'Too many processes on {HOST.NAME}'
priority: WARNING
-
uuid: 21206e98dac54fa2abfadd24cb19f3ef
- uuid: 21206e98dac54fa2abfadd24cb19f3ef
name: 'Available memory'
key: ct.ramfree
history: 1w
value_type: FLOAT
units: B
description: 'Available memory is defined as free+cached+buffers memory.'
#request_method: POST
request_method: POST
tags:
-
tag: Application
- tag: Application
value: Memory
triggers:
-
uuid: 9385b95fab7c4c5ab488391db49c605c
- uuid: 9385b95fab7c4c5ab488391db49c605c
expression: 'last(/Template Containers/ct.ramfree)<20M'
name: 'Lack of available memory on server {HOST.NAME}'
priority: AVERAGE
-
uuid: 1693208d45ca45ecbfcb8bee72358702
- uuid: 1693208d45ca45ecbfcb8bee72358702
name: 'Free memory %'
key: ct.ramfree_proc
delay: 30s
value_type: FLOAT
units: '%'
#request_method: POST
request_method: POST
tags:
-
tag: Application
- tag: Application
value: Memory
-
uuid: 259596fd666a4daa98c70c64727f106b
- uuid: 259596fd666a4daa98c70c64727f106b
name: 'Total memory'
key: ct.ramtotal
delay: 1h
history: 1w
value_type: FLOAT
units: B
#request_method: POST
request_method: POST
tags:
-
tag: Application
- tag: Application
value: Memory
-
uuid: dcf2518ae91546a297c333af00ecbff8
- uuid: dcf2518ae91546a297c333af00ecbff8
name: 'Used memory'
key: ct.ramused
history: 1w
value_type: FLOAT
units: B
tags:
-
tag: Application
- tag: Application
value: Memory
-
uuid: f6cbea88973b4c26a506b9f2815850e4
- uuid: f6cbea88973b4c26a506b9f2815850e4
name: 'Free swap space'
key: ct.swapfree
history: 1w
value_type: FLOAT
units: B
#request_method: POST
request_method: POST
tags:
-
tag: Application
- tag: Application
value: Memory
-
uuid: f257ad585bd04e3e8ae11f6eb52ab906
- uuid: f257ad585bd04e3e8ae11f6eb52ab906
name: 'Free swap space in %'
key: ct.swapfree_proc
delay: 2m
history: 1w
value_type: FLOAT
units: '%'
#request_method: POST
request_method: POST
tags:
-
tag: Application
- tag: Application
value: Memory
triggers:
-
uuid: e2d6356947d849619533c047e4b9b2f7
- uuid: e2d6356947d849619533c047e4b9b2f7
expression: 'last(/Template Containers/ct.swapfree_proc)<50'
name: 'Lack of free swap space on {HOST.NAME}'
status: DISABLED
priority: WARNING
description: 'It probably means that the systems requires more physical memory.'
-
uuid: 79fd627f5bb149a29928b916df583773
- uuid: 79fd627f5bb149a29928b916df583773
name: 'Total swap space'
key: ct.swaptotal
delay: 5s
history: 1w
value_type: FLOAT
units: B
#request_method: POST
request_method: POST
tags:
-
tag: Application
- tag: Application
value: Memory
-
uuid: 75ca486de2674db99a86a107bf6d2e1c
- uuid: 75ca486de2674db99a86a107bf6d2e1c
name: 'System uptime'
key: ct.uptime
delay: 10m
history: 1w
value_type: FLOAT
units: uptime
#request_method: POST
request_method: POST
tags:
-
tag: Application
- tag: Application
value: General
-
tag: Application
- tag: Application
value: OS
triggers:
-
uuid: f0a28dbe802245dfae81fb99463c69e8
- uuid: f0a28dbe802245dfae81fb99463c69e8
expression: 'change(/Template Containers/ct.uptime)<0'
name: '{HOST.NAME} has just been restarted'
status: DISABLED
priority: INFO
-
uuid: 5c7f36dad687457082c19ba8d0ee8465
- uuid: 5c7f36dad687457082c19ba8d0ee8465
name: 'Maximum number of opened files'
key: kernel.maxfiles
delay: 1h
@ -192,58 +159,48 @@ zabbix_export:
value_type: FLOAT
description: 'It could be increased by using sysctrl utility or modifying file /etc/sysctl.conf.'
preprocessing:
-
type: RTRIM
- type: RTRIM
parameters:
- '3'
#request_method: POST
request_method: POST
tags:
-
tag: Application
- tag: Application
value: OS
triggers:
-
uuid: 502e41028ba542469b87d7825071ec50
- uuid: 502e41028ba542469b87d7825071ec50
expression: 'last(/Template Containers/kernel.maxfiles)<1024'
name: 'Configured max number of opened files is too low on {HOST.NAME}'
priority: INFO
-
uuid: 56196557228142f4b4b1b621c52c471a
- uuid: 56196557228142f4b4b1b621c52c471a
name: 'Maximum number of processes'
key: kernel.maxproc
delay: 1h
history: 1w
value_type: FLOAT
description: 'It could be increased by using sysctrl utility or modifying file /etc/sysctl.conf.'
#request_method: POST
request_method: POST
tags:
-
tag: Application
- tag: Application
value: OS
triggers:
-
uuid: 63102e632a3e46c283de5e47e5555ab2
- uuid: 63102e632a3e46c283de5e47e5555ab2
expression: 'last(/Template Containers/kernel.maxproc)<256'
name: 'Configured max number of processes is too low on {HOST.NAME}'
priority: INFO
-
uuid: e41ad00080c44b67b17b23eeb636d797
- uuid: e41ad00080c44b67b17b23eeb636d797
name: 'Host boot time'
key: system.boottime
delay: 10m
history: 1w
value_type: FLOAT
units: unixtime
#request_method: POST
request_method: POST
tags:
-
tag: Application
- tag: Application
value: General
-
tag: Application
- tag: Application
value: OS
-
uuid: 95c8bde2b7de414d95393cd83cfe4524
- uuid: 95c8bde2b7de414d95393cd83cfe4524
name: 'Host name'
key: system.hostname
delay: 1h
@ -252,22 +209,18 @@ zabbix_export:
value_type: CHAR
description: 'System host name.'
inventory_link: NAME
#request_method: POST
request_method: POST
tags:
-
tag: Application
- tag: Application
value: General
-
tag: Application
- tag: Application
value: OS
triggers:
-
uuid: 1399a6aca6134bf58120c1b2cc2f32e5
- uuid: 1399a6aca6134bf58120c1b2cc2f32e5
expression: '(last(/Template Containers/system.hostname,#1)<>last(/Template Containers/system.hostname,#2))>0'
name: 'Hostname was changed on {HOST.NAME}'
priority: INFO
-
uuid: d3aefc22659244cba82aab6e6fb2ee15
- uuid: d3aefc22659244cba82aab6e6fb2ee15
name: 'System information'
key: system.uname
delay: 1h
@ -276,233 +229,192 @@ zabbix_export:
value_type: CHAR
description: 'The information as normally returned by ''uname -a''.'
inventory_link: OS
#request_method: POST
request_method: POST
tags:
-
tag: Application
- tag: Application
value: General
-
tag: Application
- tag: Application
value: OS
triggers:
-
uuid: 0dcd0f691c0b4a7d9c6b2834e1909fe3
- uuid: 0dcd0f691c0b4a7d9c6b2834e1909fe3
expression: '(last(/Template Containers/system.uname,#1)<>last(/Template Containers/system.uname,#2))>0'
name: 'Host information was changed on {HOST.NAME}'
priority: INFO
-
uuid: 1bbf2e280d684da9967edd614eef117e
- uuid: 1bbf2e280d684da9967edd614eef117e
name: 'Number of logged in users'
key: system.users.num
history: 1w
value_type: FLOAT
description: 'Number of users who are currently logged in.'
#request_method: POST
request_method: POST
tags:
-
tag: Application
- tag: Application
value: OS
-
tag: Application
- tag: Application
value: Security
-
uuid: fc384b1da607499cb9beaf6d1400b756
- uuid: fc384b1da607499cb9beaf6d1400b756
name: 'Checksum of $1'
key: 'vfs.file.cksum[/etc/passwd]'
delay: 1h
history: 1w
#request_method: POST
request_method: POST
tags:
-
tag: Application
- tag: Application
value: Security
triggers:
-
uuid: cf943a0ff206434f952cf4afccf7d56a
- uuid: cf943a0ff206434f952cf4afccf7d56a
expression: '(last(/Template Containers/vfs.file.cksum[/etc/passwd],#1)<>last(/Template Containers/vfs.file.cksum[/etc/passwd],#2))>0'
name: '/etc/passwd has been changed on {HOST.NAME}'
priority: WARNING
manual_close: 'YES'
-
uuid: 7e0bfdb626d54991ad3bec1e7a475454
- uuid: 7e0bfdb626d54991ad3bec1e7a475454
name: 'Checksum of $1'
key: 'vfs.file.cksum[/etc/ssh/authorized_keys/root]'
delay: 30s
tags:
-
tag: Application
- tag: Application
value: Security
triggers:
-
uuid: 01471f5580da4f508978209d800bb93a
- uuid: 01471f5580da4f508978209d800bb93a
expression: '(last(/Template Containers/vfs.file.cksum[/etc/ssh/authorized_keys/root],#1)<>last(/Template Containers/vfs.file.cksum[/etc/ssh/authorized_keys/root],#2))>0'
name: 'SSH Authorized keys has been changed on {HOST.NAME}'
priority: DISASTER
discovery_rules:
-
uuid: e73a591b26e54034a3882898035c842c
- uuid: e73a591b26e54034a3882898035c842c
name: 'Network interface discovery'
key: net.if.discovery
delay: 1h
filter:
conditions:
-
macro: '{#IFNAME}'
- macro: '{#IFNAME}'
value: '@Network interfaces for discovery'
formulaid: A
description: 'Discovery of network interfaces as defined in global regular expression "Network interfaces for discovery".'
item_prototypes:
-
uuid: 5424543ac5094381b3780ab87c7662df
- uuid: 5424543ac5094381b3780ab87c7662df
name: 'Incoming network traffic on $1'
key: 'net.if.in[{#IFNAME}]'
history: 1w
units: bps
preprocessing:
-
type: CHANGE_PER_SECOND
- type: CHANGE_PER_SECOND
parameters:
- ''
-
type: MULTIPLIER
- type: MULTIPLIER
parameters:
- '8'
#request_method: POST
request_method: POST
tags:
-
tag: Application
- tag: Application
value: 'Network interfaces'
-
uuid: 4a0a9d9e65064bf7a10f3c4e86e3421e
- uuid: 4a0a9d9e65064bf7a10f3c4e86e3421e
name: 'Outgoing network traffic on $1'
key: 'net.if.out[{#IFNAME}]'
history: 1w
units: bps
preprocessing:
-
type: CHANGE_PER_SECOND
- type: CHANGE_PER_SECOND
parameters:
- ''
-
type: MULTIPLIER
- type: MULTIPLIER
parameters:
- '8'
#request_method: POST
request_method: POST
tags:
-
tag: Application
- tag: Application
value: 'Network interfaces'
graph_prototypes:
-
uuid: 5c3afcd1707147aabdff69c4a51a3943
- uuid: 5c3afcd1707147aabdff69c4a51a3943
name: 'Network traffic on {#IFNAME}'
ymin_type_1: FIXED
graph_items:
-
drawtype: GRADIENT_LINE
- drawtype: GRADIENT_LINE
color: 00AA00
item:
host: 'Template Containers'
key: 'net.if.in[{#IFNAME}]'
-
sortorder: '1'
- sortorder: '1'
drawtype: GRADIENT_LINE
color: 3333FF
item:
host: 'Template Containers'
key: 'net.if.out[{#IFNAME}]'
#request_method: POST
-
uuid: 4741e4182b31472989a12b66cd213613
request_method: POST
- uuid: 4741e4182b31472989a12b66cd213613
name: 'Mounted filesystem discovery'
key: vfs.fs.discovery
delay: 1h
filter:
conditions:
-
macro: '{#FSTYPE}'
- macro: '{#FSTYPE}'
value: '@File systems for discovery'
formulaid: A
description: 'Discovery of file systems of different types as defined in global regular expression "File systems for discovery".'
item_prototypes:
-
uuid: aae745998c7a4567b6b93ddcba76e8e6
- uuid: aae745998c7a4567b6b93ddcba76e8e6
name: 'Free inodes on $1 (percentage)'
key: 'vfs.fs.inode[{#FSNAME},pfree]'
history: 1w
value_type: FLOAT
units: '%'
#request_method: POST
request_method: POST
tags:
-
tag: Application
- tag: Application
value: Filesystems
trigger_prototypes:
-
uuid: d1b24d36174f412fb91304bbcf5ae312
- uuid: d1b24d36174f412fb91304bbcf5ae312
expression: 'last(/Template Containers/vfs.fs.inode[{#FSNAME},pfree])<20'
name: 'Free inodes is less than 20% on volume {#FSNAME}'
priority: WARNING
-
uuid: 6d614e33c0b943eb8cc430d2fb470310
- uuid: 6d614e33c0b943eb8cc430d2fb470310
name: 'Free disk space on $1'
key: 'vfs.fs.size[{#FSNAME},free]'
history: 1w
units: B
#request_method: POST
request_method: POST
tags:
-
tag: Application
- tag: Application
value: Filesystems
-
uuid: ff75d66fa0444440978ecb0e6baa3aee
- uuid: ff75d66fa0444440978ecb0e6baa3aee
name: 'Free disk space on $1 (percentage)'
key: 'vfs.fs.size[{#FSNAME},pfree]'
history: 1w
value_type: FLOAT
units: '%'
#request_method: POST
request_method: POST
tags:
-
tag: Application
- tag: Application
value: Filesystems
trigger_prototypes:
-
uuid: 6a0bea5a05cb4eccbe5094c9c2b8a529
- uuid: 6a0bea5a05cb4eccbe5094c9c2b8a529
expression: 'last(/Template Containers/vfs.fs.size[{#FSNAME},pfree])<5'
name: 'Free disk space is less than 5% on volume {#FSNAME}'
priority: DISASTER
-
uuid: 61be12520bfd435fbc6ce85ec478b5d8
- uuid: 61be12520bfd435fbc6ce85ec478b5d8
expression: 'last(/Template Containers/vfs.fs.size[{#FSNAME},pfree])<15'
name: 'Free disk space is less than 20% on volume {#FSNAME}'
priority: WARNING
-
uuid: 5f44a96642ff49a8bdd1e23ef4395965
- uuid: 5f44a96642ff49a8bdd1e23ef4395965
name: 'Total disk space on $1'
key: 'vfs.fs.size[{#FSNAME},total]'
delay: 1h
history: 1w
units: B
#request_method: POST
request_method: POST
tags:
-
tag: Application
- tag: Application
value: Filesystems
-
uuid: 6ed1b4e043ee4d4ab7ddc3f5cbbb0111
- uuid: 6ed1b4e043ee4d4ab7ddc3f5cbbb0111
name: 'Used disk space on $1'
key: 'vfs.fs.size[{#FSNAME},used]'
history: 1w
units: B
#request_method: POST
request_method: POST
tags:
-
tag: Application
- tag: Application
value: Filesystems
graph_prototypes:
-
uuid: 98516d05dcea4891a0cb9cf47f8562d8
- uuid: 98516d05dcea4891a0cb9cf47f8562d8
name: 'Disk space usage {#FSNAME}'
width: '600'
height: '340'
@ -510,114 +422,94 @@ zabbix_export:
show_triggers: 'NO'
type: STACKED
graph_items:
-
color: C80000
- color: C80000
type: GRAPH_SUM
item:
host: 'Template Containers'
key: 'vfs.fs.size[{#FSNAME},total]'
-
sortorder: '1'
- sortorder: '1'
color: 00C800
item:
host: 'Template Containers'
key: 'vfs.fs.size[{#FSNAME},free]'
#request_method: POST
request_method: POST
dashboards:
-
uuid: ed2584b7c71845f780a55fb9fb46b4a9
- uuid: ed2584b7c71845f780a55fb9fb46b4a9
name: 'System performance'
pages:
-
widgets:
-
type: graphprototype
- widgets:
- type: graphprototype
width: '12'
height: '5'
fields:
-
type: INTEGER
- type: INTEGER
name: columns
value: '1'
-
type: GRAPH_PROTOTYPE
- type: GRAPH_PROTOTYPE
name: graphid
value:
host: 'Template Containers'
name: 'Disk space usage {#FSNAME}'
-
type: graphprototype
- type: graphprototype
x: '12'
width: '12'
height: '5'
fields:
-
type: INTEGER
- type: INTEGER
name: columns
value: '1'
-
type: GRAPH_PROTOTYPE
- type: GRAPH_PROTOTYPE
name: graphid
value:
host: 'Template Containers'
name: 'Network traffic on {#IFNAME}'
-
type: graph
- type: graph
'y': '5'
width: '12'
height: '5'
fields:
-
type: GRAPH
- type: GRAPH
name: graphid
value:
host: 'Template Containers'
name: 'Memory usage'
-
type: graph
- type: graph
x: '12'
'y': '5'
width: '12'
height: '5'
fields:
-
type: GRAPH
- type: GRAPH
name: graphid
value:
host: 'Template Containers'
name: 'Container - Number of processes'
graphs:
-
uuid: b8d6a23897ad4e0bb11ac68f06e9218b
- uuid: b8d6a23897ad4e0bb11ac68f06e9218b
name: 'Container - Number of processes'
graph_items:
-
color: '666600'
- color: '666600'
item:
host: 'Template Containers'
key: ct.processes
-
uuid: d4e234a581c1482c8416de642f0d6715
- uuid: d4e234a581c1482c8416de642f0d6715
name: 'Memory usage'
show_work_period: 'NO'
show_triggers: 'NO'
ymin_type_1: FIXED
graph_items:
-
drawtype: GRADIENT_LINE
- drawtype: GRADIENT_LINE
color: D7CCC8
item:
host: 'Template Containers'
key: ct.ramtotal
-
sortorder: '1'
- sortorder: '1'
drawtype: FILLED_REGION
color: 00796B
item:
host: 'Template Containers'
key: ct.ramused
-
uuid: 1e41269f0a1a4a0aa969106cde5bdb7f
- uuid: 1e41269f0a1a4a0aa969106cde5bdb7f
name: 'Swap usage'
width: '600'
height: '340'
@ -626,14 +518,12 @@ zabbix_export:
type: PIE
show_3d: 'YES'
graph_items:
-
color: AA0000
- color: AA0000
type: GRAPH_SUM
item:
host: 'Template Containers'
key: ct.swaptotal
-
sortorder: '1'
- sortorder: '1'
color: 00AA00
item:
host: 'Template Containers'

74
Template ICMP Ping.yaml Normal file
View File

@ -0,0 +1,74 @@
zabbix_export:
version: '6.4'
template_groups:
- uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
templates:
- uuid: 71979c94746f43babcbb1b34a7eec0a6
template: 'Template ICMP Ping'
name: 'Template ICMP Ping'
groups:
- name: Templates
items:
- uuid: 0d18054748f54a00af3bf8f1d008202f
name: 'ICMP ping'
type: SIMPLE
key: icmpping
history: 1w
valuemap:
name: 'Service state'
request_method: POST
tags:
- tag: Application
value: ICMP
triggers:
- uuid: 4ea8f8380fc14a1dafde80997db408c8
expression: 'max(/Template ICMP Ping/icmpping,#3)=0'
name: '{HOST.NAME} is unavailable by ICMP'
priority: AVERAGE
- uuid: dc8aa465cde84fe0be03bc3a53dac531
name: 'ICMP loss'
type: SIMPLE
key: icmppingloss
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: ICMP
triggers:
- uuid: 10887da4f6054a2eb4ec0e23872c8d1c
expression: 'min(/Template ICMP Ping/icmppingloss,5m)>20'
name: 'Ping loss is too high on {HOST.NAME}'
priority: WARNING
dependencies:
- name: '{HOST.NAME} is unavailable by ICMP'
expression: 'max(/Template ICMP Ping/icmpping,#3)=0'
- uuid: 7139ecf865e6482eb879bcb854310f4c
name: 'ICMP response time'
type: SIMPLE
key: icmppingsec
history: 1w
value_type: FLOAT
units: s
request_method: POST
tags:
- tag: Application
value: ICMP
triggers:
- uuid: 473b1ddcb059414695d4e400ea29560a
expression: 'avg(/Template ICMP Ping/icmppingsec,5m)>0.15'
name: 'Response time is too high on {HOST.NAME}'
priority: WARNING
dependencies:
- name: '{HOST.NAME} is unavailable by ICMP'
expression: 'max(/Template ICMP Ping/icmpping,#3)=0'
valuemaps:
- uuid: d5ccd0fdcc824a949b023ef5a145903b
name: 'Service state'
mappings:
- value: '0'
newvalue: Down
- value: '1'
newvalue: Up

83
Template LDAP Server.yaml Normal file
View File

@ -0,0 +1,83 @@
zabbix_export:
version: '6.4'
template_groups:
- uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
templates:
- uuid: 5c520e3c0d4a4a0198587952e1e6fb96
template: 'Template LDAP Server'
name: 'Template LDAP Server'
description: 'Monitoring LDAP Service'
groups:
- name: Templates
items:
- uuid: 4d2a3410b2ee48ba9960a4759b058498
name: 'Users accepted'
type: TRAP
key: ldap.user_accepted
delay: '0'
units: Users
request_method: POST
tags:
- tag: Application
value: LDAP
- uuid: ac3319ffd1994c85a8d15e3d0f4af189
name: 'Users Application'
type: TRAP
key: ldap.user_application
delay: '0'
units: Users
request_method: POST
tags:
- tag: Application
value: LDAP
- uuid: c90de4eb1878428d8235a13a0301b05c
name: 'User COunt'
key: ldap.user_count
delay: '86400s;14m/1-7,07:00-07:15'
request_method: POST
tags:
- tag: Application
value: LDAP
triggers:
- uuid: 6aabd844d7574843919cd6017d8ddf72
expression: 'last(/Template LDAP Server/ldap.user_count)>60000'
name: 'User count reached Barrier'
priority: INFO
manual_close: 'YES'
- uuid: a07ff7e665ec409f9b99ce010b95702e
name: 'Users denied'
type: TRAP
key: ldap.user_denied
delay: '0'
units: Users
request_method: POST
tags:
- tag: Application
value: LDAP
graphs:
- uuid: 49d4bfe42bd4404daae5a575d493fcdf
name: 'Disroot Tinder'
graph_items:
- color: 00DD00
item:
host: 'Template LDAP Server'
key: ldap.user_accepted
- sortorder: '1'
color: BBBB00
item:
host: 'Template LDAP Server'
key: ldap.user_application
- sortorder: '2'
color: BB0000
item:
host: 'Template LDAP Server'
key: ldap.user_denied
- uuid: 1a980eacc9ca4a9a91187858d99a9926
name: 'LDAP - User Count'
type: STACKED
graph_items:
- color: 1A7C11
item:
host: 'Template LDAP Server'
key: ldap.user_count

View File

@ -0,0 +1,245 @@
zabbix_export:
version: '6.4'
template_groups:
- uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
templates:
- uuid: 6a5f57eaa3bc4041b7dedd87defbd38e
template: 'Template LSI RAID'
name: 'Template LSI RAID (agent + trapper)'
groups:
- name: Templates
discovery_rules:
- uuid: 1414c486fe36428aae5fa2a50d9a5efd
name: 'RAID discovery adapters'
type: TRAP
key: hw.raid.discovery.adapters
delay: '0'
item_prototypes:
- uuid: 488ad62ac49d424ead936f5d3266cce8
name: 'Adapter {#ADAPTER_ID} firmware'
key: 'hw.raid.adapter[{#ADAPTER_ID},"fw_version"]'
delay: '86400'
history: 7d
trends: '0'
value_type: CHAR
request_method: POST
tags:
- tag: Application
value: 'LSI RAID adapter'
- uuid: 4d23e9edd40d40f7b82264818124109b
name: 'Adapter {#ADAPTER_ID} model'
key: 'hw.raid.adapter[{#ADAPTER_ID},"product_name"]'
delay: '86400'
history: 7d
trends: '0'
value_type: CHAR
request_method: POST
tags:
- tag: Application
value: 'LSI RAID adapter'
request_method: POST
- uuid: eb70286ed6d74df9ba91a98824caad06
name: 'RAID discovery bbu'
type: TRAP
key: hw.raid.discovery.bbu
delay: '0'
item_prototypes:
- uuid: ca38da6751854290bc8bdc871a76fae5
name: 'BBU state on adapter:{#ADAPTER_ID}'
type: TRAP
key: 'hw.raid.bbu[{#ADAPTER_ID},"bbu_state"]'
delay: '0'
history: 7d
valuemap:
name: 'LSI RAID BBU & LD Status'
request_method: POST
tags:
- tag: Application
value: 'LSI RAID BBU'
trigger_prototypes:
- uuid: e1e2bdd4760346b3b5338781f473f6e2
expression: 'last(/Template LSI RAID/hw.raid.bbu[{#ADAPTER_ID},"bbu_state"])=1'
name: 'BBU is not in optimal state on adapter:{#ADAPTER_ID}'
priority: HIGH
description: 'Backup Battery Unit on RAID adapter is not in operational state. RAID volumes performance can be degraded'
- uuid: 696ebe8794e14de7ae8ae69c5ffc6301
expression: 'nodata(/Template LSI RAID/hw.raid.bbu[{#ADAPTER_ID},"bbu_state"],720s)=1'
name: 'RAID info is outdated on {HOST.NAME}'
priority: DISASTER
description: 'RAID INFO not updated more than 10 minutes. Check task scheduler on host and connectivity'
- uuid: e9dbcd4b7f9e4299985488a7b53f0b33
name: 'BBU on adapter {#ADAPTER_ID}:manufacture date'
key: 'hw.raid.bbu[{#ADAPTER_ID},"date_manufactured"]'
delay: '86400'
history: 7d
trends: '0'
status: DISABLED
value_type: CHAR
request_method: POST
tags:
- tag: Application
value: 'LSI RAID BBU'
- uuid: 0937b02d389b47dca9a154a36cd93c92
name: 'BBU design capacity on adapter:{#ADAPTER_ID}'
key: 'hw.raid.bbu[{#ADAPTER_ID},"design_capacity"]'
delay: '86400'
history: 1d
status: DISABLED
request_method: POST
tags:
- tag: Application
value: 'LSI RAID BBU'
- uuid: cf267e7bacbc45b5830e1a0c35eb1c56
name: 'BBU current capacity on adapter:{#ADAPTER_ID}'
key: 'hw.raid.bbu[{#ADAPTER_ID},"full_capacity"]'
delay: '300'
history: 7d
status: DISABLED
request_method: POST
tags:
- tag: Application
value: 'LSI RAID BBU'
- uuid: a4745a0c94e748e791c6ab316123648f
name: 'BBU state of charge on adapter:{#ADAPTER_ID}'
type: TRAP
key: 'hw.raid.bbu[{#ADAPTER_ID},"state_of_charge"]'
delay: '0'
history: 7d
units: '%'
request_method: POST
tags:
- tag: Application
value: 'LSI RAID BBU'
trigger_prototypes:
- uuid: e638200938f94f4894aed8dea6017e12
expression: 'avg(/Template LSI RAID/hw.raid.bbu[{#ADAPTER_ID},"state_of_charge"],#3)<55'
name: 'BBU on adapter:{#ADAPTER_ID} charge capacity degraded'
priority: WARNING
request_method: POST
- uuid: 250fbfab47434d2e8dd8cfb5bc9aa294
name: 'RAID discovery pdisks'
type: TRAP
key: hw.raid.discovery.pdisks
delay: '0'
item_prototypes:
- uuid: 40d9f77361af4de8b31a48e2d9eb18f3
name: 'Disk state Adapter:{#ADAPTER_ID},ENC:{#ENCLOSURE_ID},Disk:{#PDRIVE_ID}'
type: TRAP
key: 'hw.raid.physical_disk[{#ADAPTER_ID},{#ENCLOSURE_ID},{#PDRIVE_ID},"firmware_state"]'
delay: '0'
history: 7d
valuemap:
name: 'LSI RAID PhysDrv Status'
request_method: POST
tags:
- tag: Application
value: 'LSI RAID Physical Volume'
trigger_prototypes:
- uuid: 962cc00f8cc54ad393a148410e1d10d7
expression: 'last(/Template LSI RAID/hw.raid.physical_disk[{#ADAPTER_ID},{#ENCLOSURE_ID},{#PDRIVE_ID},"firmware_state"])=1'
name: 'Disk state Adapter:{#ADAPTER_ID},ENC:{#ENCLOSURE_ID},Disk:{#PDRIVE_ID} is not Optimal'
priority: HIGH
- uuid: c610d2fcf98443e780296a216578fa35
name: 'Disk model Adapter:{#ADAPTER_ID},ENC:{#ENCLOSURE_ID},Disk:{#PDRIVE_ID}'
key: 'hw.raid.physical_disk[{#ADAPTER_ID},{#ENCLOSURE_ID},{#PDRIVE_ID},"inquiry_data"]'
delay: '86400'
history: 7d
trends: '0'
value_type: TEXT
request_method: POST
tags:
- tag: Application
value: 'LSI RAID Physical Volume'
- uuid: 65471053ecac455fb1922b010537744e
name: 'Disk Media errors Adapter:{#ADAPTER_ID},ENC:{#ENCLOSURE_ID},Disk:{#PDRIVE_ID}'
type: TRAP
key: 'hw.raid.physical_disk[{#ADAPTER_ID},{#ENCLOSURE_ID},{#PDRIVE_ID},"media_errors"]'
delay: '0'
history: 7d
request_method: POST
tags:
- tag: Application
value: 'LSI RAID Physical Volume'
trigger_prototypes:
- uuid: 345df6f34fef4d1b9a327aaaddb26158
expression: 'last(/Template LSI RAID/hw.raid.physical_disk[{#ADAPTER_ID},{#ENCLOSURE_ID},{#PDRIVE_ID},"media_errors"])<>0'
name: 'Disk have media errors Adapter:{#ADAPTER_ID},ENC:{#ENCLOSURE_ID},Disk:{#PDRIVE_ID}'
priority: WARNING
- uuid: 151adbbb9945419fb746fdb6f25a2090
name: 'Disk predictive errors Adapter:{#ADAPTER_ID},ENC:{#ENCLOSURE_ID},Disk:{#PDRIVE_ID}'
type: TRAP
key: 'hw.raid.physical_disk[{#ADAPTER_ID},{#ENCLOSURE_ID},{#PDRIVE_ID},"predictive_errors"]'
delay: '0'
history: 7d
request_method: POST
tags:
- tag: Application
value: 'LSI RAID Physical Volume'
trigger_prototypes:
- uuid: fcfa8492af8b425bb6f2b25a2f06a6bf
expression: 'last(/Template LSI RAID/hw.raid.physical_disk[{#ADAPTER_ID},{#ENCLOSURE_ID},{#PDRIVE_ID},"predictive_errors"])<>0'
name: 'Disk have predictive errors Adapter:{#ADAPTER_ID},ENC:{#ENCLOSURE_ID},Disk:{#PDRIVE_ID}'
priority: WARNING
- uuid: 2de9ed0e3048480bacc55e572e9b235e
name: 'Disk size Adapter:{#ADAPTER_ID},ENC:{#ENCLOSURE_ID},Disk:{#PDRIVE_ID}'
key: 'hw.raid.physical_disk[{#ADAPTER_ID},{#ENCLOSURE_ID},{#PDRIVE_ID},"raw_size"]'
delay: '86400'
history: 7d
trends: '0'
value_type: CHAR
request_method: POST
tags:
- tag: Application
value: 'LSI RAID Physical Volume'
request_method: POST
- uuid: 2aaff77ea3cf4f078a81e2ea8bb85f42
name: 'RAID discovery vdisks'
type: TRAP
key: hw.raid.discovery.vdisks
delay: '0'
item_prototypes:
- uuid: 4ca547b6f8f74631adada8e4ec160db9
name: 'RAID Volume size Adapter:{#ADAPTER_ID},ID:{#VDRIVE_ID}'
key: 'hw.raid.logical_disk[{#ADAPTER_ID},{#VDRIVE_ID},"vd_size"]'
delay: '86400'
history: 7d
trends: '0'
value_type: TEXT
request_method: POST
tags:
- tag: Application
value: 'LSI RAID Logical Volume'
- uuid: c5b1520d494244c1badb3d1928c7c568
name: 'RAID Volume state Adapter:{#ADAPTER_ID},ID:{#VDRIVE_ID}'
type: TRAP
key: 'hw.raid.logical_disk[{#ADAPTER_ID},{#VDRIVE_ID},"vd_state"]'
delay: '0'
history: 7d
valuemap:
name: 'LSI RAID BBU & LD Status'
request_method: POST
tags:
- tag: Application
value: 'LSI RAID Logical Volume'
trigger_prototypes:
- uuid: 6d1c81494297400c8be97dd803b2dcc4
expression: 'last(/Template LSI RAID/hw.raid.logical_disk[{#ADAPTER_ID},{#VDRIVE_ID},"vd_state"])=1'
name: 'RAID Volume Adapter:{#ADAPTER_ID},ID:{#VDRIVE_ID} state is not Optimal'
priority: HIGH
request_method: POST
valuemaps:
- uuid: e9854f652e514485aff320f9486cdefd
name: 'LSI RAID BBU & LD Status'
mappings:
- value: '0'
newvalue: Optimal
- value: '1'
newvalue: Failed
- uuid: cf4b20f478c84c2f95b91fce163d03c7
name: 'LSI RAID PhysDrv Status'
mappings:
- value: '0'
newvalue: '(Online|Hostpare|Unconfigured good)'
- value: '1'
newvalue: Failed

View File

@ -0,0 +1,80 @@
zabbix_export:
version: '6.4'
template_groups:
- uuid: ea47d74ef60345a8bc150e7fc70a3369
name: 'Proxmox Hosts'
templates:
- uuid: bf5067ead4744c0fb1c14ad128eb7b9c
template: 'Template LSI RAID - H700'
name: 'Template LSI RAID - H700'
groups:
- name: 'Proxmox Hosts'
items:
- uuid: 1eb1e35292b941bea6e1ce673f59de41
name: 'RAID - Arrays Bad'
key: raid.arrays_bad
delay: 180s
value_type: FLOAT
tags:
- tag: Application
value: PERC_H700
triggers:
- uuid: 1ca423803d3748b6a5bf376fa3848391
expression: 'last(/Template LSI RAID - H700/raid.arrays_bad)>0'
name: 'RAID - Broken Array'
priority: DISASTER
- uuid: b84e190eb87e4f36b63be1160a04cb32
name: 'RAID - Arrays Good'
key: raid.arrays_good
delay: 30s
trends: '0'
value_type: TEXT
tags:
- tag: Application
value: PERC_H700
- uuid: 49395ce2acfb4bd787221510dfe2a3c1
name: 'RAID - BBU Status'
key: raid.bbu_status
delay: 300s
trends: '0'
value_type: TEXT
tags:
- tag: Application
value: PERC_H700
triggers:
- uuid: 1502e6cfb4e442e7a4c2ceb815eff5d1
expression: '(last(/Template LSI RAID - H700/raid.bbu_status,#1)<>last(/Template LSI RAID - H700/raid.bbu_status,#2))>0'
name: 'RAID - BBU Status Changed'
priority: AVERAGE
- uuid: 1b45a23f792a43718390b9eef05d7287
name: 'RAID - Disk Bad'
key: raid.disk_bad
delay: 180s
value_type: FLOAT
tags:
- tag: Application
value: PERC_H700
triggers:
- uuid: b2701fbb245345db9bdb55a91fdf7d04
expression: 'last(/Template LSI RAID - H700/raid.disk_bad)>0'
name: 'RAID - Broken Disks'
priority: DISASTER
type: MULTIPLE
- uuid: c8ab70ead87349809d544b6bc69a08b9
name: 'RAID - Disk Good'
key: raid.disk_good
delay: 30s
trends: '0'
value_type: TEXT
tags:
- tag: Application
value: PERC_H700
- uuid: 627325d36482413aaca4c173382ae210
name: 'RAID - Controller status'
key: raid.status
delay: 30s
trends: '0'
value_type: TEXT
tags:
- tag: Application
value: PERC_H700

758
Template OS Linux.yaml Normal file
View File

@ -0,0 +1,758 @@
zabbix_export:
version: '6.4'
template_groups:
- uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
templates:
- uuid: edc9f0a5a5d54797bf68e37364743831
template: 'Template OS Linux'
name: 'Template OS Linux'
templates:
- name: 'Template App Zabbix Agent'
groups:
- name: Templates
items:
- uuid: 6f0d30b413f746f1857c142a7d4ab2dc
name: 'Maximum number of opened files'
key: kernel.maxfiles
delay: 1h
history: 1w
description: 'It could be increased by using sysctrl utility or modifying file /etc/sysctl.conf.'
request_method: POST
tags:
- tag: Application
value: OS
triggers:
- uuid: d56828a661f9498a99cfb645cd8f30fa
expression: 'last(/Template OS Linux/kernel.maxfiles)<1024'
name: 'Configured max number of opened files is too low on {HOST.NAME}'
priority: INFO
- uuid: 679313e0039c461a8f34badfb9390545
name: 'Maximum number of processes'
key: kernel.maxproc
delay: 1h
history: 1w
description: 'It could be increased by using sysctrl utility or modifying file /etc/sysctl.conf.'
request_method: POST
tags:
- tag: Application
value: OS
triggers:
- uuid: b9c6644db41a49fbaf84b22c30f72dc4
expression: 'last(/Template OS Linux/kernel.maxproc)<256'
name: 'Configured max number of processes is too low on {HOST.NAME}'
priority: INFO
- uuid: 2bb3314953be4cd290cce97926ad6276
name: 'Number of running processes'
key: 'proc.num[,,run]'
history: 1w
description: 'Number of processes in running state.'
request_method: POST
tags:
- tag: Application
value: Processes
triggers:
- uuid: aae64f9f597a437da98726646f970f9b
expression: 'avg(/Template OS Linux/proc.num[,,run],5m)>30'
name: 'Too many processes running on {HOST.NAME}'
priority: WARNING
- uuid: 160ccce412104e75be08bcedd30c8d29
name: 'Number of processes'
key: 'proc.num[]'
history: 1w
description: 'Total number of processes in any state.'
request_method: POST
tags:
- tag: Application
value: Processes
triggers:
- uuid: 4da0d3f0571f4ea6be35fb5224e319c4
expression: 'avg(/Template OS Linux/proc.num[],5m)>300'
name: 'Too many processes on {HOST.NAME}'
priority: WARNING
- uuid: dbe46edd97724bb6bcad126dcfc21098
name: 'Host boot time'
key: system.boottime
delay: 10m
history: 1w
units: unixtime
request_method: POST
tags:
- tag: Application
value: General
- tag: Application
value: OS
- uuid: 4cead1ac32c142958f93fe4c1b17b0f8
name: 'Interrupts per second'
key: system.cpu.intr
history: 1w
units: ips
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: 1cd6d414685a4ccbacf2b0d35b15c815
name: 'Processor load (1 min average per core)'
key: 'system.cpu.load[percpu,avg1]'
history: 1w
value_type: FLOAT
description: 'The processor load is calculated as system CPU load divided by number of CPU cores.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
triggers:
- uuid: 7b8def10fd044d9e881eb0611dcb8fa0
expression: 'avg(/Template OS Linux/system.cpu.load[percpu,avg1],5m)>5'
name: 'Processor load is too high on {HOST.NAME}'
priority: WARNING
- uuid: 8cf7c02cf20e461e8cd2ece183a3549e
name: 'Processor load (5 min average per core)'
key: 'system.cpu.load[percpu,avg5]'
history: 1w
value_type: FLOAT
description: 'The processor load is calculated as system CPU load divided by number of CPU cores.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: a8aa7983c18f4788855ff8cd9ec4c926
name: 'Processor load (15 min average per core)'
key: 'system.cpu.load[percpu,avg15]'
history: 1w
value_type: FLOAT
description: 'The processor load is calculated as system CPU load divided by number of CPU cores.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: 4e9dc5be89a04b53a3c51bfa757f24c1
name: 'Context switches per second'
key: system.cpu.switches
history: 1w
units: sps
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: 3f2ae412e35e4e77913c42bcb4ffbde2
name: 'CPU $2 time'
key: 'system.cpu.util[,idle]'
history: 1w
value_type: FLOAT
units: '%'
description: 'The time the CPU has spent doing nothing.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: e2e95d5be1084c9c86543d4096047b03
name: 'CPU $2 time'
key: 'system.cpu.util[,interrupt]'
history: 1w
value_type: FLOAT
units: '%'
description: 'The amount of time the CPU has been servicing hardware interrupts.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: 46c5c8d4c6a54730a2e2f787a20c5b96
name: 'CPU $2 time'
key: 'system.cpu.util[,iowait]'
history: 1w
value_type: FLOAT
units: '%'
description: 'Amount of time the CPU has been waiting for I/O to complete.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
triggers:
- uuid: ec27ff72fd4d43c48aa062bf086328a5
expression: 'avg(/Template OS Linux/system.cpu.util[,iowait],5m)>20'
name: 'Disk I/O is overloaded on {HOST.NAME}'
priority: WARNING
description: 'OS spends significant time waiting for I/O (input/output) operations. It could be indicator of performance issues with storage system.'
- uuid: 33c3075263ca4eff8ca6e2482e109986
name: 'CPU $2 time'
key: 'system.cpu.util[,nice]'
history: 1w
value_type: FLOAT
units: '%'
description: 'The time the CPU has spent running users'' processes that have been niced.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: 685a286f36b84e1d835f660b045b9798
name: 'CPU $2 time'
key: 'system.cpu.util[,softirq]'
history: 1w
value_type: FLOAT
units: '%'
description: 'The amount of time the CPU has been servicing software interrupts.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: fe3b012c9c0c4a948053ab21f8c9eea0
name: 'CPU $2 time'
key: 'system.cpu.util[,steal]'
history: 1w
value_type: FLOAT
units: '%'
description: 'The amount of CPU ''stolen'' from this virtual machine by the hypervisor for other tasks (such as running another virtual machine).'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: 1128787dc4fa4b97af14f048f00c373e
name: 'CPU $2 time'
key: 'system.cpu.util[,system]'
history: 1w
value_type: FLOAT
units: '%'
description: 'The time the CPU has spent running the kernel and its processes.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: c8122476f16649ef950a23fe9f6c1e38
name: 'CPU $2 time'
key: 'system.cpu.util[,user]'
history: 1w
value_type: FLOAT
units: '%'
description: 'The time the CPU has spent running users'' processes that are not niced.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: 9e656b572c3840fc9289df61b8011bd6
name: 'Host name'
key: system.hostname
delay: 1h
history: 1w
trends: '0'
value_type: CHAR
description: 'System host name.'
inventory_link: NAME
request_method: POST
tags:
- tag: Application
value: General
- tag: Application
value: OS
triggers:
- uuid: 5f1c31b67601425c90fb98f4992317d7
expression: '(last(/Template OS Linux/system.hostname,#1)<>last(/Template OS Linux/system.hostname,#2))>0'
name: 'Hostname was changed on {HOST.NAME}'
priority: INFO
- uuid: b8a5f879099f4f33adc12e83097bf2c9
name: 'Host local time'
key: system.localtime
history: 1w
units: unixtime
request_method: POST
tags:
- tag: Application
value: General
- tag: Application
value: OS
- uuid: 25164c261b274ea786dd87524196929b
name: 'Free swap space'
key: 'system.swap.size[,free]'
history: 1w
units: B
request_method: POST
tags:
- tag: Application
value: Memory
- uuid: c42386b5947247e3a73bcdbffda72b30
name: 'Free swap space in %'
key: 'system.swap.size[,pfree]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: Memory
triggers:
- uuid: 8895f11bcf214f69aa2b9a86f732a182
expression: 'last(/Template OS Linux/system.swap.size[,pfree])<50'
name: 'Lack of free swap space on {HOST.NAME}'
priority: WARNING
description: 'It probably means that the systems requires more physical memory.'
- uuid: 4801328922504974a936f6585a0c696c
name: 'Total swap space'
key: 'system.swap.size[,total]'
delay: 1h
history: 1w
units: B
request_method: POST
tags:
- tag: Application
value: Memory
- uuid: e87dcaa3544e453dbc78a762627fe974
name: 'System information'
key: system.uname
delay: 1h
history: 1w
trends: '0'
value_type: CHAR
description: 'The information as normally returned by ''uname -a''.'
inventory_link: OS
request_method: POST
tags:
- tag: Application
value: General
- tag: Application
value: OS
triggers:
- uuid: fa85891b0e6947f58e42dae3d212234e
expression: '(last(/Template OS Linux/system.uname,#1)<>last(/Template OS Linux/system.uname,#2))>0'
name: 'Host information was changed on {HOST.NAME}'
priority: INFO
- uuid: 22214fa5dd054ff2b2d059693d454cb0
name: 'System uptime'
key: system.uptime
delay: 10m
history: 1w
units: uptime
request_method: POST
tags:
- tag: Application
value: General
- tag: Application
value: OS
triggers:
- uuid: 517678f9284c43429c67bd81d5090c54
expression: 'change(/Template OS Linux/system.uptime)<0'
name: '{HOST.NAME} has just been restarted'
priority: INFO
- uuid: 455f53504e424fd08c91b1c64354c1d1
name: 'Number of logged in users'
key: system.users.num
history: 1w
description: 'Number of users who are currently logged in.'
request_method: POST
tags:
- tag: Application
value: OS
- tag: Application
value: Security
- uuid: f37e2658e2764108aea57bf3277618d3
name: 'Checksum of $1'
key: 'vfs.file.cksum[/etc/passwd]'
delay: 1h
history: 1w
request_method: POST
tags:
- tag: Application
value: Security
triggers:
- uuid: abc4e5489e8e4fad83868d5eab177963
expression: '(last(/Template OS Linux/vfs.file.cksum[/etc/passwd],#1)<>last(/Template OS Linux/vfs.file.cksum[/etc/passwd],#2))>0'
name: '/etc/passwd has been changed on {HOST.NAME}'
priority: WARNING
- uuid: 21e695f785f9449696dfd4c0266866c2
name: 'Available memory'
key: 'vm.memory.size[available]'
history: 1w
units: B
description: 'Available memory is defined as free+cached+buffers memory.'
request_method: POST
tags:
- tag: Application
value: Memory
triggers:
- uuid: 3dacd2129863462b843b032902ef85b3
expression: 'last(/Template OS Linux/vm.memory.size[available])<20M'
name: 'Lack of available memory on server {HOST.NAME}'
priority: AVERAGE
- uuid: 29d122c53a1c471e9b5e7f083cd94a93
name: 'Total memory'
key: 'vm.memory.size[total]'
delay: 1h
history: 1w
units: B
request_method: POST
tags:
- tag: Application
value: Memory
discovery_rules:
- uuid: b61ebb5701344b7c84d2b86217e954bd
name: 'Network interface discovery'
key: net.if.discovery
delay: 1h
filter:
conditions:
- macro: '{#IFNAME}'
value: '@Network interfaces for discovery'
formulaid: A
description: 'Discovery of network interfaces as defined in global regular expression "Network interfaces for discovery".'
item_prototypes:
- uuid: 9dfcdcb258004c769b9c1d730f5552ac
name: 'Incoming network traffic on $1'
key: 'net.if.in[{#IFNAME}]'
history: 1w
units: bps
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
- type: MULTIPLIER
parameters:
- '8'
request_method: POST
tags:
- tag: Application
value: 'Network interfaces'
- uuid: 0c3dd4e928de40eea133d2e376961f9b
name: 'Outgoing network traffic on $1'
key: 'net.if.out[{#IFNAME}]'
history: 1w
units: bps
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
- type: MULTIPLIER
parameters:
- '8'
request_method: POST
tags:
- tag: Application
value: 'Network interfaces'
graph_prototypes:
- uuid: aa9f75260fc74786aed342426869c276
name: 'Network traffic on {#IFNAME}'
ymin_type_1: FIXED
graph_items:
- drawtype: GRADIENT_LINE
color: 00AA00
item:
host: 'Template OS Linux'
key: 'net.if.in[{#IFNAME}]'
- sortorder: '1'
drawtype: GRADIENT_LINE
color: 3333FF
item:
host: 'Template OS Linux'
key: 'net.if.out[{#IFNAME}]'
request_method: POST
- uuid: d99e64a41e6b4e57bb9126f761e235fe
name: 'Mounted filesystem discovery'
key: vfs.fs.discovery
delay: 1h
filter:
conditions:
- macro: '{#FSTYPE}'
value: '@File systems for discovery'
formulaid: A
description: 'Discovery of file systems of different types as defined in global regular expression "File systems for discovery".'
item_prototypes:
- uuid: 3fd5f0e4403f411986ed98dc911f9f5d
name: 'Free inodes on $1 (percentage)'
key: 'vfs.fs.inode[{#FSNAME},pfree]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: Filesystems
trigger_prototypes:
- uuid: d364415d4f754401b8413d0971f06100
expression: 'last(/Template OS Linux/vfs.fs.inode[{#FSNAME},pfree])<20'
name: 'Free inodes is less than 20% on volume {#FSNAME}'
priority: WARNING
- uuid: 8d0f848e29ef482c9ff4329fbbe47dab
name: 'Free disk space on $1'
key: 'vfs.fs.size[{#FSNAME},free]'
history: 1w
units: B
request_method: POST
tags:
- tag: Application
value: Filesystems
- uuid: 959519ac683e49579cd63bdbd22b2748
name: 'Free disk space on $1 (percentage)'
key: 'vfs.fs.size[{#FSNAME},pfree]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: Filesystems
trigger_prototypes:
- uuid: c39ed468d32a48f1a87e40183e9570f4
expression: 'last(/Template OS Linux/vfs.fs.size[{#FSNAME},pfree])<20'
name: 'Free disk space is less than 20% on volume {#FSNAME}'
priority: WARNING
- uuid: 244717e2a2814e7b9ef511e15874678a
name: 'Total disk space on $1'
key: 'vfs.fs.size[{#FSNAME},total]'
delay: 1h
history: 1w
units: B
request_method: POST
tags:
- tag: Application
value: Filesystems
- uuid: 0f1c38fb55b74deabae4db657534be2b
name: 'Used disk space on $1'
key: 'vfs.fs.size[{#FSNAME},used]'
history: 1w
units: B
request_method: POST
tags:
- tag: Application
value: Filesystems
graph_prototypes:
- uuid: b15c43ed55564882aff4432bcea20d07
name: 'Disk space usage {#FSNAME}'
width: '600'
height: '340'
show_work_period: 'NO'
show_triggers: 'NO'
type: PIE
show_3d: 'YES'
graph_items:
- color: C80000
type: GRAPH_SUM
item:
host: 'Template OS Linux'
key: 'vfs.fs.size[{#FSNAME},total]'
- sortorder: '1'
color: 00C800
item:
host: 'Template OS Linux'
key: 'vfs.fs.size[{#FSNAME},free]'
request_method: POST
dashboards:
- uuid: facf223bf2dd4fcaa11d3cdacdcb032a
name: 'System performance'
pages:
- widgets:
- type: graph
width: '12'
height: '5'
fields:
- type: GRAPH
name: graphid
value:
host: 'Template OS Linux'
name: 'CPU load'
- type: graph
x: '12'
width: '12'
height: '5'
fields:
- type: GRAPH
name: graphid
value:
host: 'Template OS Linux'
name: 'CPU utilization'
- type: graph
'y': '5'
width: '12'
height: '7'
fields:
- type: GRAPH
name: graphid
value:
host: 'Template OS Linux'
name: 'Memory usage'
- type: graph
x: '12'
'y': '5'
width: '12'
height: '7'
fields:
- type: GRAPH
name: graphid
value:
host: 'Template OS Linux'
name: 'Swap usage'
- type: graph
'y': '12'
width: '12'
height: '5'
fields:
- type: INTEGER
name: source_type
value: '1'
- type: ITEM
name: itemid
value:
host: 'Template OS Linux'
key: 'proc.num[]'
- type: graph
x: '12'
'y': '12'
width: '12'
height: '5'
fields:
- type: INTEGER
name: source_type
value: '1'
- type: ITEM
name: itemid
value:
host: 'Template OS Linux'
key: 'proc.num[,,run]'
graphs:
- uuid: b3df089f2510423499ebf9233b1ddb38
name: 'CPU jumps'
graph_items:
- color: '009900'
item:
host: 'Template OS Linux'
key: system.cpu.switches
- sortorder: '1'
color: '000099'
item:
host: 'Template OS Linux'
key: system.cpu.intr
- uuid: ddbadd2946274c3abb1da2973b847a10
name: 'CPU load'
ymin_type_1: FIXED
graph_items:
- color: '009900'
item:
host: 'Template OS Linux'
key: 'system.cpu.load[percpu,avg1]'
- sortorder: '1'
color: '000099'
item:
host: 'Template OS Linux'
key: 'system.cpu.load[percpu,avg5]'
- sortorder: '2'
color: '990000'
item:
host: 'Template OS Linux'
key: 'system.cpu.load[percpu,avg15]'
- uuid: 382b0f47048b45c3a81c2b16e014e551
name: 'CPU utilization'
show_triggers: 'NO'
type: STACKED
ymin_type_1: FIXED
ymax_type_1: FIXED
graph_items:
- drawtype: FILLED_REGION
color: FF5555
item:
host: 'Template OS Linux'
key: 'system.cpu.util[,steal]'
- sortorder: '1'
drawtype: FILLED_REGION
color: 55FF55
item:
host: 'Template OS Linux'
key: 'system.cpu.util[,softirq]'
- sortorder: '2'
drawtype: FILLED_REGION
color: '009999'
item:
host: 'Template OS Linux'
key: 'system.cpu.util[,interrupt]'
- sortorder: '3'
drawtype: FILLED_REGION
color: '990099'
item:
host: 'Template OS Linux'
key: 'system.cpu.util[,nice]'
- sortorder: '4'
drawtype: FILLED_REGION
color: '999900'
item:
host: 'Template OS Linux'
key: 'system.cpu.util[,iowait]'
- sortorder: '5'
drawtype: FILLED_REGION
color: '990000'
item:
host: 'Template OS Linux'
key: 'system.cpu.util[,system]'
- sortorder: '6'
drawtype: FILLED_REGION
color: '000099'
item:
host: 'Template OS Linux'
key: 'system.cpu.util[,user]'
- sortorder: '7'
drawtype: FILLED_REGION
color: '009900'
item:
host: 'Template OS Linux'
key: 'system.cpu.util[,idle]'
- uuid: 63962d90e11e4ed0992dbc6aed212cde
name: 'Memory usage'
ymin_type_1: FIXED
ymax_type_1: ITEM
ymax_item_1:
host: 'Template OS Linux'
key: 'vm.memory.size[total]'
graph_items:
- drawtype: GRADIENT_LINE
color: 00C800
item:
host: 'Template OS Linux'
key: 'vm.memory.size[available]'
- uuid: 229091297b684721b676add922834065
name: 'Swap usage'
width: '600'
height: '340'
show_work_period: 'NO'
show_triggers: 'NO'
type: PIE
show_3d: 'YES'
graph_items:
- color: AA0000
type: GRAPH_SUM
item:
host: 'Template OS Linux'
key: 'system.swap.size[,total]'
- sortorder: '1'
color: 00AA00
item:
host: 'Template OS Linux'
key: 'system.swap.size[,free]'

756
Template Proxmox-Host.yaml Normal file
View File

@ -0,0 +1,756 @@
zabbix_export:
version: '6.4'
template_groups:
- uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
templates:
- uuid: 46d8ce9ead5b4f2993bf3c5a228e5518
template: 'Template Proxmox-Host'
name: 'Template Proxmox-Host'
templates:
- name: 'Template App Zabbix Agent'
groups:
- name: Templates
items:
- uuid: e7f949a9e3724eefb3933049581648a1
name: 'Email Data Size'
key: dir_size.email
units: B
request_method: POST
tags:
- tag: Application
value: 'Apps Data Size'
- uuid: 3434468861334b1ab225aff0f31c8a23
name: 'Lufi Data Size'
key: dir_size.lufi
units: B
request_method: POST
tags:
- tag: Application
value: 'Apps Data Size'
- uuid: 1e3824075f174c3fa065fd21c2ad7072
name: 'Matrix Data Size'
key: dir_size.matrix
units: B
request_method: POST
tags:
- tag: Application
value: 'Apps Data Size'
- uuid: a2b5bae1200942ebafd42193f164d4cb
name: 'Nextcloud Data Size'
key: dir_size.owncloud
units: B
request_method: POST
tags:
- tag: Application
value: 'Apps Data Size'
- uuid: 86740b5b9b7b4d0884b9cee30a2693d8
name: 'Maximum number of opened files'
key: kernel.maxfiles
delay: 1h
history: 1w
description: 'It could be increased by using sysctrl utility or modifying file /etc/sysctl.conf.'
request_method: POST
tags:
- tag: Application
value: OS
triggers:
- uuid: a83c44282c534206bbcdc80362e6390d
expression: 'last(/Template Proxmox-Host/kernel.maxfiles)<1024'
name: 'Configured max number of opened files is too low on {HOST.NAME}'
priority: INFO
- uuid: 6bc15b0b67c44fe59cf9456c799fcab2
name: 'Maximum number of processes'
key: kernel.maxproc
delay: 1h
history: 1w
description: 'It could be increased by using sysctrl utility or modifying file /etc/sysctl.conf.'
request_method: POST
tags:
- tag: Application
value: OS
triggers:
- uuid: f01c3bdd7c364e37adc9731df00a32ab
expression: 'last(/Template Proxmox-Host/kernel.maxproc)<256'
name: 'Configured max number of processes is too low on {HOST.NAME}'
priority: INFO
- uuid: e67611ed4bbe44839791985cede0213d
name: 'Host boot time'
key: system.boottime
delay: 10m
history: 1w
units: unixtime
request_method: POST
tags:
- tag: Application
value: General
- tag: Application
value: OS
- uuid: 00aee661e6974379936b94ededa07a19
name: 'Interrupts per second'
key: system.cpu.intr
history: 1w
units: ips
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: 40eb034ea1154bb5936bcf77ce98ad95
name: 'Processor load (1 min average per core)'
key: 'system.cpu.load[all,avg1]'
history: 1w
value_type: FLOAT
description: 'The processor load is calculated as system CPU load divided by number of CPU cores.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: 10ff7a58b0de4b74a374dbb434fc56eb
name: 'Processor load (5 min average per core)'
key: 'system.cpu.load[all,avg5]'
history: 1w
value_type: FLOAT
description: 'The processor load is calculated as system CPU load divided by number of CPU cores.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
triggers:
- uuid: e105de80c5624c979c7dd033e3b1b1e2
expression: 'avg(/Template Proxmox-Host/system.cpu.load[all,avg5],5m)>20'
name: 'Processor load is too high on {HOST.NAME}'
priority: WARNING
- uuid: 6d73b0503a354a0783e165397373664d
name: 'Processor load (15 min average per core)'
key: 'system.cpu.load[all,avg15]'
history: 1w
value_type: FLOAT
description: 'The processor load is calculated as system CPU load divided by number of CPU cores.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: 1f76e40a9bc84b71aadc880fa261dbed
name: 'Context switches per second'
key: system.cpu.switches
history: 1w
units: sps
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: fc0f3803c4b24aefb2083cc8cb1ef7dd
name: 'CPU $2 time'
key: 'system.cpu.util[,idle]'
history: 1w
value_type: FLOAT
units: '%'
description: 'The time the CPU has spent doing nothing.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: b0589eb1d5f84c96b0caa9c16aade1d3
name: 'CPU $2 time'
key: 'system.cpu.util[,interrupt]'
history: 1w
value_type: FLOAT
units: '%'
description: 'The amount of time the CPU has been servicing hardware interrupts.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: b8f6b840697642b992cbc516972a4582
name: 'CPU $2 time'
key: 'system.cpu.util[,iowait]'
history: 1w
value_type: FLOAT
units: '%'
description: 'Amount of time the CPU has been waiting for I/O to complete.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
triggers:
- uuid: 21606f46feec459aba9f58b7908f5863
expression: 'avg(/Template Proxmox-Host/system.cpu.util[,iowait],5m)>20'
name: 'Disk I/O is overloaded on {HOST.NAME}'
priority: WARNING
description: 'OS spends significant time waiting for I/O (input/output) operations. It could be indicator of performance issues with storage system.'
- uuid: bb9cf5a8677541608a836cd2e463bc4f
name: 'CPU $2 time'
key: 'system.cpu.util[,nice]'
history: 1w
value_type: FLOAT
units: '%'
description: 'The time the CPU has spent running users'' processes that have been niced.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: 25bc46e333524a3785ab00330b138c26
name: 'CPU $2 time'
key: 'system.cpu.util[,softirq]'
history: 1w
value_type: FLOAT
units: '%'
description: 'The amount of time the CPU has been servicing software interrupts.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: 9ed01e2326704e78a5bc6998a2b13b2e
name: 'CPU $2 time'
key: 'system.cpu.util[,steal]'
history: 1w
value_type: FLOAT
units: '%'
description: 'The amount of CPU ''stolen'' from this virtual machine by the hypervisor for other tasks (such as running another virtual machine).'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: 51524f8e8e9f4b269b0acee6a60ee073
name: 'CPU $2 time'
key: 'system.cpu.util[,system]'
history: 1w
value_type: FLOAT
units: '%'
description: 'The time the CPU has spent running the kernel and its processes.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: 7550ee46b369404b8922a29d1a220810
name: 'CPU $2 time'
key: 'system.cpu.util[,user]'
history: 1w
value_type: FLOAT
units: '%'
description: 'The time the CPU has spent running users'' processes that are not niced.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: a2d2eecd7b97455aa3caf3258bf3b541
name: 'Host name'
key: system.hostname
delay: 1h
history: 1w
trends: '0'
value_type: CHAR
description: 'System host name.'
inventory_link: NAME
request_method: POST
tags:
- tag: Application
value: General
- tag: Application
value: OS
triggers:
- uuid: 77a8187796984138a46a9222a431a6fd
expression: '(last(/Template Proxmox-Host/system.hostname,#1)<>last(/Template Proxmox-Host/system.hostname,#2))>0'
name: 'Hostname was changed on {HOST.NAME}'
priority: INFO
- uuid: a41a381ce82f4864a2e25eb3fe042e5b
name: 'Host local time'
key: system.localtime
history: 1w
units: unixtime
request_method: POST
tags:
- tag: Application
value: General
- tag: Application
value: OS
- uuid: 0d8a924ee3064810ab6cd4b8017ba51d
name: 'Free swap space'
key: 'system.swap.size[,free]'
history: 1w
units: B
request_method: POST
tags:
- tag: Application
value: Memory
- uuid: 65ac2e42087d44be91bf384998cb881c
name: 'Free swap space in %'
key: 'system.swap.size[,pfree]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: Memory
triggers:
- uuid: 80032cf0de474ab3a81f85932d74c1e4
expression: 'last(/Template Proxmox-Host/system.swap.size[,pfree])<50'
name: 'Lack of free swap space on {HOST.NAME}'
priority: WARNING
description: 'It probably means that the systems requires more physical memory.'
- uuid: 09a1d18a75444bb78d49f04aa0fd0421
name: 'Total swap space'
key: 'system.swap.size[,total]'
delay: 1h
history: 1w
units: B
request_method: POST
tags:
- tag: Application
value: Memory
- uuid: 70d9338e2a0a436b9e171767bbd9c8ce
name: 'System information'
key: system.uname
delay: 1h
history: 1w
trends: '0'
value_type: CHAR
description: 'The information as normally returned by ''uname -a''.'
inventory_link: OS
request_method: POST
tags:
- tag: Application
value: General
- tag: Application
value: OS
triggers:
- uuid: 271d411baa6d41f9ba428db93cd657e6
expression: '(last(/Template Proxmox-Host/system.uname,#1)<>last(/Template Proxmox-Host/system.uname,#2))>0'
name: 'Host information was changed on {HOST.NAME}'
priority: INFO
- uuid: 4980099c3b324f8a9a8f9d687ef2abbb
name: 'System uptime'
key: system.uptime
delay: 10m
history: 1w
units: uptime
request_method: POST
tags:
- tag: Application
value: General
- tag: Application
value: OS
triggers:
- uuid: 8db870603d444cbca8a184cc2f48a2e1
expression: 'change(/Template Proxmox-Host/system.uptime)<0'
name: '{HOST.NAME} has just been restarted'
priority: INFO
- uuid: 8d2b1a44aae24f6a97fa2137f6270171
name: 'Number of logged in users'
key: system.users.num
history: 1w
description: 'Number of users who are currently logged in.'
request_method: POST
tags:
- tag: Application
value: OS
- tag: Application
value: Security
- uuid: 1c5d3c9031c8496c88fe2bcb25f52f03
name: 'Checksum of $1'
key: 'vfs.file.cksum[/etc/passwd]'
delay: 1h
history: 1w
request_method: POST
tags:
- tag: Application
value: Security
triggers:
- uuid: a25c8c3661e44716b21161187a350ebc
expression: '(last(/Template Proxmox-Host/vfs.file.cksum[/etc/passwd],#1)<>last(/Template Proxmox-Host/vfs.file.cksum[/etc/passwd],#2))>0'
name: '/etc/passwd has been changed on {HOST.NAME}'
priority: WARNING
- uuid: 9425f2ba1fe7442ba4a564da93da56a2
name: 'Available memory'
key: 'vm.memory.size[available]'
history: 1w
units: B
description: 'Available memory is defined as free+cached+buffers memory.'
request_method: POST
tags:
- tag: Application
value: Memory
triggers:
- uuid: 1d346ec876854756b3c585b82589417c
expression: 'last(/Template Proxmox-Host/vm.memory.size[available])<20M'
name: 'Lack of available memory on server {HOST.NAME}'
priority: AVERAGE
- uuid: 9b126c0dd2f14ad3aeb9c63f43a00c55
name: 'Total memory'
key: 'vm.memory.size[total]'
delay: 1h
history: 1w
units: B
request_method: POST
tags:
- tag: Application
value: Memory
discovery_rules:
- uuid: c53010c6e97b47d2bc7f323b9e5e92fd
name: 'Network interface discovery'
key: net.if.discovery
delay: 1h
filter:
conditions:
- macro: '{#IFNAME}'
value: '@Network interfaces for discovery'
formulaid: A
description: 'Discovery of network interfaces as defined in global regular expression "Network interfaces for discovery".'
item_prototypes:
- uuid: 6661a3aa399c4d848f5461a9af5cadcb
name: 'Incoming network traffic on $1'
key: 'net.if.in[{#IFNAME}]'
history: 1w
units: bps
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
- type: MULTIPLIER
parameters:
- '8'
request_method: POST
tags:
- tag: Application
value: 'Network interfaces'
- uuid: 6860c5da56ca4c4ab7bef10160177c99
name: 'Outgoing network traffic on $1'
key: 'net.if.out[{#IFNAME}]'
history: 1w
units: bps
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
- type: MULTIPLIER
parameters:
- '8'
request_method: POST
tags:
- tag: Application
value: 'Network interfaces'
graph_prototypes:
- uuid: 56a7804a9b9542b9b64b6bf50a810d29
name: 'Network traffic on {#IFNAME}'
ymin_type_1: FIXED
graph_items:
- drawtype: GRADIENT_LINE
color: 00AA00
item:
host: 'Template Proxmox-Host'
key: 'net.if.in[{#IFNAME}]'
- sortorder: '1'
drawtype: GRADIENT_LINE
color: 3333FF
item:
host: 'Template Proxmox-Host'
key: 'net.if.out[{#IFNAME}]'
request_method: POST
- uuid: f2213d1ec382460eae55783a73fc6df1
name: 'Mounted filesystem discovery'
key: vfs.fs.discovery
delay: 1h
filter:
conditions:
- macro: '{#FSTYPE}'
value: '@File systems for discovery'
formulaid: A
description: 'Discovery of file systems of different types as defined in global regular expression "File systems for discovery".'
item_prototypes:
- uuid: 8e0dd20f26f945c8bd07e96fb11c7d06
name: 'Free inodes on $1 (percentage)'
key: 'vfs.fs.inode[{#FSNAME},pfree]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: Filesystems
trigger_prototypes:
- uuid: ded69d37655b45a38f89f7c107f0d056
expression: 'last(/Template Proxmox-Host/vfs.fs.inode[{#FSNAME},pfree])<20'
name: 'Free inodes is less than 20% on volume {#FSNAME}'
priority: WARNING
- uuid: f43bcb6ad33f42338be17a6cae9b25b6
name: 'Free disk space on $1'
key: 'vfs.fs.size[{#FSNAME},free]'
history: 1w
units: B
request_method: POST
tags:
- tag: Application
value: Filesystems
- uuid: e9479d8fe3dc4432b01356814fbe617b
name: 'Free disk space on $1 (percentage)'
key: 'vfs.fs.size[{#FSNAME},pfree]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: Filesystems
trigger_prototypes:
- uuid: cf90ab00ea51462a97a1b646ee6e67b8
expression: 'last(/Template Proxmox-Host/vfs.fs.size[{#FSNAME},pfree])<10'
name: 'Free disk space is less than 20% on volume {#FSNAME}'
priority: WARNING
- uuid: e4672c181f7645438433ee446af98119
name: 'Total disk space on $1'
key: 'vfs.fs.size[{#FSNAME},total]'
delay: 1h
history: 1w
units: B
request_method: POST
tags:
- tag: Application
value: Filesystems
- uuid: 15b6bb1ce50d4bdab5b21601307f0e6b
name: 'Used disk space on $1'
key: 'vfs.fs.size[{#FSNAME},used]'
delay: 1h
history: 1w
units: B
request_method: POST
tags:
- tag: Application
value: Filesystems
graph_prototypes:
- uuid: 1607fd2d82454e4a9c68695acb592f54
name: 'Disk space usage {#FSNAME}'
width: '600'
height: '340'
show_work_period: 'NO'
show_triggers: 'NO'
graph_items:
- color: 00C800
item:
host: 'Template Proxmox-Host'
key: 'vfs.fs.size[{#FSNAME},free]'
- sortorder: '1'
color: C80000
type: GRAPH_SUM
item:
host: 'Template Proxmox-Host'
key: 'vfs.fs.size[{#FSNAME},total]'
request_method: POST
dashboards:
- uuid: ef8d74bc14aa4633bc2989ca9cb0617d
name: 'System performance'
pages:
- widgets:
- type: graph
width: '12'
height: '5'
fields:
- type: GRAPH
name: graphid
value:
host: 'Template Proxmox-Host'
name: 'CPU load'
- type: graph
x: '12'
width: '12'
height: '5'
fields:
- type: GRAPH
name: graphid
value:
host: 'Template Proxmox-Host'
name: 'CPU utilization'
- type: graph
'y': '5'
width: '12'
height: '7'
fields:
- type: GRAPH
name: graphid
value:
host: 'Template Proxmox-Host'
name: 'Memory usage'
- type: graph
x: '12'
'y': '5'
width: '12'
height: '7'
fields:
- type: GRAPH
name: graphid
value:
host: 'Template Proxmox-Host'
name: 'Swap usage'
graphs:
- uuid: 625ce72ef1e242e7bb4c9d7161a4f6d0
name: 'Apps Data Size'
graph_items:
- color: 6666FF
item:
host: 'Template Proxmox-Host'
key: dir_size.email
- sortorder: '1'
color: 33FF33
item:
host: 'Template Proxmox-Host'
key: dir_size.lufi
- sortorder: '2'
color: FF3333
item:
host: 'Template Proxmox-Host'
key: dir_size.matrix
- sortorder: '3'
color: CCCC00
item:
host: 'Template Proxmox-Host'
key: dir_size.owncloud
- uuid: 56fbb2d1c85f434b824354de16012fff
name: 'CPU jumps'
graph_items:
- color: '009900'
item:
host: 'Template Proxmox-Host'
key: system.cpu.switches
- sortorder: '1'
color: '000099'
item:
host: 'Template Proxmox-Host'
key: system.cpu.intr
- uuid: f60fd6225544499f8a7912b2073f60d2
name: 'CPU load'
ymin_type_1: FIXED
graph_items:
- color: 8BC34A
item:
host: 'Template Proxmox-Host'
key: 'system.cpu.load[all,avg1]'
- sortorder: '1'
color: 039BE5
item:
host: 'Template Proxmox-Host'
key: 'system.cpu.load[all,avg5]'
- sortorder: '2'
color: F44336
item:
host: 'Template Proxmox-Host'
key: 'system.cpu.load[all,avg15]'
- uuid: 0aefef6247db470288f74eaefafdfe43
name: 'CPU utilization'
show_triggers: 'NO'
type: STACKED
ymin_type_1: FIXED
ymax_type_1: FIXED
graph_items:
- drawtype: FILLED_REGION
color: FF5555
item:
host: 'Template Proxmox-Host'
key: 'system.cpu.util[,steal]'
- sortorder: '1'
drawtype: FILLED_REGION
color: 55FF55
item:
host: 'Template Proxmox-Host'
key: 'system.cpu.util[,softirq]'
- sortorder: '2'
drawtype: FILLED_REGION
color: '009999'
item:
host: 'Template Proxmox-Host'
key: 'system.cpu.util[,interrupt]'
- sortorder: '3'
drawtype: FILLED_REGION
color: '990099'
item:
host: 'Template Proxmox-Host'
key: 'system.cpu.util[,nice]'
- sortorder: '4'
drawtype: FILLED_REGION
color: '999900'
item:
host: 'Template Proxmox-Host'
key: 'system.cpu.util[,iowait]'
- sortorder: '5'
drawtype: FILLED_REGION
color: '990000'
item:
host: 'Template Proxmox-Host'
key: 'system.cpu.util[,system]'
- sortorder: '6'
drawtype: FILLED_REGION
color: '000099'
item:
host: 'Template Proxmox-Host'
key: 'system.cpu.util[,user]'
- sortorder: '7'
drawtype: FILLED_REGION
color: '009900'
item:
host: 'Template Proxmox-Host'
key: 'system.cpu.util[,idle]'
- uuid: bb195218041c43e2b3e9a014dc7782a9
name: 'Memory usage'
ymin_type_1: FIXED
ymax_type_1: ITEM
ymax_item_1:
host: 'Template Proxmox-Host'
key: 'vm.memory.size[total]'
graph_items:
- drawtype: GRADIENT_LINE
color: 00C800
item:
host: 'Template Proxmox-Host'
key: 'vm.memory.size[available]'
- uuid: 5269d07722ed40f5be8e65b8bedb53f0
name: 'Swap usage'
width: '600'
height: '340'
show_work_period: 'NO'
show_triggers: 'NO'
type: PIE
show_3d: 'YES'
graph_items:
- color: AA0000
type: GRAPH_SUM
item:
host: 'Template Proxmox-Host'
key: 'system.swap.size[,total]'
- sortorder: '1'
color: 00AA00
item:
host: 'Template Proxmox-Host'
key: 'system.swap.size[,free]'

156
Template_Nginx.yaml Normal file
View File

@ -0,0 +1,156 @@
zabbix_export:
version: '6.4'
template_groups:
- uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
templates:
- uuid: 1b0a936b34fe4b9b82ba136a3fc3c99c
template: Template_Nginx
name: Template_Nginx
groups:
- name: Templates
items:
- uuid: 8e977105d75b425aa7c6501a9750bf0f
name: 'Nginx $1/sec'
key: 'nginx[accepted_connections,{$NGINX_STATUS_URL}]'
history: 30d
value_type: FLOAT
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
tags:
- tag: Application
value: Nginx
- uuid: 7e0164d3e9ed4e168888b0d7d9b3150b
name: 'Nginx $1'
key: 'nginx[active_connections,{$NGINX_STATUS_URL}]'
history: 30d
value_type: FLOAT
tags:
- tag: Application
value: Nginx
- uuid: e895f25698d148708943d32a8c0e856b
name: 'Nginx $1/sec'
key: 'nginx[handled_connections,{$NGINX_STATUS_URL}]'
history: 30d
value_type: FLOAT
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
tags:
- tag: Application
value: Nginx
- uuid: 3f5317b7dd0944148346cfec0f7891e0
name: 'Nginx $1/sec'
key: 'nginx[handled_requests,{$NGINX_STATUS_URL}]'
history: 30d
value_type: FLOAT
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
tags:
- tag: Application
value: Nginx
- uuid: f51dd36d413b4b0dafae710f35902c5e
name: 'Nginx $1'
key: 'nginx[reading,{$NGINX_STATUS_URL}]'
history: 30d
value_type: FLOAT
tags:
- tag: Application
value: Nginx
- uuid: 037de810ee6041eca0b057bf145f71f8
name: 'Nginx $1'
key: 'nginx[waiting,{$NGINX_STATUS_URL}]'
history: 30d
value_type: FLOAT
tags:
- tag: Application
value: Nginx
- uuid: c4fa65b0b7024b7ea5d9366c1b73bbff
name: 'Nginx $1'
key: 'nginx[writing,{$NGINX_STATUS_URL}]'
history: 30d
value_type: FLOAT
tags:
- tag: Application
value: Nginx
- uuid: e2823ec678684ebca2184bf75bf92117
name: 'Number of $1 process'
snmp_oid: interfaces.ifTable.ifEntry.ifInOctets.1
key: 'proc.num[nginx]'
delay: 5m
history: 30d
triggers:
- uuid: e210309656f2473eb35b157074e4e203
expression: 'last(/Template_Nginx/proc.num[nginx])=0'
name: 'Nginx is not running on {HOSTNAME}'
priority: HIGH
description: |
Nginx is not running.
It has been stopped / shutdown or has crashed.
Check on the server for more details:
- w / last
- dmesg logs
- /var/log/messages
- nginx error logs
macros:
- macro: '{$NGINX_STATUS_URL}'
value: 'http://127.0.0.1:10061/nginx_status'
graphs:
- uuid: fb04c72c70274d37988493531ec1ab38
name: 'Nginx - Connections and Requests status'
show_work_period: 'NO'
show_triggers: 'NO'
ymin_type_1: FIXED
graph_items:
- drawtype: FILLED_REGION
color: FF9999
calc_fnc: MAX
item:
host: Template_Nginx
key: 'nginx[accepted_connections,{$NGINX_STATUS_URL}]'
- sortorder: '1'
drawtype: BOLD_LINE
color: '990000'
calc_fnc: MAX
item:
host: Template_Nginx
key: 'nginx[handled_connections,{$NGINX_STATUS_URL}]'
- sortorder: '2'
color: '009900'
calc_fnc: MAX
item:
host: Template_Nginx
key: 'nginx[handled_requests,{$NGINX_STATUS_URL}]'
- uuid: 7d1b941135824797a08fe6a6af11b5fc
name: 'Nginx - Threads status'
show_work_period: 'NO'
show_triggers: 'NO'
type: STACKED
ymin_type_1: FIXED
graph_items:
- drawtype: FILLED_REGION
color: '990000'
calc_fnc: MAX
item:
host: Template_Nginx
key: 'nginx[writing,{$NGINX_STATUS_URL}]'
- sortorder: '1'
drawtype: FILLED_REGION
color: '999900'
calc_fnc: MAX
item:
host: Template_Nginx
key: 'nginx[reading,{$NGINX_STATUS_URL}]'
- sortorder: '2'
drawtype: FILLED_REGION
color: '009900'
calc_fnc: MAX
item:
host: Template_Nginx
key: 'nginx[waiting,{$NGINX_STATUS_URL}]'