Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'templates/classic/template_os_mac_os_x.yaml')
-rw-r--r--templates/classic/template_os_mac_os_x.yaml59
1 files changed, 10 insertions, 49 deletions
diff --git a/templates/classic/template_os_mac_os_x.yaml b/templates/classic/template_os_mac_os_x.yaml
index 65c9b3704ba..74905eb46ea 100644
--- a/templates/classic/template_os_mac_os_x.yaml
+++ b/templates/classic/template_os_mac_os_x.yaml
@@ -3,11 +3,9 @@ zabbix_export:
date: '2021-05-09T00:00:00Z'
groups:
-
- uuid: 846977d1dfed4968bc5f8bdb363285bc
name: 'Templates/Operating systems'
templates:
-
- uuid: f895df5b37494f668cde1a2388d7af8b
template: 'Mac OS X'
name: 'Mac OS X'
templates:
@@ -18,7 +16,6 @@ zabbix_export:
name: 'Templates/Operating systems'
items:
-
- uuid: d25aa1f2eae445ceb18b7e4ee5383585
name: 'Maximum number of opened files'
key: kernel.maxfiles
delay: 1h
@@ -30,12 +27,10 @@ zabbix_export:
value: OS
triggers:
-
- uuid: 7425cce41fc24a838144e0a376fe1779
- expression: '{last()}<1024'
+ expression: 'last(/Mac OS X/kernel.maxfiles)<1024'
name: 'Configured max number of opened files is too low on {HOST.NAME}'
priority: INFO
-
- uuid: 5c376cae54854613a1533eb804bcee56
name: 'Maximum number of processes'
key: kernel.maxproc
delay: 1h
@@ -47,12 +42,10 @@ zabbix_export:
value: OS
triggers:
-
- uuid: 34d1581f487a4549bf2918c1b16b5332
- expression: '{last()}<256'
+ expression: 'last(/Mac OS X/kernel.maxproc)<256'
name: 'Configured max number of processes is too low on {HOST.NAME}'
priority: INFO
-
- uuid: 951d874e6b644f9787c7a0d267bafcf8
name: 'Incoming network traffic on en0'
key: 'net.if.in[en0]'
history: 1w
@@ -71,7 +64,6 @@ zabbix_export:
tag: Application
value: 'Network interfaces'
-
- uuid: ac875bd25d484d38b16cb02c30be6b67
name: 'Outgoing network traffic on en0'
key: 'net.if.out[en0]'
history: 1w
@@ -90,7 +82,6 @@ zabbix_export:
tag: Application
value: 'Network interfaces'
-
- uuid: 928f973c004447d099a79e09a8b98cee
name: 'Host boot time'
key: system.boottime
delay: 10m
@@ -104,7 +95,6 @@ zabbix_export:
tag: Application
value: OS
-
- uuid: 5abd63bb64114794ae6d253dcc12afb4
name: 'Processor load (1 min average per core)'
key: 'system.cpu.load[percpu,avg1]'
history: 1w
@@ -119,12 +109,10 @@ zabbix_export:
value: Performance
triggers:
-
- uuid: 5468a6f759b74b5fbcc68f31fdd39958
- expression: '{avg(5m)}>5'
+ expression: 'avg(/Mac OS X/system.cpu.load[percpu,avg1],5m)>5'
name: 'Processor load is too high on {HOST.NAME}'
priority: WARNING
-
- uuid: 7e569411a7b4415098d21aaa44068dee
name: 'Processor load (5 min average per core)'
key: 'system.cpu.load[percpu,avg5]'
history: 1w
@@ -138,7 +126,6 @@ zabbix_export:
tag: Application
value: Performance
-
- uuid: 1ddc219f824541ca9c9ef30afda56df2
name: 'Processor load (15 min average per core)'
key: 'system.cpu.load[percpu,avg15]'
history: 1w
@@ -152,7 +139,6 @@ zabbix_export:
tag: Application
value: Performance
-
- uuid: 9c0230c0bb944523bd781c37304bb87b
name: 'Host name'
key: system.hostname
delay: 1h
@@ -170,12 +156,10 @@ zabbix_export:
value: OS
triggers:
-
- uuid: 35305ead1cf749e382885ffce39b0ce6
- expression: '{diff(0)}>0'
+ expression: '(last(/Mac OS X/system.hostname,#1)<>last(/Mac OS X/system.hostname,#2))>0'
name: 'Hostname was changed on {HOST.NAME}'
priority: INFO
-
- uuid: 5a7ce2c61d3a4696ac76e0406308e61b
name: 'Host local time'
key: system.localtime
history: 1w
@@ -188,7 +172,6 @@ zabbix_export:
tag: Application
value: OS
-
- uuid: 5c73ff0f28d24d92955c667e5245cfa0
name: 'System information'
key: system.uname
delay: 1h
@@ -206,12 +189,10 @@ zabbix_export:
value: OS
triggers:
-
- uuid: 35aad664ac26443d9a2cde0a1bcb1e34
- expression: '{diff(0)}>0'
+ expression: '(last(/Mac OS X/system.uname,#1)<>last(/Mac OS X/system.uname,#2))>0'
name: 'Host information was changed on {HOST.NAME}'
priority: INFO
-
- uuid: 34c001a77a904224aa90338590375870
name: 'System uptime'
key: system.uptime
delay: 10m
@@ -226,12 +207,10 @@ zabbix_export:
value: OS
triggers:
-
- uuid: fd3264fc57e147bb96a85963b52ae4ac
- expression: '{change(0)}<0'
+ expression: 'change(/Mac OS X/system.uptime)<0'
name: '{HOST.NAME} has just been restarted'
priority: INFO
-
- uuid: 31ea6bafabbe440ea1b8d1b6cea74444
name: 'Number of logged in users'
key: system.users.num
history: 1w
@@ -244,7 +223,6 @@ zabbix_export:
tag: Application
value: Security
-
- uuid: 6df0d9e8694d45dfa11e433d8de7be41
name: 'Checksum of /etc/passwd'
key: 'vfs.file.cksum[/etc/passwd]'
delay: 1h
@@ -255,12 +233,10 @@ zabbix_export:
value: Security
triggers:
-
- uuid: 152fa8624bea46e8ba516f17d2cc8df1
- expression: '{diff(0)}>0'
+ expression: '(last(/Mac OS X/vfs.file.cksum[/etc/passwd],#1)<>last(/Mac OS X/vfs.file.cksum[/etc/passwd],#2))>0'
name: '/etc/passwd has been changed on {HOST.NAME}'
priority: WARNING
-
- uuid: daf35c33bb84443f893bb06bfe10f870
name: 'Available memory'
key: 'vm.memory.size[available]'
history: 1w
@@ -272,12 +248,10 @@ zabbix_export:
value: Memory
triggers:
-
- uuid: f1debd6f89984530a832857923c58d43
- expression: '{last()}<20M'
+ expression: 'last(/Mac OS X/vm.memory.size[available])<20M'
name: 'Lack of available memory on server {HOST.NAME}'
priority: AVERAGE
-
- uuid: 83c0218324a548c4a01054801a4d8b0b
name: 'Total memory'
key: 'vm.memory.size[total]'
delay: 1h
@@ -289,7 +263,6 @@ zabbix_export:
value: Memory
discovery_rules:
-
- uuid: c537fbe006d7434dab08add1dcf87537
name: 'Mounted filesystem discovery'
key: vfs.fs.discovery
delay: 1h
@@ -302,7 +275,6 @@ zabbix_export:
description: 'Discovery of file systems of different types as defined in global regular expression "File systems for discovery".'
item_prototypes:
-
- uuid: b7560dc2b6f743458128961cc962bcd3
name: 'Free inodes on {#FSNAME} (percentage)'
key: 'vfs.fs.inode[{#FSNAME},pfree]'
history: 1w
@@ -314,12 +286,10 @@ zabbix_export:
value: Filesystems
trigger_prototypes:
-
- uuid: 006273634943429eb4da6a4146b08990
- expression: '{last()}<20'
+ expression: 'last(/Mac OS X/vfs.fs.inode[{#FSNAME},pfree])<20'
name: 'Free inodes is less than 20% on volume {#FSNAME}'
priority: WARNING
-
- uuid: 29340ac4c5d3419cb4508641e85d787d
name: 'Free disk space on {#FSNAME}'
key: 'vfs.fs.size[{#FSNAME},free]'
history: 1w
@@ -329,7 +299,6 @@ zabbix_export:
tag: Application
value: Filesystems
-
- uuid: 6d9aa50bddb642499ad575a0cc71146b
name: 'Free disk space on {#FSNAME} (percentage)'
key: 'vfs.fs.size[{#FSNAME},pfree]'
history: 1w
@@ -341,12 +310,10 @@ zabbix_export:
value: Filesystems
trigger_prototypes:
-
- uuid: 00985386e942424d9eac7c795c4cca8c
- expression: '{last()}<20'
+ expression: 'last(/Mac OS X/vfs.fs.size[{#FSNAME},pfree])<20'
name: 'Free disk space is less than 20% on volume {#FSNAME}'
priority: WARNING
-
- uuid: c311ced2b4204b368af1c8a8c27f9c99
name: 'Total disk space on {#FSNAME}'
key: 'vfs.fs.size[{#FSNAME},total]'
delay: 1h
@@ -357,7 +324,6 @@ zabbix_export:
tag: Application
value: Filesystems
-
- uuid: 748612098b4e4befa0f39f11b99eced4
name: 'Used disk space on {#FSNAME}'
key: 'vfs.fs.size[{#FSNAME},used]'
history: 1w
@@ -368,7 +334,6 @@ zabbix_export:
value: Filesystems
graph_prototypes:
-
- uuid: 6ce28b13df4e4494a4d39750afb25290
name: 'Disk space usage {#FSNAME}'
width: '600'
height: '340'
@@ -391,7 +356,6 @@ zabbix_export:
key: 'vfs.fs.size[{#FSNAME},free]'
dashboards:
-
- uuid: d66f39e86e2047289acea0bc9a218807
name: 'System performance'
pages:
-
@@ -429,7 +393,6 @@ zabbix_export:
host: 'Mac OS X'
graphs:
-
- uuid: f0e648fb4c5345748b11a7bdb05f6526
name: 'CPU load'
ymin_type_1: FIXED
graph_items:
@@ -451,7 +414,6 @@ zabbix_export:
host: 'Mac OS X'
key: 'system.cpu.load[percpu,avg15]'
-
- uuid: 5c942cb1fe5b440aa9428d45ee85e09c
name: 'Memory usage'
ymin_type_1: FIXED
ymax_type_1: ITEM
@@ -466,7 +428,6 @@ zabbix_export:
host: 'Mac OS X'
key: 'vm.memory.size[available]'
-
- uuid: 5c4b08f992c541dbb02835bbd4f0a55e
name: 'Network traffic on en0'
ymin_type_1: FIXED
graph_items: