From 27e01b31d113e7a8813fb191bcf4113d2c1bd972 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Wed, 20 Jun 2018 18:16:45 +0100 Subject: [PATCH 01/76] New template: Service php-fpm --- README.md | 6 + Service php-fpm/README.md | 32 + Service php-fpm/Service php-fpm.xml | 1115 +++++++++++++++++++++++++++ export_templates | 1 + import_templates | 1 + 5 files changed, 1155 insertions(+) create mode 100644 Service php-fpm/README.md create mode 100644 Service php-fpm/Service php-fpm.xml diff --git a/README.md b/README.md index 78c482d..34f1f98 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,11 @@ This repository provides a set of templates which offers the alternative set of - [Copyright](#copyright--c--2017-2018-tomasz-k-oczko--kloczek-fedoraprojectorg) *** ## Changelog: +### (devel) +- New templates + - [Service php-fpm](https://github.com/kloczek/zabbix-templates/tree/master/Service%20Nphp-fpm) + + ### 1.0.4 (2018-06-11) - The first version tagged in git repo to stamp state of templates and tools and to provide better tracking changes by using ```git``` command - The development of the next versions of the templates will continue on devel branch. When all changes are ready devel branch will be merged to master one. It will be way better for those who have interested enough tested template. @@ -192,6 +197,7 @@ ut I need to standarize thuis before first officially announced release of the t - [Service Apache](https://github.com/kloczek/zabbix-templates/tree/master/Service%20Apache) - [Service MySQL](https://github.com/kloczek/zabbix-templates/tree/master/Service%20MySQL) - [Service Nginx](https://github.com/kloczek/zabbix-templates/tree/master/Service%20Nginx) +- [Service php-fpm](https://github.com/kloczek/zabbix-templates/tree/master/Service%20Nphp-fpm) - [Service Zabbix Agent](https://github.com/kloczek/zabbix-templates/tree/master/Service%20Zabbix%20Agent) - [Service Zabbix Proxy](https://github.com/kloczek/zabbix-templates/tree/master/Service%20Zabbix%20Proxy) - [Service Zabbix Server](https://github.com/kloczek/zabbix-templates/tree/master/Service%20Zabbix%20Server) diff --git a/Service php-fpm/README.md b/Service php-fpm/README.md new file mode 100644 index 0000000..ad158a7 --- /dev/null +++ b/Service php-fpm/README.md @@ -0,0 +1,32 @@ +#### Version: devel + +#### Description: +PHP FastCGI Process Manager service monitoring template. This template is using +- zabbix active agent items +- master item data obtained from by default http://localhost/status + +#### Macros used by template: + +#### Changelog: +- (devel) + - Initial version + +#### Notes: +- The template uses php-fpm FPM status page so in php.ini must be enabled: +``` +pm.status_path = /status +``` +- In case of using nginx with php-fpm nginx.conf configuration file must have: +``` + location ~ ^/(status|ping)$ { + access_log off; + allow 127.0.0.1; + allow ::1; + deny all; + include fastcgi_params; + fastcgi_index index.php; + fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; + + fastcgi_pass unix:/run/php-fpm/www.sock; + } +``` diff --git a/Service php-fpm/Service php-fpm.xml b/Service php-fpm/Service php-fpm.xml new file mode 100644 index 0000000..560aa3f --- /dev/null +++ b/Service php-fpm/Service php-fpm.xml @@ -0,0 +1,1115 @@ + + + 3.4 + 2018-06-12T15:13:26Z + + + Templates + + + + + + + + {Service php-fpm:proc.num[php-fpm].last()}=0 + 0 + + PROC::php-fpm is DOWN + 0 + + + 0 + 4 + PHP-FPM process count: 0 + 0 + 0 + + + + + + + SVC::php-fpm::listen queue + 1200 + 300 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + 00EE00 + 0 + 7 + 0 + + Service php-fpm + status[listen queue len] + + + + 1 + 0 + 0000EE + 0 + 7 + 0 + + Service php-fpm + status[listen queue] + + + + 2 + 0 + EE0000 + 0 + 7 + 0 + + Service php-fpm + status[max listen queue] + + + + + + SVC::php-fpm::processes + 1200 + 300 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + 1A7C11 + 0 + 7 + 0 + + Service php-fpm + status[active processes] + + + + 1 + 0 + F63100 + 0 + 7 + 0 + + Service php-fpm + status[idle processes] + + + + 2 + 0 + 2774A4 + 0 + 7 + 0 + + Service php-fpm + status[max active processes] + + + + 3 + 0 + A54F10 + 0 + 7 + 0 + + Service php-fpm + status[total processes] + + + + + + SVC::php-fpm::requests + 1200 + 300 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + 1A7C11 + 0 + 7 + 0 + + Service php-fpm + status[accepted conn] + + + + 1 + 0 + F63100 + 0 + 7 + 0 + + Service php-fpm + status[slow requests] + + + + + + + + Service state + + + 0 + Down + + + 1 + Up + + + + + diff --git a/export_templates b/export_templates index 4ee15b3..88978ca 100755 --- a/export_templates +++ b/export_templates @@ -19,6 +19,7 @@ for i in \ "Service Apache" \ "Service MySQL" \ "Service Nginx" \ + "Service php-fpm" \ "Service Zabbix Agent" \ "Service Zabbix Proxy" \ "Service Zabbix Server" \ diff --git a/import_templates b/import_templates index 231a9e3..0ecf210 100755 --- a/import_templates +++ b/import_templates @@ -21,6 +21,7 @@ for i in \ "Service Apache" \ "Service MySQL" \ "Service Nginx" \ + "Service php-fpm" \ "Service Zabbix Agent" \ "Service Zabbix Proxy" \ "Service Zabbix Server" \ From 7ced99502ece70d43c10e5761e7917447387ced4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Thu, 21 Jun 2018 11:08:16 +0100 Subject: [PATCH 02/76] Cleanups. --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 34f1f98..31aa343 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ This repository provides a set of templates which offers the alternative set of ## Table of Contents *** - [Changelog](#changelog) + * [1.0.5](devel) * [1.0.4](#104-2018-06-11) - [List of templates](#list-of-templates) - [Notes and Guidlines](#notes-and-guidelines) @@ -14,7 +15,7 @@ This repository provides a set of templates which offers the alternative set of ## Changelog: ### (devel) - New templates - - [Service php-fpm](https://github.com/kloczek/zabbix-templates/tree/master/Service%20Nphp-fpm) + - [Service php-fpm](https://github.com/kloczek/zabbix-templates/tree/master/Service%20php-fpm) ### 1.0.4 (2018-06-11) @@ -197,7 +198,7 @@ ut I need to standarize thuis before first officially announced release of the t - [Service Apache](https://github.com/kloczek/zabbix-templates/tree/master/Service%20Apache) - [Service MySQL](https://github.com/kloczek/zabbix-templates/tree/master/Service%20MySQL) - [Service Nginx](https://github.com/kloczek/zabbix-templates/tree/master/Service%20Nginx) -- [Service php-fpm](https://github.com/kloczek/zabbix-templates/tree/master/Service%20Nphp-fpm) +- [Service php-fpm](https://github.com/kloczek/zabbix-templates/tree/master/Service%20php-fpm) - [Service Zabbix Agent](https://github.com/kloczek/zabbix-templates/tree/master/Service%20Zabbix%20Agent) - [Service Zabbix Proxy](https://github.com/kloczek/zabbix-templates/tree/master/Service%20Zabbix%20Proxy) - [Service Zabbix Server](https://github.com/kloczek/zabbix-templates/tree/master/Service%20Zabbix%20Server) From 703d8cc118f85eb9ae2072b6a081ed669d31cfe2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Thu, 21 Jun 2018 11:18:07 +0100 Subject: [PATCH 03/76] Service Zabbix Agent template Graphs: - new HOST::items which presents number of host items vs number of unsuppoerted item Items: - new items with current counter of total host items (supported/unsupprted/enabled/disabled) --- README.md | 11 ++- Service Zabbix Agent/README.md | 7 +- Service Zabbix Agent/Service Zabbix Agent.xml | 91 ++++++++++++++++++- 3 files changed, 102 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 31aa343..1ce1ee7 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ This repository provides a set of templates which offers the alternative set of ## Table of Contents *** - [Changelog](#changelog) - * [1.0.5](devel) + * [devel](devel) * [1.0.4](#104-2018-06-11) - [List of templates](#list-of-templates) - [Notes and Guidlines](#notes-and-guidelines) @@ -16,7 +16,11 @@ This repository provides a set of templates which offers the alternative set of ### (devel) - New templates - [Service php-fpm](https://github.com/kloczek/zabbix-templates/tree/master/Service%20php-fpm) - +- **Service Zabbix Agent** + - Graphs: + - new ```HOST::items``` which presents number of host items vs number of unsuppoerted item + - Items: + - new ```items``` with current counter of total host items (supported/unsupprted/enabled/disabled) ### 1.0.4 (2018-06-11) - The first version tagged in git repo to stamp state of templates and tools and to provide better tracking changes by using ```git``` command @@ -86,8 +90,7 @@ This repository provides a set of templates which offers the alternative set of - new ```show_compatibility_56``` - show is MySQL engine running in MySQL 5.6 compatibility mode is ON/OFF - new ```Threads_cached``` - the number of threads in the thread cache - mew ```Threads_running``` - the number of threads that are not sleeping - - rewrite most of the items SQL queries to use uppercase SQL keywords and lowercase for table names and row names (this will cause problems with imprt new template b -ut I need to standarize thuis before first officially announced release of the templates) + - rewrite most of the items SQL queries to use uppercase SQL keywords and lowercase for table names and row names (this will cause problems with imprt new template but I need to standarize thuis before first officially announced release of the templates) - Screens: - new ```SVC::MySQL::threads``` which combines ```SVC::MySQL::threads``` graph and ```Connections``` simple graph - Triggers: diff --git a/Service Zabbix Agent/README.md b/Service Zabbix Agent/README.md index 70ed75d..6857efd 100644 --- a/Service Zabbix Agent/README.md +++ b/Service Zabbix Agent/README.md @@ -1,9 +1,14 @@ -#### Version: 1.0.4 (2018-06-11) +#### Version: devel () #### Description: Base zabbix agent monitoring. #### Changelog: +- (devel) + - Graphs: + - new ```HOST::items``` which presents number of host items vs number of unsuppoerted item + - Items: + - new ```items``` with current counter of total host items (supported/unsupprted/enabled/disabled) - 1.0.4 (2018-06-11): - minor clenups in template description - 1.0.1 (2017-11-30): diff --git a/Service Zabbix Agent/Service Zabbix Agent.xml b/Service Zabbix Agent/Service Zabbix Agent.xml index 5b014bc..73096ba 100644 --- a/Service Zabbix Agent/Service Zabbix Agent.xml +++ b/Service Zabbix Agent/Service Zabbix Agent.xml @@ -1,7 +1,7 @@ 3.4 - 2018-06-11T11:39:03Z + 2018-06-21T10:09:33Z Templates @@ -113,7 +113,48 @@ Notes: - items unsupported + $3 + 5 + + + zabbix[host,,items] + 30s + 2w + 365d + 0 + 3 + + items + + + 0 + 0 + + 0 + + + + 0 + + + + + + Number of enabled items (supported and not supported) on the host. + 0 + + + SVC::Zabbix Agent + + + + + + + + + + $3 5 @@ -217,6 +258,52 @@ Notes: + + + HOST::items + 1200 + 300 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + 00EE00 + 0 + 7 + 0 + + Service Zabbix Agent + zabbix[host,,items] + + + + 1 + 0 + EE0000 + 0 + 7 + 0 + + Service Zabbix Agent + zabbix[host,,items_unsupported] + + + + + Service state From 5452583c2531ac6202ade2fa5c5369b818c4c78e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Thu, 21 Jun 2018 11:27:07 +0100 Subject: [PATCH 04/76] Change php-fpm URL to tree/devel instead tree/master. (I must remember to change all those URL after merge to master) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1ce1ee7..ef723df 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ This repository provides a set of templates which offers the alternative set of ## Changelog: ### (devel) - New templates - - [Service php-fpm](https://github.com/kloczek/zabbix-templates/tree/master/Service%20php-fpm) + - [Service php-fpm](https://github.com/kloczek/zabbix-templates/tree/devel/Service%20php-fpm) - **Service Zabbix Agent** - Graphs: - new ```HOST::items``` which presents number of host items vs number of unsuppoerted item @@ -201,7 +201,7 @@ This repository provides a set of templates which offers the alternative set of - [Service Apache](https://github.com/kloczek/zabbix-templates/tree/master/Service%20Apache) - [Service MySQL](https://github.com/kloczek/zabbix-templates/tree/master/Service%20MySQL) - [Service Nginx](https://github.com/kloczek/zabbix-templates/tree/master/Service%20Nginx) -- [Service php-fpm](https://github.com/kloczek/zabbix-templates/tree/master/Service%20php-fpm) +- [Service php-fpm](https://github.com/kloczek/zabbix-templates/tree/devel/Service%20php-fpm) - [Service Zabbix Agent](https://github.com/kloczek/zabbix-templates/tree/master/Service%20Zabbix%20Agent) - [Service Zabbix Proxy](https://github.com/kloczek/zabbix-templates/tree/master/Service%20Zabbix%20Proxy) - [Service Zabbix Server](https://github.com/kloczek/zabbix-templates/tree/master/Service%20Zabbix%20Server) From c58edb0eecb624f9f49c27a53baa0c13e9f44088 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Fri, 22 Jun 2018 11:54:54 +0100 Subject: [PATCH 05/76] Service Nginx new item reqs_per_conn and graph presenting this metric. --- README.md | 5 +++ Service Nginx/README.md | 7 ++- Service Nginx/Service Nginx.xml | 77 ++++++++++++++++++++++++++++++++- 3 files changed, 86 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ef723df..37d3480 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,11 @@ This repository provides a set of templates which offers the alternative set of ### (devel) - New templates - [Service php-fpm](https://github.com/kloczek/zabbix-templates/tree/devel/Service%20php-fpm) +- **Service Nginx** + - Graphs: + - new ```SVC::Nginx::reqs_per_conn``` + - Items: + - new calculated item ```reqs_per_conn``` which shows number requests in single connection (```nginx.requests")/last("nginx.requests[handled]```) - **Service Zabbix Agent** - Graphs: - new ```HOST::items``` which presents number of host items vs number of unsuppoerted item diff --git a/Service Nginx/README.md b/Service Nginx/README.md index 43deb54..e6dd135 100644 --- a/Service Nginx/README.md +++ b/Service Nginx/README.md @@ -1,4 +1,4 @@ -#### Version: 1.0.4 (2018-06-11) +#### Version: (devel) #### Description: Nginx https service monitoring template. This template is using @@ -15,6 +15,11 @@ Nginx https service monitoring template. This template is using | {$NGINX_USER} | nginx | nginx non-root user used by workers nginx processes | #### Changelog: +- (devel) + - Graphs: + - new ```SVC::Nginx::reqs_per_conn``` + - Items: + - new calculated item ```requs_per_conn``` which shows number requests in single connection (```nginx.requests")/last("nginx.requests[handled]```) - 1.0.4 (2018-06-11) - Initial version diff --git a/Service Nginx/Service Nginx.xml b/Service Nginx/Service Nginx.xml index f458fb2..af12bce 100644 --- a/Service Nginx/Service Nginx.xml +++ b/Service Nginx/Service Nginx.xml @@ -1,7 +1,7 @@ 3.4 - 2018-06-11T11:38:58Z + 2018-06-22T10:51:55Z Templates @@ -13,7 +13,7 @@ Service Nginx Nginx http server monitoring template. -Version: 1.0.4 (2018-06-11) +Version: (devel) URL: https://github.com/kloczek/zabbix-templates/tree/master/Service%20Nginx Notes: @@ -493,6 +493,47 @@ Generally, the parameter value is the same as accepts unless some resource limit web.page.get[{$NGINX_HOST},{$NGINX_STATS_URI},{$NGINX_PORT}] + + reqs_per_conn + 15 + + + nginx.requests_per_connection + 30s + 2w + 365d + 0 + 0 + + reqs/conn + + + 0 + 0 + + 0 + + last("nginx.requests")/last("nginx.requests[handled]") + + 0 + + + + + + Number of requests done over single TCP connection. + 0 + + + SVC::nginx::requests + + + + + + + + memory::master 7 @@ -1072,6 +1113,38 @@ Please confirm the state. + + SVC::Nginx::reqs_per_conn + 1200 + 300 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 2 + 00EE00 + 0 + 7 + 0 + + Service Nginx + nginx.requests_per_connection + + + + SVC::Nginx::requests 1200 From 174b72693c8c11577637c102e47ea39ed08a810a Mon Sep 17 00:00:00 2001 From: Ciacho Date: Wed, 27 Jun 2018 23:04:44 +0200 Subject: [PATCH 06/76] Adding a macro that is used to check whether SSH is running on a non-standard port. Macros: {$SVC_SSH_PORT} --- OS Linux/OS Linux.xml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/OS Linux/OS Linux.xml b/OS Linux/OS Linux.xml index 6051b24..cdfa0ef 100644 --- a/OS Linux/OS Linux.xml +++ b/OS Linux/OS Linux.xml @@ -1,7 +1,7 @@ 3.4 - 2018-06-11T11:38:28Z + 2018-06-27T20:54:26Z Templates @@ -153,7 +153,7 @@ Notes: 7 - net.tcp.port[,22] + net.tcp.port[,{$SVC_SSH_PORT}] 5m 2w 365d @@ -176,7 +176,7 @@ Notes: - + Check of possible create TCP connection to SSH port (configured macros). 0 @@ -196,7 +196,7 @@ Notes: 7 - net.tcp.service[ssh] + net.tcp.service[ssh,,{$SVC_SSH_PORT}] 5m 2w 365d @@ -219,7 +219,7 @@ Notes: - + Check if SSH services is running and accepted connection. 0 @@ -3561,6 +3561,10 @@ Value is calculated by read number of sectors multiplied by 512. {$STEAL_WARN} 20 + + {$SVC_SSH_PORT} + 22 + diff --git a/MIB/F5-BIGIP-LOCAL-MIB/F5-BIGIP-LOCAL-MIB.xml b/MIB/F5-BIGIP-LOCAL-MIB/F5-BIGIP-LOCAL-MIB.xml index f416e8e..7fe9dfe 100644 --- a/MIB/F5-BIGIP-LOCAL-MIB/F5-BIGIP-LOCAL-MIB.xml +++ b/MIB/F5-BIGIP-LOCAL-MIB/F5-BIGIP-LOCAL-MIB.xml @@ -1,7 +1,7 @@ - 3.4 - 2018-10-06T10:53:57Z + 4.2 + 2019-05-29T12:46:29Z Templates SNMP MIB @@ -61,7 +61,7 @@ Notes: The name of this pool. - ltmPoolMemberCnt.{#SNMPVALUE} 1h max + ltmPoolMemberCnt.$1 1h max 15 @@ -99,11 +99,29 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + - ltmPoolMemberCnt.{#SNMPVALUE} + ltmPoolMemberCnt.$1 4 {$SNMP_COMMUNITY} F5-BIGIP-LOCAL-MIB::ltmPoolMemberCnt.{#SNMPINDEX} @@ -141,8 +159,26 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + @@ -211,12 +247,33 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + + + + 0 + 0 + + + + diff --git a/MIB/F5-BIGIP-SYSTEM-MIB/F5-BIGIP-SYSTEM-MIB.xml b/MIB/F5-BIGIP-SYSTEM-MIB/F5-BIGIP-SYSTEM-MIB.xml index dd1b458..cfa2a47 100644 --- a/MIB/F5-BIGIP-SYSTEM-MIB/F5-BIGIP-SYSTEM-MIB.xml +++ b/MIB/F5-BIGIP-SYSTEM-MIB/F5-BIGIP-SYSTEM-MIB.xml @@ -1,7 +1,7 @@ - 3.4 - 2018-06-11T11:38:03Z + 4.2 + 2019-05-29T12:46:29Z Templates SNMP MIB @@ -78,6 +78,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -122,6 +140,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -166,6 +202,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -210,6 +264,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -254,6 +326,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -295,6 +385,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -336,6 +444,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -344,6 +470,7 @@ Notes: + diff --git a/MIB/IF-MIB/IF-MIB.xml b/MIB/IF-MIB/IF-MIB.xml index d173b3c..b0ffb6a 100644 --- a/MIB/IF-MIB/IF-MIB.xml +++ b/MIB/IF-MIB/IF-MIB.xml @@ -1,7 +1,7 @@ - 3.4 - 2018-10-06T10:53:57Z + 4.2 + 2019-05-29T12:46:29Z Templates SNMP MIB @@ -31,7 +31,7 @@ Notes: interfaces 4 {$SNMP_COMMUNITY} - discovery[{#IFDESCR},IF-MIB::ifDescr,{#IFINDEX},IF-MIB::ifIndex,{#IFADMINSTATUS},IF-MIB::ifAdminStatus] + discovery[{#IFDESCR},IF-MIB::ifDescr,{#IFOPERSTATUS},IF-MIB::ifOperStatus] ifDescr 10m 0 @@ -56,7 +56,7 @@ Notes: - {#IFADMINSTATUS} + {#IFOPERSTATUS} 1 8 A @@ -67,7 +67,7 @@ Notes: Discovery item information about the interfaces. - ifAdminStatus.{#IFDESCR} [{#IFINDEX}] + ifAdminStatus.$1 4 {$SNMP_COMMUNITY} IF-MIB::ifAdminStatus.{#SNMPINDEX} @@ -108,15 +108,33 @@ Testing(3) state indicates that no operational packets can be passed. When a man + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - IF-MIB::interfaces::{#IFDESCR} [{#IFINDEX}] + IF-MIB::interfaces::{#IFDESCR} - + - ifAlias.{#IFDESCR} [{#IFINDEX}] + ifAlias.$1 4 {$SNMP_COMMUNITY} IF-MIB::ifAlias.{#SNMPINDEX} @@ -156,15 +174,33 @@ Some agents may support write-access only for interfaces having particular value + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - IF-MIB::interfaces::{#IFDESCR} [{#IFINDEX}] + IF-MIB::interfaces::{#IFDESCR} - + - ifHCInOctets.{#IFDESCR} [{#IFINDEX}] + ifHCInOctets.$1 4 {$SNMP_COMMUNITY} IF-MIB::ifHCInOctets.{#SNMPINDEX} @@ -204,22 +240,44 @@ If LLD items with ifHCInOctets will be in unsupported state ifHCOutOctets should 1 8 + 0 + 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - IF-MIB::interfaces::{#IFDESCR} [{#IFINDEX}] + IF-MIB::interfaces::{#IFDESCR} - + - ifHCOutOctets.{#IFDESCR} [{#IFINDEX}] + ifHCOutOctets.$1 4 {$SNMP_COMMUNITY} IF-MIB::ifHCOutOctets.{#SNMPINDEX} @@ -260,22 +318,44 @@ If LLD items with ifHCOutOctets will be in unsupported on exact device ifHCOutOc 1 8 + 0 + 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - IF-MIB::interfaces::{#IFDESCR} [{#IFINDEX}] + IF-MIB::interfaces::{#IFDESCR} - + - ifInOctets.{#IFDESCR} [{#IFINDEX}] + ifInOctets.$1 4 {$SNMP_COMMUNITY} IF-MIB::ifInOctets.{#SNMPINDEX} @@ -316,22 +396,44 @@ If LLD items with ifHCInOctets will be in unsupported state ifHCOutOctets should 10 + 0 + 1 8 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 IF-MIB::interfaces::{#IFDESCR} - + - ifLastChange.{#IFDESCR} [{#IFINDEX}] + ifLastChange.$1 4 {$SNMP_COMMUNITY} IF-MIB::ifLastChange.{#SNMPINDEX} @@ -367,18 +469,38 @@ If LLD items with ifHCInOctets will be in unsupported state ifHCOutOctets should 1 0.01 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - IF-MIB::interfaces::{#IFDESCR} [{#IFINDEX}] + IF-MIB::interfaces::{#IFDESCR} - + - ifOperStatus.{#IFDESCR} [{#IFINDEX}] + ifOperStatus.$1 4 {$SNMP_COMMUNITY} IF-MIB::ifOperStatus.{#SNMPINDEX} @@ -415,15 +537,33 @@ The testing(3) state indicates that no operational packets can be passed. If ifA + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - IF-MIB::interfaces::{#IFDESCR} [{#IFINDEX}] + IF-MIB::interfaces::{#IFDESCR} - + - ifOutOctets.{#IFDESCR} [{#IFINDEX}] + ifOutOctets.$1 4 {$SNMP_COMMUNITY} IF-MIB::ifOutOctets.{#SNMPINDEX} @@ -464,22 +604,66 @@ If LLD items with ifHCInOctets will be in unsupported state ifHCOutOctets should 10 + 0 + 1 8 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - IF-MIB::interfaces::{#IFDESCR} [{#IFINDEX}] + IF-MIB::interfaces::{#IFDESCR} - + + + {IF-MIB:ifOperStatus.["{#IFDESCR}"].change(0)}=1 + 0 + + NIC::{#IFDESCR} status has changed to {ITEM.VALUE} + 0 + + + 0 + 2 + The current operational state of the interface. +Possible states: +- up(1), +- down(2), +- testing(3) + +The testing(3) state indicates that no operational packets can be passed. + 0 + 0 + + + {IF-MIB:ifOperStatus.["{#IFDESCR}"].change(0)}=1 0 @@ -504,6 +688,50 @@ The testing(3) state indicates that no operational packets can be passed. + + NIC::{#IFDESCR}::IfOctets + 1200 + 300 + 0.0000 + 100.0000 + 1 + 1 + 1 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 5 + 00BB00 + 1 + 2 + 0 + + IF-MIB + ifInOctets.["{#IFDESCR}"] + + + + 1 + 5 + 0000CC + 1 + 2 + 0 + + IF-MIB + ifOutOctets.["{#IFDESCR}"] + + + + NIC::{#IFDESCR}::IfOctets [{#IFINDEX}] 1200 @@ -548,6 +776,50 @@ The testing(3) state indicates that no operational packets can be passed. + + NIC::{#IFDESCR}::IifHCOctets + 1200 + 300 + 0.0000 + 100.0000 + 1 + 1 + 1 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 5 + 00BB00 + 1 + 2 + 0 + + IF-MIB + ifHCInOctets.["{#IFDESCR}"] + + + + 1 + 5 + 0000CC + 1 + 2 + 0 + + IF-MIB + ifHCOutOctets.["{#IFDESCR}"] + + + + NIC::{#IFDESCR}::IifHCOctets [{#IFINDEX}] 1200 @@ -595,6 +867,26 @@ The testing(3) state indicates that no operational packets can be passed. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + + + + 0 + 0 + + + @@ -622,7 +914,7 @@ The testing(3) state indicates that no operational packets can be passed.0 0 - NIC::{#IFDESCR}::IfOctets [{#IFINDEX}] + NIC::{#IFDESCR}::IfOctets IF-MIB 1 @@ -631,6 +923,7 @@ The testing(3) state indicates that no operational packets can be passed. + @@ -656,31 +949,31 @@ The testing(3) state indicates that no operational packets can be passed. 1 - Up + up 2 - Down + down 3 - Testing + testing 4 - Unknown + unknown 5 - Dormant + dormant 6 - Not Present + notPresent 7 - lower Layer Down + lowerLayerDown diff --git a/MIB/IP-MIB/IP-MIB.xml b/MIB/IP-MIB/IP-MIB.xml index bc89e36..9f65ed6 100644 --- a/MIB/IP-MIB/IP-MIB.xml +++ b/MIB/IP-MIB/IP-MIB.xml @@ -1,7 +1,7 @@ - 3.4 - 2018-06-11T11:38:10Z + 4.2 + 2019-05-29T12:46:30Z Templates SNMP MIB @@ -38,6 +38,7 @@ Notes: + diff --git a/MIB/SNMP-MPD-MIB/SNMP-MPD-MIB.xml b/MIB/SNMP-MPD-MIB/SNMP-MPD-MIB.xml index f8c6fdc..125279d 100644 --- a/MIB/SNMP-MPD-MIB/SNMP-MPD-MIB.xml +++ b/MIB/SNMP-MPD-MIB/SNMP-MPD-MIB.xml @@ -1,7 +1,7 @@ - 3.4 - 2018-06-11T11:38:12Z + 4.2 + 2019-05-29T12:46:30Z Templates SNMP MIB @@ -31,6 +31,7 @@ Notes: + diff --git a/MIB/SNMP-USER-BASED-SM-MIB/SNMP-USER-BASED-SM-MIB.xml b/MIB/SNMP-USER-BASED-SM-MIB/SNMP-USER-BASED-SM-MIB.xml index fc08e33..c6f722b 100644 --- a/MIB/SNMP-USER-BASED-SM-MIB/SNMP-USER-BASED-SM-MIB.xml +++ b/MIB/SNMP-USER-BASED-SM-MIB/SNMP-USER-BASED-SM-MIB.xml @@ -1,7 +1,7 @@ - 3.4 - 2018-06-11T11:38:14Z + 4.2 + 2019-05-29T12:46:30Z Templates SNMP MIB @@ -31,6 +31,7 @@ Notes: + diff --git a/MIB/SNMP-VIEW-BASED-ACM-MIB/SNMP-VIEW-BASED-ACM-MIB.xml b/MIB/SNMP-VIEW-BASED-ACM-MIB/SNMP-VIEW-BASED-ACM-MIB.xml index aaa9118..1ba99bd 100644 --- a/MIB/SNMP-VIEW-BASED-ACM-MIB/SNMP-VIEW-BASED-ACM-MIB.xml +++ b/MIB/SNMP-VIEW-BASED-ACM-MIB/SNMP-VIEW-BASED-ACM-MIB.xml @@ -1,7 +1,7 @@ - 3.4 - 2018-06-11T11:38:19Z + 4.2 + 2019-05-29T12:46:30Z Templates SNMP MIB @@ -31,6 +31,7 @@ Notes: + diff --git a/MIB/SNMPv2-MIB/SNMPv2-MIB.xml b/MIB/SNMPv2-MIB/SNMPv2-MIB.xml index 1d7ed6e..13d47bf 100644 --- a/MIB/SNMPv2-MIB/SNMPv2-MIB.xml +++ b/MIB/SNMPv2-MIB/SNMPv2-MIB.xml @@ -1,7 +1,7 @@ - 3.4 - 2018-06-11T11:38:22Z + 4.2 + 2019-05-29T12:46:31Z Templates SNMP MIB @@ -73,9 +73,29 @@ Notes: 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -119,9 +139,29 @@ Notes: 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -163,6 +203,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -204,6 +262,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -245,6 +321,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -286,6 +380,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -328,6 +440,24 @@ This value is allocated within the SMI enterprises subtree (1.3.6.1.4.1) and pro + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -371,9 +501,29 @@ This value is allocated within the SMI enterprises subtree (1.3.6.1.4.1) and pro 1 0.01 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -382,6 +532,7 @@ This value is allocated within the SMI enterprises subtree (1.3.6.1.4.1) and pro + diff --git a/MIB/UDP-MIB/UDP-MIB.xml b/MIB/UDP-MIB/UDP-MIB.xml index 48d2568..bb5d3fb 100644 --- a/MIB/UDP-MIB/UDP-MIB.xml +++ b/MIB/UDP-MIB/UDP-MIB.xml @@ -1,7 +1,7 @@ - 3.4 - 2018-06-11T11:38:26Z + 4.2 + 2019-05-29T12:46:31Z Templates SNMP MIB @@ -31,6 +31,7 @@ Notes: + diff --git a/OS Linux/OS Linux.xml b/OS Linux/OS Linux.xml index 135aeea..bb8bbb3 100644 --- a/OS Linux/OS Linux.xml +++ b/OS Linux/OS Linux.xml @@ -1,7 +1,7 @@ - 3.4 - 2018-10-06T15:59:14Z + 4.2 + 2019-05-29T12:46:31Z Templates @@ -57,7 +57,7 @@ Notes: - NET::lo::in + NET::$1::in 7 @@ -97,13 +97,33 @@ Notes: 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - NET::lo::out + NET::$1::out 7 @@ -143,9 +163,90 @@ Notes: 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 + + + + CHK::Network port::ssh + 7 + + + net.tcp.port[,22] + 5m + 2w + 365d + 0 + 3 + + + + + 0 + 0 + + 0 + + + + 0 + + + + + + + 0 + + + NET + + + + Service state + + + + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -187,13 +288,38 @@ Notes: Service state - + + + 19 + + 0 + + + + 3s + + + + 200 + 1 + 0 + + + 0 + 1 + 0 + 0 + + + + 0 + 0 NET::service::ssh - 7 + 3 net.tcp.service[ssh,,{$SVC_SSH_PORT}] @@ -230,8 +356,94 @@ Notes: Service state + + + 19 + + 0 + + + + + 3s + + + + 200 + 1 + 0 + + + 0 + 1 + 0 + 0 + + + + 0 + 0 + + + + NET::service::$1 + 7 + + + net.tcp.service[ssh] + 5m + 2w + 365d + 0 + 3 + + + + + 0 + 0 + + 0 + + + + 0 + + + + + + + 0 + + + NET + + + + Service state + + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -273,10 +485,28 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - PROC::crond + PROC::$1 7 @@ -314,10 +544,28 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - PROC::rsyslogd + PROC::$1 7 @@ -355,10 +603,28 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - PROC::sshd + PROC::$1 7 @@ -396,6 +662,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -437,6 +721,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -478,6 +780,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -521,13 +841,33 @@ Notes: 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - SYS::load:avg1 + SYS::load:$2 7 @@ -565,6 +905,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -606,6 +964,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -651,13 +1027,33 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - CPU::idle::avg1 + CPU::$2::$3 7 @@ -695,10 +1091,28 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - CPU::interrupt::avg1] + CPU::$2::$3 7 @@ -736,10 +1150,28 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - CPU::iowait::avg1 + CPU::$2::$3 7 @@ -777,10 +1209,28 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - CPU::nice::avg1 + CPU::$2::$3 7 @@ -818,10 +1268,28 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - CPU::softirq::avg1 + CPU::$2::$3 7 @@ -859,10 +1327,28 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - CPU::steal::avg1 + CPU::$2::$3 7 @@ -900,10 +1386,28 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - CPU::system::avg1 + CPU::$2::$3 7 @@ -941,10 +1445,28 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - CPU::user::avg1 + CPU::$2::$3 7 @@ -982,6 +1504,24 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1023,6 +1563,24 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1064,6 +1622,90 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 + + + + HW::CPU + 7 + + + system.hw.cpu[,model] + 1d + 2w + 0 + 0 + 4 + + + + + 0 + 0 + + 0 + + + + 0 + + + + + + All CPUs vendor information. + 0 + + + HW + + + + + + + 19 + + 0 + + + + + 3s + + + + 200 + 1 + 0 + + + 0 + 1 + 0 + 0 + + + + 0 + 0 @@ -1105,6 +1747,24 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1146,6 +1806,90 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 + + + + NET::segments retransmitted + 7 + + + system.run["/bin/netstat -s|/bin/sed -n 's/\( *\)\(.*\) segments retransmi.*ted*/\2/ p'"] + 1m + 2w + 365d + 0 + 0 + + segm/s + + + 0 + 0 + + 0 + + + + 0 + + + + + + + 0 + + + NET + + + + + + + 19 + + 0 + + + + + 3s + + + + 200 + 1 + 0 + + + 0 + 1 + 0 + 0 + + + + 0 + 0 @@ -1189,9 +1933,29 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1235,9 +1999,29 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1281,9 +2065,88 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 + + + + SYS::os-release + 7 + + + system.run["cat /etc/os-release"] + 6h + 2w + 0 + 0 + 1 + + + + + 0 + 0 + + 0 + + + + 0 + + + + + + Content of /etc/os-release. + 0 + + + SYS + + + + + + + 3s + + + + 200 + 1 + 0 + + + 0 + 1 + 0 + 0 + + + + 0 + 0 @@ -1325,6 +2188,24 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1366,6 +2247,24 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1407,6 +2306,24 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1448,6 +2365,24 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1489,6 +2424,24 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1530,10 +2483,28 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - CHK::Checksum::/etc/passwd + CHK::Checksum::$1 7 @@ -1571,10 +2542,28 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - CHK::checksum::/usr/bin/ssh + CHK::checksum::$1 7 @@ -1612,10 +2601,28 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - CHK::Checksum::/usr/sbin/sshd + CHK::Checksum::$1 7 @@ -1653,10 +2660,28 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - MEM::available + MEM::$1 7 @@ -1694,10 +2719,28 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - MEM::buffers + MEM::$1 7 @@ -1735,10 +2778,28 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - MEM::cached + MEM::$1 7 @@ -1776,10 +2837,28 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - MEM::free + MEM::$1 7 @@ -1817,10 +2896,28 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - MEM::total + MEM::$1 7 @@ -1858,10 +2955,28 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - MEM::used + MEM::$1 7 @@ -1899,6 +3014,24 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1943,7 +3076,7 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff Discovery of network interfaces. - {#IFNAME}::in::bytes + $1::in::bytes 7 @@ -1983,14 +3116,34 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + - {#IFNAME}::in::packets + $1::in::packets 7 @@ -2030,14 +3183,34 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + - {#IFNAME}::out::bytes + $1::out::bytes 7 @@ -2077,14 +3250,34 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + - {#IFNAME}::out::packets + $1::out::packets 7 @@ -2124,14 +3317,34 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + - {#IFNAME}::total::dropped + $1::total::dropped 7 @@ -2171,14 +3384,34 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + - {#IFNAME}::total::errors + $1::total::errors 7 @@ -2218,11 +3451,31 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + @@ -2507,6 +3760,26 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + + + + 0 + 0 + + + DSK: @@ -2591,11 +3864,31 @@ Discovery of storage devices is filtered over global regular expression "OS Linu 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#DISK}::read::bytes @@ -2639,15 +3932,37 @@ Value is calculated by read number of sectors multiplied by 512. 10 + 0 + 1 512 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#DISK}::write::IOs @@ -2690,11 +4005,31 @@ Value is calculated by read number of sectors multiplied by 512. 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#DISK}::write::bytes @@ -2738,15 +4073,37 @@ Value is calculated by read number of sectors multiplied by 512. 10 + 0 + 1 512 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + @@ -2842,6 +4199,26 @@ Value is calculated by read number of sectors multiplied by 512. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + + + + 0 + 0 + + + VOL: @@ -2889,7 +4266,7 @@ Value is calculated by read number of sectors multiplied by 512. Discovery of file systems. - {#FSNAME}::inodes::pfree + $1::inodes::$2 7 @@ -2916,7 +4293,7 @@ Value is calculated by read number of sectors multiplied by 512. - Volume inodes percent free space. + 0 @@ -2927,11 +4304,29 @@ Value is calculated by read number of sectors multiplied by 512. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + - {#FSNAME}::inodes::total + $1::inodes::$2 7 @@ -2958,7 +4353,7 @@ Value is calculated by read number of sectors multiplied by 512. - Volume inodes total space. + 0 @@ -2969,11 +4364,29 @@ Value is calculated by read number of sectors multiplied by 512. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + - {#FSNAME}::inodes::used + $1::inodes::$2 7 @@ -3000,7 +4413,7 @@ Value is calculated by read number of sectors multiplied by 512. - Volume inodes used space. + 0 @@ -3011,11 +4424,29 @@ Value is calculated by read number of sectors multiplied by 512. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + - {#FSNAME}::pfree + $1::$2 7 @@ -3053,11 +4484,29 @@ Value is calculated by read number of sectors multiplied by 512. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + - {#FSNAME}::total + $1::$2 7 @@ -3095,11 +4544,29 @@ Value is calculated by read number of sectors multiplied by 512. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + - {#FSNAME}::used + $1::$2 7 @@ -3137,8 +4604,26 @@ Value is calculated by read number of sectors multiplied by 512. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + @@ -3553,6 +5038,26 @@ Value is calculated by read number of sectors multiplied by 512. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + + + + 0 + 0 + + + @@ -3561,10 +5066,6 @@ Value is calculated by read number of sectors multiplied by 512. {$STEAL_WARN} 20 - - {$SVC_SSH_PORT} - 22 - @@ -3941,7 +5443,13 @@ Value is calculated by read number of sectors multiplied by 512. 0 0 - + + + CPU::idle {ITEM.VALUE} + {OS Linux:system.cpu.util[,idle,avg1].last(0)}<5 + + + @@ -3998,6 +5506,22 @@ Value is calculated by read number of sectors multiplied by 512. + + {OS Linux:system.hw.cpu[,model].diff()}=1 + 0 + + HW::CPU info has changed + 0 + + + 0 + 1 + CPUs information has change. + 0 + 0 + + + {OS Linux:system.hw.devices.diff()}=1 0 @@ -4153,6 +5677,28 @@ Value is calculated by read number of sectors multiplied by 512. + + {OS Linux:net.tcp.port[,22].count(#3,0)}=3 + 0 + + NET::port::ssh unreachable + 0 + + + 0 + 3 + + 0 + 0 + + + SYS::processes::sshd is not running + {OS Linux:proc.num[sshd].last(0)}<1 + + + + + {OS Linux:net.tcp.port[,{$SVC_SSH_PORT}].count(#3,0)}=3 0 @@ -4191,6 +5737,22 @@ Value is calculated by read number of sectors multiplied by 512. + + {OS Linux:net.tcp.service[ssh].count(#3,0)}=3 + 0 + + SVC::ssh is down + 0 + + + 0 + 3 + + 0 + 0 + + + {OS Linux:icmpping.count(#10,0,"eq")}>9 and {OS Linux:agent.ping.nodata(15m)}=1 and @@ -4203,10 +5765,16 @@ Value is calculated by read number of sectors multiplied by 512. 0 3 - Host is down when: -- is unreachable over ICMP for +9 times -- no new moitoring data for +15min -- host has uptime +15 min + Instructions on how to handle this trigger if is active: +* with daily autoscaling like PERF, PAT or DEV -> delete box +* if it is PROD or STAGE box: +** remove all groups and assign box to "Terminated instances" group +** change Name to "term YYYY-MM-DD <orig_Name>" +** set host Monitored by proxy -> (no proxy) +** change state to "not monitored" +* anything else -> investigate -> acknowledge and raise jira ticket if it is something unusual + +s3-dump hosts delete 0 0 diff --git a/OS Solaris/OS Solaris.xml b/OS Solaris/OS Solaris.xml index 45cc357..82ccbef 100644 --- a/OS Solaris/OS Solaris.xml +++ b/OS Solaris/OS Solaris.xml @@ -1,7 +1,7 @@ - 3.4 - 2018-10-06T16:06:23Z + 4.2 + 2019-05-29T12:46:31Z Templates @@ -96,6 +96,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -139,10 +157,28 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - NET::service::ssh + NET::service::$1 7 @@ -182,6 +218,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -223,10 +277,28 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - PROC::crond + PROC::$1 7 @@ -264,10 +336,28 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - PROC::ntpd + PROC::$1 7 @@ -305,10 +395,28 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - PROC::sshd + PROC::$1 7 @@ -346,6 +454,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -387,6 +513,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -428,6 +572,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -471,13 +633,33 @@ Notes: 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - SYS::load:avg1 + SYS::load:$2 7 @@ -515,6 +697,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -556,6 +756,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -601,13 +819,33 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - CPU::idle::avg1 + CPU::$2::$3 7 @@ -645,10 +883,28 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - CPU::iowait::avg1 + CPU::$2::$3 7 @@ -686,10 +942,28 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - CPU::system::avg1 + CPU::$2::$3 7 @@ -727,10 +1001,28 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - CPU::user::avg1 + CPU::$2::$3 7 @@ -768,6 +1060,24 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -809,6 +1119,24 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -850,6 +1178,24 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -896,6 +1242,24 @@ set zfs:zfs_arc_max=34359738368 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -937,6 +1301,24 @@ set zfs:zfs_arc_max=34359738368 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -978,6 +1360,24 @@ set zfs:zfs_arc_max=34359738368 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1025,9 +1425,29 @@ streaming ratio = prefetch_* / (hits + misses) 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1073,9 +1493,29 @@ Prefetch is the ZFS read-ahead feature, to predict and pre-cache blocks for stre 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1121,9 +1561,29 @@ Prefetch is the ZFS read-ahead feature, to predict and pre-cache blocks for stre 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1171,9 +1631,29 @@ streaming ratio = prefetch_* / (hits + misses) 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1221,9 +1701,29 @@ streaming ratio = prefetch_* / (hits + misses) 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1271,9 +1771,29 @@ streaming ratio = prefetch_* / (hits + misses) 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1319,9 +1839,29 @@ hits = demand_data_hits + demand_metadata_hits + prefetch_data_hits + prefetch_m 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1369,9 +1909,29 @@ A constant increasing of the memory_throttle_count statistic can indicate excess 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1417,9 +1977,29 @@ hits against pages held in ghost mfu list from pages evicted from ARC mfu list 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1463,9 +2043,29 @@ hits against pages held in ghost mfu list from pages evicted from ARC mfu list 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1511,9 +2111,29 @@ misses = demand_data_misses + demand_metadata_misses + prefetch_data_misses + pr 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1559,9 +2179,29 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1605,9 +2245,29 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1649,6 +2309,24 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1690,6 +2368,24 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1731,6 +2427,24 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1772,6 +2486,24 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1813,6 +2545,24 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1857,10 +2607,28 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - CHK::Checksum::/etc/passwd + CHK::Checksum::$1 7 @@ -1898,10 +2666,28 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - MEM::available + MEM::$1 7 @@ -1939,10 +2725,28 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - MEM::free + MEM::$1 7 @@ -1980,10 +2784,28 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - MEM::total + MEM::$1 7 @@ -2021,10 +2843,28 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - MEM::used + MEM::$1 7 @@ -2062,6 +2902,24 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2103,6 +2961,24 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2153,7 +3029,7 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru listDiscovery of network interfaces. - {#IFNAME}::in + $1::in 7 @@ -2193,18 +3069,40 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list 10 + 0 + 1 8 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + - {#IFNAME}::out + $1::out 7 @@ -2244,15 +3142,37 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list 10 + 0 + 1 8 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + @@ -2348,6 +3268,26 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + + + + 0 + 0 + + + DSK: @@ -2427,8 +3367,26 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#DISK}::read::bytes @@ -2471,11 +3429,31 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#DISK}::read::IOs @@ -2518,11 +3496,31 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#DISK}::write::IOs::size @@ -2564,8 +3562,26 @@ last("vfs.dev.write[{#DISK},operations]") + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#DISK}::write::bytes @@ -2608,11 +3624,31 @@ last("vfs.dev.write[{#DISK},operations]") 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#DISK}::write::IOs @@ -2655,11 +3691,31 @@ last("vfs.dev.write[{#DISK},operations]") 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + @@ -2799,6 +3855,26 @@ last("vfs.dev.write[{#DISK},operations]") + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + + + + 0 + 0 + + + ZFS::L2ARC: @@ -2873,11 +3949,31 @@ last("vfs.dev.write[{#DISK},operations]") 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + zfs:{#L2ARC}:arcstats:l2_hits @@ -2920,11 +4016,31 @@ last("vfs.dev.write[{#DISK},operations]") 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + zfs:{#L2ARC}:arcstats:l2_misses @@ -2967,11 +4083,31 @@ last("vfs.dev.write[{#DISK},operations]") 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + zfs:{#L2ARC}:arcstats:l2_size @@ -3012,8 +4148,26 @@ last("vfs.dev.write[{#DISK},operations]") + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + zfs:{#L2ARC}:arcstats:l2_write_bytes @@ -3056,11 +4210,31 @@ last("vfs.dev.write[{#DISK},operations]") 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + @@ -3112,6 +4286,26 @@ last("vfs.dev.write[{#DISK},operations]") + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + + + + 0 + 0 + + + ZPOOL: @@ -3184,8 +4378,26 @@ last("vfs.dev.write[{#DISK},operations]") + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#ZPOOL}::version @@ -3226,8 +4438,26 @@ last("vfs.dev.write[{#DISK},operations]") + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + @@ -3255,6 +4485,26 @@ Please login on the host and check output of the commands: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + + + + 0 + 0 + + + VOL: @@ -3302,7 +4552,7 @@ Please login on the host and check output of the commands: Discovery of file systems. - {#FSNAME}::pfree + $1::$2 7 @@ -3340,11 +4590,29 @@ Please login on the host and check output of the commands: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + - {#FSNAME}::total + $1::$2 7 @@ -3382,11 +4650,29 @@ Please login on the host and check output of the commands: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + - {#FSNAME}::used + $1::$2 7 @@ -3424,8 +4710,26 @@ Please login on the host and check output of the commands: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + @@ -3521,6 +4825,26 @@ Please login on the host and check output of the commands: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + + + + 0 + 0 + + + @@ -3732,6 +5056,7 @@ Please login on the host and check output of the commands: + @@ -3842,6 +5167,29 @@ Please login on the host and check output of the commands: + + {OS Solaris:icmpping[].count(#10,0,"eq")}>9 and {OS Solaris:agent.ping.nodata(1h)}=1 + 0 + + SYS::Host is down + 0 + + + 0 + 3 + Instructions on how to handle this trigger if is active: +* with daily autoscaling like PERF, PAT or DEV -> delete box +* if it is PROD or STAGE box: +** remove all groups and assign box to "Terminated instances" group +** change Name to "term YYYY-MM-DD <orig_Name>" +** set host Monitored by proxy -> (no proxy) +** change state to "not monitored" +* anything else -> investigate -> acknowledge and raise jira ticket if it is something unusual + 0 + 0 + + + {OS Solaris:system.uptime.last(0)}<10m 0 @@ -3855,15 +5203,7 @@ Please login on the host and check output of the commands: 0 0 - - - SYS::Host is down - {OS Solaris:icmpping.count(#10,0,"eq")}>9 and -{OS Solaris:agent.ping.nodata(15m)}=1 and -{OS Solaris:system.uptime.count(15m)}=0 - - - + diff --git a/OS Windows/OS Windows.xml b/OS Windows/OS Windows.xml index 9163978..d531955 100644 --- a/OS Windows/OS Windows.xml +++ b/OS Windows/OS Windows.xml @@ -1,7 +1,7 @@ - 3.4 - 2018-10-06T10:54:01Z + 4.2 + 2019-05-29T12:46:31Z Templates @@ -136,6 +136,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -177,6 +195,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -218,6 +254,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -259,6 +313,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -300,6 +372,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -341,6 +431,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -382,6 +490,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -423,6 +549,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -464,6 +608,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -505,6 +667,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -546,6 +726,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -587,6 +785,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -628,6 +844,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -669,6 +903,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -715,6 +967,24 @@ TypePerf.exe -qx on cmd prompt + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -756,6 +1026,24 @@ TypePerf.exe -qx on cmd prompt + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -797,6 +1085,24 @@ TypePerf.exe -qx on cmd prompt + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -838,6 +1144,24 @@ TypePerf.exe -qx on cmd prompt + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -882,6 +1206,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -923,6 +1265,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -964,6 +1324,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1010,6 +1388,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1053,6 +1449,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1094,6 +1508,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1137,6 +1569,24 @@ https://blogs.technet.microsoft.com/clint_huffman/2008/04/07/free-system-page-ta + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1178,6 +1628,24 @@ https://blogs.technet.microsoft.com/clint_huffman/2008/04/07/free-system-page-ta + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1219,6 +1687,24 @@ https://blogs.technet.microsoft.com/clint_huffman/2008/04/07/free-system-page-ta + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1260,6 +1746,24 @@ https://blogs.technet.microsoft.com/clint_huffman/2008/04/07/free-system-page-ta + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1301,6 +1805,24 @@ https://blogs.technet.microsoft.com/clint_huffman/2008/04/07/free-system-page-ta + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1342,6 +1864,24 @@ https://blogs.technet.microsoft.com/clint_huffman/2008/04/07/free-system-page-ta + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1385,6 +1925,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1426,6 +1984,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1467,6 +2043,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1508,6 +2102,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1549,6 +2161,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1590,6 +2220,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1631,6 +2279,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1672,6 +2338,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1713,6 +2397,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1754,6 +2456,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1795,6 +2515,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1836,6 +2574,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1877,6 +2633,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1918,6 +2692,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1959,6 +2751,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2000,6 +2810,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2041,6 +2869,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2082,6 +2928,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2123,6 +2987,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2164,6 +3046,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2205,6 +3105,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2246,6 +3164,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2287,6 +3223,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2328,6 +3282,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2369,6 +3341,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2410,6 +3400,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2451,6 +3459,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2492,6 +3518,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2533,6 +3577,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2574,6 +3636,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2615,6 +3695,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2656,6 +3754,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2697,6 +3813,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2738,6 +3872,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2779,6 +3931,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2820,6 +3990,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2861,6 +4049,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2902,6 +4108,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2943,6 +4167,24 @@ https://blogs.technet.microsoft.com/askperf/2008/01/25/an-overview-of-troublesho + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2986,6 +4228,24 @@ https://msdn.microsoft.com/en-us/library/ms804621.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3027,6 +4287,24 @@ https://msdn.microsoft.com/en-us/library/ms804621.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3068,6 +4346,24 @@ https://msdn.microsoft.com/en-us/library/ms804621.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3109,6 +4405,24 @@ https://msdn.microsoft.com/en-us/library/ms804621.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3150,6 +4464,24 @@ https://msdn.microsoft.com/en-us/library/ms804621.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3193,6 +4525,24 @@ https://blogs.technet.microsoft.com/perfguide/2010/09/28/user-mode-versus-privil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3234,6 +4584,24 @@ https://blogs.technet.microsoft.com/perfguide/2010/09/28/user-mode-versus-privil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3275,6 +4643,24 @@ https://blogs.technet.microsoft.com/perfguide/2010/09/28/user-mode-versus-privil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3316,6 +4702,24 @@ https://blogs.technet.microsoft.com/perfguide/2010/09/28/user-mode-versus-privil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3357,6 +4761,24 @@ https://blogs.technet.microsoft.com/perfguide/2010/09/28/user-mode-versus-privil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3398,6 +4820,24 @@ https://blogs.technet.microsoft.com/perfguide/2010/09/28/user-mode-versus-privil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3443,6 +4883,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3484,6 +4942,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3529,6 +5005,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3574,6 +5068,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3615,6 +5127,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3656,6 +5186,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3697,6 +5245,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3738,6 +5304,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3779,6 +5363,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3820,6 +5422,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3861,6 +5481,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3902,6 +5540,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3943,6 +5599,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3984,6 +5658,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -4025,6 +5717,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -4066,6 +5776,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -4107,6 +5835,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -4148,6 +5894,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -4189,6 +5953,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -4230,6 +6012,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -4271,6 +6071,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -4312,6 +6130,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -4353,6 +6189,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -4394,6 +6248,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -4435,6 +6307,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -4476,6 +6366,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -4517,6 +6425,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -4558,6 +6484,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -4599,6 +6543,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -4640,6 +6602,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -4681,6 +6661,24 @@ http://www.osronline.com/article.cfm?article=529 + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -4723,6 +6721,24 @@ Many of these errors are also written to the System log and Security log in Even + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -4764,6 +6780,24 @@ Many of these errors are also written to the System log and Security log in Even + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -4805,6 +6839,24 @@ Many of these errors are also written to the System log and Security log in Even + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -4846,6 +6898,24 @@ Many of these errors are also written to the System log and Security log in Even + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -4887,6 +6957,24 @@ Many of these errors are also written to the System log and Security log in Even + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -4928,6 +7016,24 @@ Many of these errors are also written to the System log and Security log in Even + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -4969,6 +7075,24 @@ Many of these errors are also written to the System log and Security log in Even + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -5012,6 +7136,24 @@ Total Registry Quota Allowed that is currently being used by the system + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -5055,6 +7197,24 @@ https://msdn.microsoft.com/en-gb/library/ms804037.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -5096,6 +7256,24 @@ https://msdn.microsoft.com/en-gb/library/ms804037.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -5139,6 +7317,24 @@ https://msdn.microsoft.com/en-gb/library/ms804037.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -5180,6 +7376,24 @@ https://msdn.microsoft.com/en-gb/library/ms804037.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -5221,6 +7435,24 @@ https://msdn.microsoft.com/en-gb/library/ms804037.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -5262,6 +7494,24 @@ https://msdn.microsoft.com/en-gb/library/ms804037.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -5303,6 +7553,24 @@ https://msdn.microsoft.com/en-gb/library/ms804037.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -5344,6 +7612,24 @@ https://msdn.microsoft.com/en-gb/library/ms804037.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -5385,6 +7671,24 @@ https://msdn.microsoft.com/en-gb/library/ms804037.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -5426,6 +7730,24 @@ https://msdn.microsoft.com/en-gb/library/ms804037.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -5469,6 +7791,24 @@ https://msdn.microsoft.com/en-us/library/ms804042.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -5512,6 +7852,24 @@ https://msdn.microsoft.com/en-us/library/ms804042.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -5555,6 +7913,24 @@ https://msdn.microsoft.com/en-us/library/ms804042.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -5598,6 +7974,24 @@ https://msdn.microsoft.com/en-us/library/ms804042.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -5641,6 +8035,24 @@ https://msdn.microsoft.com/en-us/library/ms804042.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -5684,6 +8096,24 @@ https://msdn.microsoft.com/en-us/library/ms804042.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -5727,6 +8157,24 @@ https://msdn.microsoft.com/en-us/library/ms804042.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -5770,6 +8218,24 @@ https://msdn.microsoft.com/en-us/library/ms804042.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -5811,6 +8277,24 @@ https://msdn.microsoft.com/en-us/library/ms804042.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -5852,6 +8336,24 @@ https://msdn.microsoft.com/en-us/library/ms804042.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -5893,6 +8395,24 @@ https://msdn.microsoft.com/en-us/library/ms804042.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -5934,6 +8454,24 @@ https://msdn.microsoft.com/en-us/library/ms804042.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -5975,6 +8513,24 @@ https://msdn.microsoft.com/en-us/library/ms804042.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -6016,6 +8572,24 @@ https://msdn.microsoft.com/en-us/library/ms804042.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -6057,6 +8631,24 @@ https://msdn.microsoft.com/en-us/library/ms804042.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -6098,6 +8690,24 @@ https://msdn.microsoft.com/en-us/library/ms804042.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -6139,6 +8749,24 @@ https://msdn.microsoft.com/en-us/library/ms804042.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -6180,6 +8808,24 @@ https://msdn.microsoft.com/en-us/library/ms804042.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -6221,6 +8867,24 @@ https://msdn.microsoft.com/en-us/library/ms804042.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -6262,6 +8926,24 @@ https://msdn.microsoft.com/en-us/library/ms804042.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -6305,6 +8987,24 @@ https://msdn.microsoft.com/en-gb/library/ms804038.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -6348,6 +9048,24 @@ https://msdn.microsoft.com/en-gb/library/ms804038.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -6391,6 +9109,24 @@ https://msdn.microsoft.com/en-gb/library/ms804038.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -6434,6 +9170,24 @@ https://msdn.microsoft.com/en-gb/library/ms804038.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -6477,6 +9231,24 @@ https://msdn.microsoft.com/en-gb/library/ms804038.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -6518,6 +9290,24 @@ https://msdn.microsoft.com/en-gb/library/ms804038.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -6559,6 +9349,24 @@ https://msdn.microsoft.com/en-gb/library/ms804038.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -6600,6 +9408,24 @@ https://msdn.microsoft.com/en-gb/library/ms804038.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -6641,6 +9467,24 @@ https://msdn.microsoft.com/en-gb/library/ms804038.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -6682,6 +9526,24 @@ https://msdn.microsoft.com/en-gb/library/ms804038.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -6723,6 +9585,24 @@ https://msdn.microsoft.com/en-gb/library/ms804038.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -6766,13 +9646,33 @@ https://msdn.microsoft.com/en-gb/library/ms804038.aspx 6 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - SYS::load:avg1 + SYS::load:$2 7 @@ -6810,6 +9710,24 @@ https://msdn.microsoft.com/en-gb/library/ms804038.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -6851,6 +9769,24 @@ https://msdn.microsoft.com/en-gb/library/ms804038.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -6892,10 +9828,28 @@ https://msdn.microsoft.com/en-gb/library/ms804038.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - CPU::system::avg1 + CPU::$2::$3 7 @@ -6933,6 +9887,24 @@ https://msdn.microsoft.com/en-gb/library/ms804038.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -6974,6 +9946,24 @@ https://msdn.microsoft.com/en-gb/library/ms804038.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -7015,6 +10005,24 @@ https://msdn.microsoft.com/en-gb/library/ms804038.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -7056,6 +10064,24 @@ https://msdn.microsoft.com/en-gb/library/ms804038.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -7097,10 +10123,28 @@ https://msdn.microsoft.com/en-gb/library/ms804038.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - MEM::free + MEM::$1 7 @@ -7138,6 +10182,24 @@ https://msdn.microsoft.com/en-gb/library/ms804038.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -7179,6 +10241,24 @@ https://msdn.microsoft.com/en-gb/library/ms804038.aspx + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -7225,7 +10305,7 @@ https://msdn.microsoft.com/en-gb/library/ms804038.aspx system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Files\Zabbix Agent\NIC.ps1\""] - NIC::{#IFNAME}::bytes::in + NIC::{#IFNAME}::$2::in 7 @@ -7265,14 +10345,34 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + - NIC::{#IFNAME}::dropped::in + NIC::{#IFNAME}::$2::in 7 @@ -7312,14 +10412,34 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + - NIC::{#IFNAME}::errors::in + NIC::{#IFNAME}::$2::in 7 @@ -7359,14 +10479,34 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + - NIC::{#IFNAME}::bytes::out + NIC::{#IFNAME}::$2::out 7 @@ -7406,14 +10546,34 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + - NIC::{#IFNAME}::dropped::out + NIC::{#IFNAME}::$2::out 7 @@ -7453,14 +10613,34 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + - NIC::{#IFNAME}::errors::out + NIC::{#IFNAME}::$2::out 7 @@ -7500,11 +10680,31 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + @@ -7701,6 +10901,26 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + + + + 0 + 0 + + + VOL: @@ -7780,8 +11000,26 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#FSNAME}::% Disk Time @@ -7822,8 +11060,26 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#FSNAME}::% Disk Write Time @@ -7864,8 +11120,26 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#FSNAME}::Space::%Free @@ -7906,8 +11180,26 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#FSNAME}::% Idle Time @@ -7948,8 +11240,26 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#FSNAME}::Avg. Disk Bytes/Read @@ -7990,8 +11300,26 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#FSNAME}::Avg. Disk Bytes/Transfer @@ -8032,8 +11360,26 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#FSNAME}::Avg. Disk Bytes/Write @@ -8074,8 +11420,26 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#FSNAME}::Avg. Disk Queue Length @@ -8116,8 +11480,26 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#FSNAME}::Avg. Disk Read Queue Length @@ -8158,8 +11540,26 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#FSNAME}::Avg. Disk sec/Read @@ -8200,8 +11600,26 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#FSNAME}::Avg. Disk sec/Transfer @@ -8242,8 +11660,26 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#FSNAME}::Avg. Disk sec/Write @@ -8284,8 +11720,26 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#FSNAME}::Avg. Disk Write Queue Length @@ -8326,8 +11780,26 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#FSNAME}::Current Disk Queue Length @@ -8368,8 +11840,26 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#FSNAME}::Disk Bytes @@ -8410,8 +11900,26 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#FSNAME}::Read Bytes @@ -8452,8 +11960,26 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#FSNAME}::Read Ops @@ -8494,8 +12020,26 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#FSNAME}::Transfer Ops @@ -8536,8 +12080,26 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#FSNAME}::Write Bytes @@ -8578,8 +12140,26 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#FSNAME}::Write Ops @@ -8620,8 +12200,26 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#FSNAME}::Space::free @@ -8664,11 +12262,31 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 1 1048576 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + {#FSNAME}::Split IO Ops @@ -8709,8 +12327,26 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - + @@ -8871,6 +12507,26 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + + + + 0 + 0 + + + @@ -8977,6 +12633,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil + diff --git a/SNMP Devices/BIG-IP 5000/BIG-IP 5000.xml b/SNMP Devices/BIG-IP 5000/BIG-IP 5000.xml index 45f442d..c2d1fb6 100644 --- a/SNMP Devices/BIG-IP 5000/BIG-IP 5000.xml +++ b/SNMP Devices/BIG-IP 5000/BIG-IP 5000.xml @@ -1,7 +1,7 @@ - 3.4 - 2018-06-11T11:39:13Z + 4.2 + 2019-05-29T12:46:33Z Templates SNMP Devices @@ -61,6 +61,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -82,6 +100,7 @@ Notes: + diff --git a/SNMP Devices/DSL-3782/DSL-3782.xml b/SNMP Devices/DSL-3782/DSL-3782.xml index dd38837..e011621 100644 --- a/SNMP Devices/DSL-3782/DSL-3782.xml +++ b/SNMP Devices/DSL-3782/DSL-3782.xml @@ -1,7 +1,7 @@ - 3.4 - 2018-06-11T11:39:19Z + 4.2 + 2019-05-29T12:46:33Z Templates SNMP Devices @@ -61,6 +61,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -100,6 +118,7 @@ Notes: + diff --git a/Service Apache/Service Apache.xml b/Service Apache/Service Apache.xml index ca040e8..7dad580 100644 --- a/Service Apache/Service Apache.xml +++ b/Service Apache/Service Apache.xml @@ -1,7 +1,7 @@ - 3.4 - 2018-10-06T10:54:01Z + 4.2 + 2019-05-29T12:46:31Z Templates @@ -39,7 +39,7 @@ ExtendedStatus On - SVC::http + SVC::$1 7 @@ -79,10 +79,28 @@ ExtendedStatus On + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - PROC::httpd + PROC::$1 7 @@ -120,6 +138,83 @@ ExtendedStatus On + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 + + + + PROC::httpd + 7 + + + proc.num[{$HTTP_SERVICE_PROCESS}] + 30s + 2w + 365d + 0 + 3 + + processes + + + 0 + 0 + + 0 + + + + 0 + + + + + + + 0 + + + SVC::Apache + + + + + + + 3s + + + + 200 + 1 + 0 + + + 0 + 1 + 0 + 0 + + + + 0 + 0 @@ -161,6 +256,24 @@ ExtendedStatus On + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -202,6 +315,24 @@ ExtendedStatus On + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -247,6 +378,24 @@ Possible values: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -288,6 +437,24 @@ Possible values: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -329,6 +496,24 @@ Possible values: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -372,9 +557,29 @@ Possible values: 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -418,13 +623,35 @@ Possible values: 10 + 0 + 1 1024 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -512,6 +739,7 @@ Possible values: + @@ -531,6 +759,22 @@ Possible values: + + {Service Apache:proc.num[{$HTTP_SERVICE_PROCESS}].min(#3)}>100 + 0 + + PROC::httpd::too many processes running ({ITEM.LASTVALUE} processes) + 0 + + + 0 + 3 + + 0 + 0 + + + {Service Apache:proc.num[httpd].max(#8)}=0 0 @@ -547,6 +791,22 @@ Possible values: + + {Service Apache:proc.num[{$HTTP_SERVICE_PROCESS}].max(#8)}=0 + 0 + + PROC::httpd is not running + 0 + + + 0 + 3 + + 0 + 0 + + + {Service Apache:net.tcp.service[http,,{$HTTP_SERVICE_PORT}].max(#3)}=0 0 diff --git a/Service MySQL/Service MySQL.xml b/Service MySQL/Service MySQL.xml index f1a394a..d39fec2 100644 --- a/Service MySQL/Service MySQL.xml +++ b/Service MySQL/Service MySQL.xml @@ -1,7 +1,7 @@ - 3.4 - 2018-10-06T10:54:02Z + 4.2 + 2019-05-29T12:46:32Z Templates @@ -66,7 +66,7 @@ http://dev.mysql.com/doc/refman/5.7/en/innodb-information-schema.html - PROC::mysqld + PROC::$1 7 @@ -106,6 +106,24 @@ http://dev.mysql.com/doc/refman/5.7/en/innodb-information-schema.html + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -149,9 +167,29 @@ http://dev.mysql.com/doc/refman/5.7/en/innodb-information-schema.html 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -195,9 +233,29 @@ http://dev.mysql.com/doc/refman/5.7/en/innodb-information-schema.html 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -241,9 +299,29 @@ http://dev.mysql.com/doc/refman/5.7/en/innodb-information-schema.html 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -287,9 +365,29 @@ http://dev.mysql.com/doc/refman/5.7/en/innodb-information-schema.html 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -333,9 +431,29 @@ http://dev.mysql.com/doc/refman/5.7/en/innodb-information-schema.html 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -379,9 +497,29 @@ http://dev.mysql.com/doc/refman/5.7/en/innodb-information-schema.html 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -425,9 +563,29 @@ http://dev.mysql.com/doc/refman/5.7/en/innodb-information-schema.html 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -471,9 +629,29 @@ http://dev.mysql.com/doc/refman/5.7/en/innodb-information-schema.html 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -517,9 +695,29 @@ http://dev.mysql.com/doc/refman/5.7/en/innodb-information-schema.html 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -563,9 +761,29 @@ http://dev.mysql.com/doc/refman/5.7/en/innodb-information-schema.html 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -613,9 +831,29 @@ You can compare the number of internal on-disk temporary tables created to the t 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -659,9 +897,29 @@ You can compare the number of internal on-disk temporary tables created to the t 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -709,9 +967,29 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -753,6 +1031,24 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -794,6 +1090,24 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -835,6 +1149,24 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -876,6 +1208,24 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -919,9 +1269,29 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -963,6 +1333,24 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1004,6 +1392,24 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1045,6 +1451,24 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1088,9 +1512,29 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1134,9 +1578,29 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1180,9 +1644,29 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1226,9 +1710,29 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1270,6 +1774,24 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1311,6 +1833,24 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1352,6 +1892,24 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1395,9 +1953,29 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1439,6 +2017,24 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1482,9 +2078,29 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an 9 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1528,9 +2144,29 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1574,9 +2210,29 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1620,9 +2276,29 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1666,9 +2342,29 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1712,9 +2408,29 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1758,9 +2474,29 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an 1 0.001 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1804,9 +2540,29 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1848,6 +2604,24 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1889,6 +2663,24 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1932,9 +2724,29 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1978,9 +2790,29 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2024,9 +2856,29 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2070,9 +2922,29 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2114,6 +2986,24 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2155,6 +3045,24 @@ Each invocation of the SHOW STATUS statement uses an internal temporary table an + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2200,9 +3108,29 @@ It does not count COM_PING or COM_STATISTICS commands. 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2246,9 +3174,29 @@ It does not count COM_PING or COM_STATISTICS commands. 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2292,9 +3240,29 @@ It does not count COM_PING or COM_STATISTICS commands. 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2338,6 +3306,24 @@ This variable is not meaningful in the embedded server (libmysqld) and as of MyS + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2379,6 +3365,24 @@ This variable is not meaningful in the embedded server (libmysqld) and as of MyS + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2420,6 +3424,24 @@ This variable is not meaningful in the embedded server (libmysqld) and as of MyS + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2461,6 +3483,24 @@ This variable is not meaningful in the embedded server (libmysqld) and as of MyS + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2502,6 +3542,24 @@ This variable is not meaningful in the embedded server (libmysqld) and as of MyS + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2549,6 +3607,24 @@ This variable sets the binary logging format, and can be any one of STATEMENT, R + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2596,6 +3672,24 @@ This variable sets the binary logging format, and can be any one of STATEMENT, R + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2637,6 +3731,24 @@ This variable sets the binary logging format, and can be any one of STATEMENT, R + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2678,6 +3790,24 @@ This variable sets the binary logging format, and can be any one of STATEMENT, R + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2721,6 +3851,24 @@ The default, with the largest page size, is appropriate for a wide range of work + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2766,6 +3914,24 @@ You can also turn off this option if you do not need it for safe binary logging + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2807,6 +3973,24 @@ You can also turn off this option if you do not need it for safe binary logging + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2854,6 +4038,24 @@ When you change the message buffer size by changing the value of the max_allowed + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2895,6 +4097,24 @@ When you change the message buffer size by changing the value of the max_allowed + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2938,6 +4158,24 @@ This variable is also used in conjunction with tmp_table_size to limit the size + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2979,6 +4217,24 @@ This variable is also used in conjunction with tmp_table_size to limit the size + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3024,6 +4280,24 @@ The query cache needs a minimum size of about 40KB to allocate its structures. ( + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3070,6 +4344,24 @@ Possible values: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3111,6 +4403,24 @@ Possible values: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3154,6 +4464,24 @@ You can compare the number of internal on-disk temporary tables created to the t + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3219,6 +4547,24 @@ This level is like REPEATABLE READ, but InnoDB implicitly converts all plain SEL + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3260,6 +4606,24 @@ This level is like REPEATABLE READ, but InnoDB implicitly converts all plain SEL + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -3338,12 +4702,30 @@ This level is like REPEATABLE READ, but InnoDB implicitly converts all plain SEL + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 SVC::MySQL::DB::{#DB} - + {#DB}::index size @@ -3380,12 +4762,30 @@ This level is like REPEATABLE READ, but InnoDB implicitly converts all plain SEL + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 SVC::MySQL::DB::{#DB} - + @@ -3437,6 +4837,26 @@ This level is like REPEATABLE READ, but InnoDB implicitly converts all plain SEL + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + + + + 0 + 0 + + + MySQL::slave: @@ -3480,6 +4900,26 @@ SELECT variable_value FROM information_schema.global_status WHERE variable_name + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + + + + 0 + 0 + + + @@ -3828,6 +5268,7 @@ SELECT variable_value FROM information_schema.global_status WHERE variable_name + diff --git a/Service Nginx/Service Nginx.xml b/Service Nginx/Service Nginx.xml index 7267897..faa5ee6 100644 --- a/Service Nginx/Service Nginx.xml +++ b/Service Nginx/Service Nginx.xml @@ -1,7 +1,7 @@ - 3.4 - 2018-10-06T10:54:02Z + 4.2 + 2019-05-29T12:46:32Z Templates @@ -13,7 +13,7 @@ Service Nginx Nginx http server monitoring template. -Version: (devel) +Version: 1.0.4 (2018-06-11) URL: https://github.com/kloczek/zabbix-templates/tree/master/Service%20Nginx Notes: @@ -47,7 +47,7 @@ Notes: - SVC::http tcp/80 + SVC::$1 tcp/$3 7 @@ -87,10 +87,28 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - connections::active + connections::$1 18 @@ -132,20 +150,42 @@ This doesn’t mean number of users. A single user, for a single pageview can op 5 Active(.*) \0 + 0 + 5 \d+ \0 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 web.page.get[{$NGINX_HOST},{$NGINX_STATS_URI},{$NGINX_PORT}] - connections::reading + connections::$1 18 @@ -186,20 +226,42 @@ This doesn’t mean number of users. A single user, for a single pageview can op 5 Reading:(.*) \0 + 0 + 5 \d+ \0 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 web.page.get[{$NGINX_HOST},{$NGINX_STATS_URI},{$NGINX_PORT}] - connections::waiting + connections::$1 18 @@ -247,20 +309,42 @@ http://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_timeout5 Waiting:(.*) \0 + 0 + 5 \d+ \0 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 web.page.get[{$NGINX_HOST},{$NGINX_STATS_URI},{$NGINX_PORT}] - connections::writing + connections::$1 18 @@ -301,14 +385,36 @@ http://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_timeout5 Writing:(.*) \0 + 0 + 5 \d+ \0 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 web.page.get[{$NGINX_HOST},{$NGINX_STATS_URI},{$NGINX_PORT}] @@ -355,24 +461,48 @@ http://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_timeout5 \s\d+\s\d+\s\d+ \0 + 0 + 5 \s\d+\s\d+\s(.*) \1 + 0 + 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 web.page.get[{$NGINX_HOST},{$NGINX_STATS_URI},{$NGINX_PORT}] - requests::accepts + requests::$1 18 @@ -413,24 +543,48 @@ http://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_timeout5 \s\d+\s\d+\s\d+ \0 + 0 + 5 \d+ \0 + 0 + 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 web.page.get[{$NGINX_HOST},{$NGINX_STATS_URI},{$NGINX_PORT}] - requests::handled + requests::$1 18 @@ -472,23 +626,49 @@ Generally, the parameter value is the same as accepts unless some resource limit 5 \s\d+\s\d+\s\d+ \0 + 0 + 5 \s\d+\s\d+\s \0 + 0 + 5 \s\d+\s(.*) \1 + 0 + 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 web.page.get[{$NGINX_HOST},{$NGINX_STATS_URI},{$NGINX_PORT}] @@ -532,6 +712,24 @@ Generally, the parameter value is the same as accepts unless some resource limit + 3s + + + + 200 + 1 + 0 + + + 0 + 1 + 0 + 0 + + + + 0 + 0 @@ -573,6 +771,24 @@ Generally, the parameter value is the same as accepts unless some resource limit + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -614,6 +830,24 @@ Generally, the parameter value is the same as accepts unless some resource limit + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -655,10 +889,28 @@ Generally, the parameter value is the same as accepts unless some resource limit + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - PROC::nginx + PROC::$1 7 @@ -696,6 +948,24 @@ Generally, the parameter value is the same as accepts unless some resource limit + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -737,6 +1007,24 @@ Generally, the parameter value is the same as accepts unless some resource limit + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -778,6 +1066,24 @@ Generally, the parameter value is the same as accepts unless some resource limit + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -819,6 +1125,24 @@ Generally, the parameter value is the same as accepts unless some resource limit + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -940,6 +1264,7 @@ Generally, the parameter value is the same as accepts unless some resource limit + diff --git a/Service Zabbix Agent/Service Zabbix Agent.xml b/Service Zabbix Agent/Service Zabbix Agent.xml index a620d60..6f705a7 100644 --- a/Service Zabbix Agent/Service Zabbix Agent.xml +++ b/Service Zabbix Agent/Service Zabbix Agent.xml @@ -1,7 +1,7 @@ - 3.4 - 2018-10-06T10:54:03Z + 4.2 + 2019-05-29T12:46:32Z Templates @@ -69,6 +69,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -110,6 +128,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -151,10 +187,28 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 1 + 0 + 0 + + + + 0 + 0 - items_unsupported + items unsupported 5 @@ -192,6 +246,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -200,6 +272,7 @@ Notes: + diff --git a/Service Zabbix Proxy/Service Zabbix Proxy.xml b/Service Zabbix Proxy/Service Zabbix Proxy.xml index c9fa59f..6ea4901 100644 --- a/Service Zabbix Proxy/Service Zabbix Proxy.xml +++ b/Service Zabbix Proxy/Service Zabbix Proxy.xml @@ -1,7 +1,7 @@ - 3.4 - 2018-10-06T10:54:03Z + 4.2 + 2019-05-29T12:46:32Z Templates @@ -77,10 +77,28 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - SYS::processes::zabbix_proxy + SYS::processes::$1 7 @@ -118,10 +136,28 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - hosts + $1 5 @@ -159,10 +195,28 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - items + $1 5 @@ -200,10 +254,28 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - items_unsupported + $1 5 @@ -241,10 +313,28 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::configuration syncer + proc::$4::$2 5 @@ -282,10 +372,28 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::data sender + proc::$4::$2 5 @@ -323,10 +431,28 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::discoverer + proc::$4::$2 5 @@ -365,10 +491,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::heartbeat sender + proc::$4::$2 5 @@ -406,10 +550,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::history syncer + proc::$4::$2 5 @@ -448,10 +610,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::housekeeper + proc::$4::$2 5 @@ -490,10 +670,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::http poller + proc::$4::$2 5 @@ -532,10 +730,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::icmp pinger + proc::$4::$2 5 @@ -574,10 +790,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::ipmi manager + proc::$4::$2 5 @@ -615,10 +849,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::ipmi poller + proc::$4::$2 5 @@ -656,10 +908,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::java poller + proc::$4::$2 5 @@ -697,10 +967,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::poller + proc::$4::$2 5 @@ -739,10 +1027,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::self-monitoring + proc::$4::$2 5 @@ -781,10 +1087,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::snmp trapper + proc::$4::$2 5 @@ -822,10 +1146,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::task manager + proc::$4::$2 5 @@ -864,10 +1206,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::trapper + proc::$4::$2 5 @@ -906,10 +1266,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::unreachable poller + proc::$4::$2 5 @@ -948,10 +1326,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::vmware collector + proc::$4::$2 5 @@ -990,10 +1386,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proxy::lastaccess + $1::$3 5 @@ -1031,10 +1445,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proxy_history + $1 5 @@ -1072,10 +1504,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - Items::queue::1m + Items::queue::$2 5 @@ -1113,10 +1563,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - Items::queue::5m + Items::queue::$2 5 @@ -1154,10 +1622,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - Items::queue::10m + Items::queue::$2 5 @@ -1195,10 +1681,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - Items::queue::10s + Items::queue::$2 5 @@ -1236,10 +1740,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - Items::queue::30s + Items::queue::$2 5 @@ -1277,10 +1799,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - rcache::buffer::free + $1::$2::$3 5 @@ -1318,10 +1858,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - rcache::buffer::pfree + $1::$2::$3 5 @@ -1359,10 +1917,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - rcache::buffer::total + $1::$2::$3 5 @@ -1400,10 +1976,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - rcache::buffer::used + $1::$2::$3 5 @@ -1441,10 +2035,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - requiredperformance + $1 5 @@ -1482,10 +2094,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - uptime + $1 5 @@ -1523,10 +2153,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - wcache::history::used + $1::$2::$3 5 @@ -1564,10 +2212,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - vmware::buffer::pfree + $1::$2::$3 5 @@ -1605,10 +2271,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - vmware::buffer::total + $1::$2::$3 5 @@ -1646,10 +2330,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - vmware::buffer::used + $1::$2::$3 5 @@ -1687,10 +2389,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - wcache::history::free + $1::$2::$3 5 @@ -1728,10 +2448,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - wcache::history::pfree + $1::$2::$3 5 @@ -1769,10 +2507,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - wcache::history::total + $1::$2::$3 5 @@ -1810,10 +2566,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - wcache::history::used + $1::$2::$3 5 @@ -1851,10 +2625,28 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - wcache::index::pfree + $1::$2::$3 5 @@ -1892,13 +2684,31 @@ It is calculated for last minute only. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - wcache::values::all + $1::$2::$3 5 - - + public + interfaces.ifTable.ifEntry.ifInOctets.1 zabbix[wcache,values,all] 30s 2w @@ -1935,13 +2745,33 @@ It is calculated for last minute only. 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - wcache::values::float + $1::$2::$3 5 @@ -1981,13 +2811,33 @@ It is calculated for last minute only. 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - wcache::values::log + $1::$2::$3 5 @@ -2027,13 +2877,33 @@ It is calculated for last minute only. 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - wcache::values::not supported + $1::$2::$3 5 @@ -2073,13 +2943,33 @@ It is calculated for last minute only. 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - wcache::values::str + $1::$2::$3 5 @@ -2119,13 +3009,33 @@ It is calculated for last minute only. 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - wcache::values::text + $1::$2::$3 5 @@ -2165,13 +3075,33 @@ It is calculated for last minute only. 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - wcache::values::uint + $1::$2::$3 5 @@ -2211,9 +3141,29 @@ It is calculated for last minute only. 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2362,6 +3312,7 @@ It is calculated for last minute only. + diff --git a/Service Zabbix Server/Service Zabbix Server.xml b/Service Zabbix Server/Service Zabbix Server.xml index 233a52a..1d2e439 100644 --- a/Service Zabbix Server/Service Zabbix Server.xml +++ b/Service Zabbix Server/Service Zabbix Server.xml @@ -1,7 +1,7 @@ - 3.4 - 2018-10-06T10:54:04Z + 4.2 + 2019-05-29T12:46:32Z Templates @@ -54,7 +54,7 @@ Notes: - hosts + $1 5 @@ -92,10 +92,28 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - items + $1 5 @@ -133,6 +151,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -174,6 +210,24 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -215,10 +269,28 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::alerter + proc::$4::$2 % 5 @@ -257,10 +329,28 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::alert manager + proc::$4::$2 % 5 @@ -299,10 +389,28 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::guration sync + proc::$4::$2 % 5 @@ -341,10 +449,28 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::discoverer + proc::$4::$2 % 5 @@ -383,10 +509,28 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::escalator + proc::$4::$2 % 5 @@ -425,10 +569,28 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::history syncer + proc::$4::$2 % 5 @@ -467,10 +629,28 @@ Notes: + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::housekeeper + proc::$4::$2 % 5 @@ -509,10 +689,28 @@ This metrics should have only two values 0 and 100% because it is only one house + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::http polle + proc::$4::$2 % 5 @@ -551,10 +749,28 @@ This metrics should have only two values 0 and 100% because it is only one house + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::icmp pinger + proc::$4::$2 % 5 @@ -593,10 +809,28 @@ This metrics should have only two values 0 and 100% because it is only one house + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::ipmi manager + proc::$4::$2 % 5 @@ -635,10 +869,28 @@ This metrics should have only two values 0 and 100% because it is only one house + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::ipmi poller + proc::$4::$2 % 5 @@ -677,10 +929,28 @@ This metrics should have only two values 0 and 100% because it is only one house + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::java poller + proc::$4::$2 % 5 @@ -719,10 +989,28 @@ This metrics should have only two values 0 and 100% because it is only one house + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::poller + proc::$4::$2 % 5 @@ -761,10 +1049,28 @@ This metrics should have only two values 0 and 100% because it is only one house + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::preprocessing manager + proc::$4::$2 % 5 @@ -803,10 +1109,28 @@ This metrics should have only two values 0 and 100% because it is only one house + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::preprocessing worker + proc::$4::$2 % 5 @@ -845,10 +1169,28 @@ This metrics should have only two values 0 and 100% because it is only one house + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::proxy poller + proc::$4::$2 % 5 @@ -887,10 +1229,28 @@ This metrics should have only two values 0 and 100% because it is only one house + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::self-monitoring + proc::$4::$2 % 5 @@ -929,10 +1289,28 @@ This metrics should have only two values 0 and 100% because it is only one house + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::snmp trapper + proc::$4::$2 % 5 @@ -971,10 +1349,28 @@ This metrics should have only two values 0 and 100% because it is only one house + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::task manager + proc::$4::$2 % 5 @@ -1013,10 +1409,28 @@ This metrics should have only two values 0 and 100% because it is only one house + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::timer + proc::$4::$2 % 5 @@ -1055,10 +1469,28 @@ This metrics should have only two values 0 and 100% because it is only one house + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::trapper + proc::$4::$2 % 5 @@ -1097,10 +1529,28 @@ This metrics should have only two values 0 and 100% because it is only one house + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::unreachable poller + proc::$4::$2 % 5 @@ -1139,10 +1589,28 @@ This metrics should have only two values 0 and 100% because it is only one house + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - proc::busy::vmware collector + proc::$4::$2 % 5 @@ -1181,10 +1649,28 @@ This metrics should have only two values 0 and 100% because it is only one house + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - queue::1m + queue::$2 5 @@ -1222,10 +1708,28 @@ This metrics should have only two values 0 and 100% because it is only one house + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - queue::5m + queue::$2 5 @@ -1263,10 +1767,28 @@ This metrics should have only two values 0 and 100% because it is only one house + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - queue::10m + queue::$2 5 @@ -1304,10 +1826,28 @@ This metrics should have only two values 0 and 100% because it is only one house + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - queue::10s + queue::$2 5 @@ -1345,10 +1885,28 @@ This metrics should have only two values 0 and 100% because it is only one house + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - queue::30s + queue::$2 5 @@ -1386,10 +1944,28 @@ This metrics should have only two values 0 and 100% because it is only one house + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - rcache::buffer::free + $1::$2::$3 5 @@ -1427,10 +2003,28 @@ This metrics should have only two values 0 and 100% because it is only one house + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - rcache::buffer::pfree + $1::$2::$3 5 @@ -1468,10 +2062,28 @@ This metrics should have only two values 0 and 100% because it is only one house + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - rcach::buffer::used + $1::$2::$3 5 @@ -1509,6 +2121,24 @@ This metrics should have only two values 0 and 100% because it is only one house + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -1550,10 +2180,28 @@ This metrics should have only two values 0 and 100% because it is only one house + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - triggers + $1 5 @@ -1591,10 +2239,28 @@ This metrics should have only two values 0 and 100% because it is only one house + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - uptime + $1 5 @@ -1632,10 +2298,28 @@ This metrics should have only two values 0 and 100% because it is only one house + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - vcache::buffer::pfree + $1::$2::$3 5 @@ -1673,10 +2357,28 @@ This metrics should have only two values 0 and 100% because it is only one house + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - vcache::cache::hits + $1::$2::$3 5 @@ -1716,13 +2418,33 @@ This metrics should have only two values 0 and 100% because it is only one house 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - vcache::cache::misses + $1::$2::$3 5 @@ -1762,13 +2484,33 @@ This metrics should have only two values 0 and 100% because it is only one house 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - vcache::cache::requests + $1::$2::$3 5 @@ -1808,13 +2550,33 @@ This metrics should have only two values 0 and 100% because it is only one house 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - wcache::history::free + $1::$2::$3 5 @@ -1853,10 +2615,28 @@ A low number indicates performance problems on the database side. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - wcache::history::pfree + $1::$2::$3 5 @@ -1895,10 +2675,28 @@ A low number indicates performance problems on the database side. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - wcache::history::total + $1::$2::$3 5 @@ -1936,10 +2734,28 @@ A low number indicates performance problems on the database side. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - wcache::history::used + $1::$2::$3 5 @@ -1978,10 +2794,28 @@ A high number indicates performance problems on the database side. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - wcache::trend::free + $1::$2::$3 5 @@ -2020,10 +2854,28 @@ A low number indicates performance problems on the database side. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - wcache::trend::pfree + $1::$2::$3 5 @@ -2062,10 +2914,28 @@ A low number indicates performance problems on the database side. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - wcache::trend::total + $1::$2::$3 5 @@ -2103,10 +2973,28 @@ A low number indicates performance problems on the database side. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - wcache::trend::used + $1::$2::$3 5 @@ -2145,10 +3033,28 @@ A high number indicates performance problems on the database side. + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - wcache::values::all + $1::$2::$3 5 @@ -2188,13 +3094,33 @@ A high number indicates performance problems on the database side. 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - wcache::values::float + $1::$2::$3 5 @@ -2234,13 +3160,33 @@ A high number indicates performance problems on the database side. 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - wcache::values::log + $1::$2::$3 5 @@ -2280,13 +3226,33 @@ A high number indicates performance problems on the database side. 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - wcache::values::not supported + $1::$2::$3 5 @@ -2326,13 +3292,33 @@ A high number indicates performance problems on the database side. 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - wcache::values::str + $1::$2::$3 5 @@ -2372,13 +3358,33 @@ A high number indicates performance problems on the database side. 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - wcache::values::text + $1::$2::$3 5 @@ -2418,13 +3424,33 @@ A high number indicates performance problems on the database side. 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 - wcache::values::uint + $1::$2::$3 5 @@ -2464,9 +3490,29 @@ A high number indicates performance problems on the database side. 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 @@ -2478,7 +3524,7 @@ A high number indicates performance problems on the database side. SVC::zabbix_server::status 2 - 5 + 3 0 @@ -2584,7 +3630,7 @@ A high number indicates performance problems on the database side. 0 0 - SVC::zabbix_server::preprocessing queue + SVC::zabbix_server::items queued Service Zabbix Server 3 @@ -2605,28 +3651,6 @@ A high number indicates performance problems on the database side. 0 0 - - SVC::zabbix_server::items queued - Service Zabbix Server - - 3 - - - - 0 - 500 - 100 - 0 - 3 - 1 - 1 - 0 - 1 - 1 - - - 0 - 0 SVC::zabbix_server::items total/unsupported Service Zabbix Server @@ -2634,75 +3658,10 @@ A high number indicates performance problems on the database side. 3 - - 0 - 500 - 100 - 1 - 3 - 1 - 1 - 0 - 1 - 1 - - - 0 - 0 - - SVC::zabbix_server::items::nvps - Service Zabbix Server - - 3 - - - - 0 - 500 - 100 - 0 - 4 - 1 - 1 - 0 - 1 - 1 - - - 0 - 0 - - SVC::zabbix_server::items/triggers - Service Zabbix Server - - 3 - - - - 0 - 500 - 100 - 1 - 4 - 1 - 1 - 0 - 1 - 1 - - - 0 - 0 - - SVC::zabbix_server::hosts - Service Zabbix Server - - 3 - - + @@ -3466,6 +4425,50 @@ A high number indicates performance problems on the database side. + + SVC::zabbix_server::items/wcache::buffer::pfree + 1200 + 300 + 0.0000 + 100.0000 + 1 + 0 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + 00BB00 + 0 + 2 + 0 + + Service Zabbix Server + zabbix[items] + + + + 1 + 0 + FFFF33 + 0 + 2 + 0 + + Service Zabbix Server + zabbix[vcache,buffer,pfree] + + + + SVC::zabbix_server::items::nvps 1200 diff --git a/Service php-fpm/Service php-fpm.xml b/Service php-fpm/Service php-fpm.xml index eb9b7de..075ccd8 100644 --- a/Service php-fpm/Service php-fpm.xml +++ b/Service php-fpm/Service php-fpm.xml @@ -1,7 +1,7 @@ - 3.4 - 2018-10-06T11:08:38Z + 4.2 + 2019-05-29T12:46:32Z Templates @@ -95,6 +95,24 @@ pm.status_path = /status + 3s + + + + 200 + 1 + 0 + + + 0 + 1 + 0 + 0 + + + + 0 + 0 @@ -138,13 +156,35 @@ pm.status_path = /status 12 $['accepted conn'] + 0 + 10 + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 1 + 0 + 0 + + + + 0 + 0 web.page.regexp[{$SVC_PHP_FPM_HOST},{$SVC_PHP_FPM_STATS_URI},{$SVC_PHP_FPM_PORT},(^\{.*),,\1] @@ -190,9 +230,29 @@ pm.status_path = /status 12 $['active processes'] + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 1 + 0 + 0 + + + + 0 + 0 web.page.regexp[{$SVC_PHP_FPM_HOST},{$SVC_PHP_FPM_STATS_URI},{$SVC_PHP_FPM_PORT},(^\{.*),,\1] @@ -238,9 +298,29 @@ pm.status_path = /status 12 $['idle processes'] + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 1 + 0 + 0 + + + + 0 + 0 web.page.regexp[{$SVC_PHP_FPM_HOST},{$SVC_PHP_FPM_STATS_URI},{$SVC_PHP_FPM_PORT},(^\{.*),,\1] @@ -286,9 +366,29 @@ pm.status_path = /status 12 $['listen queue len'] + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 1 + 0 + 0 + + + + 0 + 0 web.page.regexp[{$SVC_PHP_FPM_HOST},{$SVC_PHP_FPM_STATS_URI},{$SVC_PHP_FPM_PORT},(^\{.*),,\1] @@ -334,9 +434,29 @@ pm.status_path = /status 12 $['listen queue'] + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 1 + 0 + 0 + + + + 0 + 0 web.page.regexp[{$SVC_PHP_FPM_HOST},{$SVC_PHP_FPM_STATS_URI},{$SVC_PHP_FPM_PORT},(^\{.*),,\1] @@ -382,9 +502,29 @@ pm.status_path = /status 12 $['max active processes'] + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 1 + 0 + 0 + + + + 0 + 0 web.page.regexp[{$SVC_PHP_FPM_HOST},{$SVC_PHP_FPM_STATS_URI},{$SVC_PHP_FPM_PORT},(^\{.*),,\1] @@ -430,9 +570,29 @@ pm.status_path = /status 12 $['max children reached'] + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 1 + 0 + 0 + + + + 0 + 0 web.page.regexp[{$SVC_PHP_FPM_HOST},{$SVC_PHP_FPM_STATS_URI},{$SVC_PHP_FPM_PORT},(^\{.*),,\1] @@ -478,9 +638,29 @@ pm.status_path = /status 12 $['max listen queue'] + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 1 + 0 + 0 + + + + 0 + 0 web.page.regexp[{$SVC_PHP_FPM_HOST},{$SVC_PHP_FPM_STATS_URI},{$SVC_PHP_FPM_PORT},(^\{.*),,\1] @@ -527,9 +707,29 @@ Mostly it will be "www". 12 $.pool + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 1 + 0 + 0 + + + + 0 + 0 web.page.regexp[{$SVC_PHP_FPM_HOST},{$SVC_PHP_FPM_STATS_URI},{$SVC_PHP_FPM_PORT},(^\{.*),,\1] @@ -576,9 +776,29 @@ Trying ondemand is on todo list. 12 $['process manager'] + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 1 + 0 + 0 + + + + 0 + 0 web.page.regexp[{$SVC_PHP_FPM_HOST},{$SVC_PHP_FPM_STATS_URI},{$SVC_PHP_FPM_PORT},(^\{.*),,\1] @@ -624,9 +844,29 @@ Trying ondemand is on todo list. 12 $['slow requests'] + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 1 + 0 + 0 + + + + 0 + 0 web.page.regexp[{$SVC_PHP_FPM_HOST},{$SVC_PHP_FPM_STATS_URI},{$SVC_PHP_FPM_PORT},(^\{.*),,\1] @@ -672,9 +912,29 @@ Trying ondemand is on todo list. 12 $['start since'] + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 1 + 0 + 0 + + + + 0 + 0 web.page.regexp[{$SVC_PHP_FPM_HOST},{$SVC_PHP_FPM_STATS_URI},{$SVC_PHP_FPM_PORT},(^\{.*),,\1] @@ -720,9 +980,29 @@ Trying ondemand is on todo list. 12 $['start time'] + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 1 + 0 + 0 + + + + 0 + 0 web.page.regexp[{$SVC_PHP_FPM_HOST},{$SVC_PHP_FPM_STATS_URI},{$SVC_PHP_FPM_PORT},(^\{.*),,\1] @@ -768,9 +1048,29 @@ Trying ondemand is on todo list. 12 $['total processes'] + 0 + + 3s + + + + 200 + 1 + 0 + + + 0 + 1 + 0 + 0 + + + + 0 + 0 web.page.regexp[{$SVC_PHP_FPM_HOST},{$SVC_PHP_FPM_STATS_URI},{$SVC_PHP_FPM_PORT},(^\{.*),,\1] @@ -814,6 +1114,24 @@ Trying ondemand is on todo list. + 3s + + + + 200 + 1 + 0 + + + 0 + 1 + 0 + 0 + + + + 0 + 0 @@ -822,7 +1140,7 @@ Trying ondemand is on todo list. {$SVC_PHP_FPM_HOST} - localhost + 127.0.0.1 {$SVC_PHP_FPM_PORT} @@ -913,6 +1231,7 @@ Trying ondemand is on todo list. + From b2776a78d8e564f18786fda1afd63cde8a246084 Mon Sep 17 00:00:00 2001 From: Tomasz Kloczko Date: Wed, 29 May 2019 15:29:09 +0100 Subject: [PATCH 26/76] Service Apache: new macro {$HTTP_SERVICE_PROCESS} Macro {$HTTP_SERVICE_PROCESS} has bee nadded to allow easy use it on Debian/Ubuntu. Default value is "http". On Ubuntu/Debian that value needs to be changed to "apache2". --- README.md | 2 ++ Service Apache/README.md | 31 +++++++++++++++--------------- Service Apache/Service Apache.xml | 32 +++++++++++++++++++------------ 3 files changed, 38 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 9293277..635e991 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,8 @@ This repository provides a set of templates which offers the alternative set of - interfaces: add to LLD iterator item ```IF-MIB::ifIndex``` and map it to ```{#IFINDEX}``` macro - interfaces: add to all applications, items, triggers anf graphs prototypes names ```[{#IFINDEX}]``` to display physical port number in those names - graphs improvements +- **Service Apache** + - Macro ```{$HTTP_SERVICE_PROCESS}```: has bee nadded to allow easy use it on Debian/Ubuntu. Default value is ```http```. On Ubuntu/Debian that value needs to be changed to ```apache2``` - **Service Nginx** - Graphs: - new ```SVC::Nginx::reqs_per_conn``` diff --git a/Service Apache/README.md b/Service Apache/README.md index 088b29a..86cdbd3 100644 --- a/Service Apache/README.md +++ b/Service Apache/README.md @@ -1,12 +1,26 @@ -#### Version: 1.0.4 (2018-06-11) +#### Version: 4.2.1 (2019-05-29) #### Description: Apache service monitoring template using zabbix active agent items. +#### Notes: +- This template uses apache mod_status metrics +- When this template is used on Ubuntu/Debian please change the host macro value ```{$HTTP_SERVICE_PROCESS}``` to ```apache2``` +- To allow use this template in apache configuration must be present settings: +``` +ExtendedStatus On + + SetHandler server-status + Order deny,allow + Deny from all + Allow from localhost + +``` #### Changelog: - (devel): - Items: - - make template zabbix 4.0.x ready by remove using $1-$9 macros in items names + - Make template zabbix 4.0.x ready by remove using $1-$9 macros in items names + - Macro ```{$HTTP_SERVICE_PROCESS}```: has bee nadded to allow easy use it on Debian/Ubuntu. Default value is ```http```. On Ubuntu/Debian that value needs to be changed to ```apache2``` - 1.0.4 (2018-06-11) - Graphs: - changed resolution of all graphs to 1200x300 @@ -23,16 +37,3 @@ Apache service monitoring template using zabbix active agent items. - use ServerUptimeSeconds in uptime item - 1.0.0 (2017-09-09): - initial version - -#### Notes: -- This template uses apache mod_status metrics. -- To allow use this template in apache configuration must be present: -``` -ExtendedStatus On - - SetHandler server-status - Order deny,allow - Deny from all - Allow from localhost - -``` \ No newline at end of file diff --git a/Service Apache/Service Apache.xml b/Service Apache/Service Apache.xml index 7dad580..1930e5e 100644 --- a/Service Apache/Service Apache.xml +++ b/Service Apache/Service Apache.xml @@ -1,7 +1,7 @@ 4.2 - 2019-05-29T12:46:31Z + 2019-05-29T14:20:52Z Templates @@ -13,20 +13,24 @@ Service Apache Apache service monitoring template using zabbix active agent items. -Version : 1.0.4 (2018-06-11) -URL: https://github.com/kloczek/zabbix-templates/tree/master/Service%20Apache +#### Version: 4.2.1 (2019-05-29 -Notes: -- This template uses apache mod_status metrics. -- To use this template in apache configuration needs to be added: +#### Description: +Apache service monitoring template using zabbix active agent items. +#### Notes: +- This template uses apache mod_status metrics +- Macro ```{$HTTP_SERVICE_PROCESS}```: has bee nadded t oallow easy use it on Debian/Ubuntu. Default value is ```http```. On Ubuntu/Debian that value needs to be changed to ```apache2``` +- To allow use this template in apache configuration must be present: +``` ExtendedStatus On <Location /server-status> - SetHandler server-status - Order deny,allow - Deny from all - Allow from localhost -</Location> + SetHandler server-status + Order deny,allow + Deny from all + Allow from localhost +</Location> +``` Templates @@ -159,7 +163,7 @@ ExtendedStatus On - PROC::httpd + PROC::{$HTTP_SERVICE_PROCESS} 7 @@ -662,6 +666,10 @@ Possible values: {$HTTP_SERVICE_PORT} 80 + + {$HTTP_SERVICE_PROCESS} + httpd + From 28aacafd9493e42d4ecd59296553c142f18ef48a Mon Sep 17 00:00:00 2001 From: Tomasz Kloczko Date: Wed, 29 May 2019 16:09:30 +0100 Subject: [PATCH 27/76] Screens graphs resolution changes to 1200x200 or 600x200. All graphs in screens resolution have been changed to 1200x200 or 600x200 in case screens with two columns of graphs. That resolution is better suited for FHD. --- ICMP/ICMP.xml | 6 +- MIB/IF-MIB/IF-MIB.xml | 6 +- OS Linux/OS Linux.xml | 66 ++++++++++++------- OS Solaris/OS Solaris.xml | 32 ++++----- OS Windows/OS Windows.xml | 53 +++++++++++++-- OS Windows/README.md | 2 + README.md | 1 + Service Apache/Service Apache.xml | 22 +++---- Service MySQL/Service MySQL.xml | 16 ++--- Service Nginx/Service Nginx.xml | 24 +++---- Service Zabbix Proxy/Service Zabbix Proxy.xml | 26 ++++---- .../Service Zabbix Server.xml | 26 ++++---- Service php-fpm/Service php-fpm.xml | 24 +++---- 13 files changed, 187 insertions(+), 117 deletions(-) diff --git a/ICMP/ICMP.xml b/ICMP/ICMP.xml index a73fea6..2ce832f 100644 --- a/ICMP/ICMP.xml +++ b/ICMP/ICMP.xml @@ -1,7 +1,7 @@ 4.2 - 2019-05-29T12:46:29Z + 2019-05-29T15:03:45Z Templates @@ -221,7 +221,7 @@ Notes: 0 - 900 + 1200 200 0 0 @@ -243,7 +243,7 @@ Notes: 0 - 900 + 1200 200 0 1 diff --git a/MIB/IF-MIB/IF-MIB.xml b/MIB/IF-MIB/IF-MIB.xml index b0ffb6a..99fb9ad 100644 --- a/MIB/IF-MIB/IF-MIB.xml +++ b/MIB/IF-MIB/IF-MIB.xml @@ -1,7 +1,7 @@ 4.2 - 2019-05-29T12:46:29Z + 2019-05-29T15:03:45Z Templates SNMP MIB @@ -900,8 +900,8 @@ The testing(3) state indicates that no operational packets can be passed. 20 - 900 - 100 + 1200 + 200 0 0 1 diff --git a/OS Linux/OS Linux.xml b/OS Linux/OS Linux.xml index bb8bbb3..39b4e2b 100644 --- a/OS Linux/OS Linux.xml +++ b/OS Linux/OS Linux.xml @@ -1,7 +1,7 @@ 4.2 - 2019-05-29T12:46:31Z + 2019-05-29T15:03:46Z Templates @@ -5078,13 +5078,13 @@ Value is calculated by read number of sectors multiplied by 512. CPU - 1 + 2 2 0 - 1200 - 300 + 600 + 200 0 0 1 @@ -5105,7 +5105,29 @@ Value is calculated by read number of sectors multiplied by 512. 0 - 1200 + 500 + 200 + 1 + 0 + 1 + 1 + 0 + 1 + 1 + + + 0 + 0 + + SYS::load::avg1 + OS Linux + + 3 + + + + 0 + 600 200 0 1 @@ -5134,8 +5156,8 @@ Value is calculated by read number of sectors multiplied by 512. 20 - 500 - 100 + 600 + 200 0 0 1 @@ -5156,8 +5178,8 @@ Value is calculated by read number of sectors multiplied by 512. 20 - 500 - 100 + 600 + 200 1 0 1 @@ -5214,8 +5236,8 @@ Value is calculated by read number of sectors multiplied by 512. 0 - 500 - 100 + 600 + 200 0 0 1 @@ -5236,8 +5258,8 @@ Value is calculated by read number of sectors multiplied by 512. 0 - 500 - 100 + 600 + 200 1 0 1 @@ -5258,8 +5280,8 @@ Value is calculated by read number of sectors multiplied by 512. 20 - 500 - 100 + 600 + 200 0 1 1 @@ -5280,15 +5302,15 @@ Value is calculated by read number of sectors multiplied by 512. 20 - 500 - 100 + 600 + 200 1 1 1 1 0 1 - 0 + 1 0 @@ -5309,8 +5331,8 @@ Value is calculated by read number of sectors multiplied by 512. 20 - 500 - 100 + 600 + 200 0 0 1 @@ -5331,8 +5353,8 @@ Value is calculated by read number of sectors multiplied by 512. 20 - 500 - 100 + 600 + 200 1 0 1 diff --git a/OS Solaris/OS Solaris.xml b/OS Solaris/OS Solaris.xml index 82ccbef..908ea46 100644 --- a/OS Solaris/OS Solaris.xml +++ b/OS Solaris/OS Solaris.xml @@ -1,7 +1,7 @@ 4.2 - 2019-05-29T12:46:31Z + 2019-05-29T15:03:46Z Templates @@ -4860,12 +4860,12 @@ Please login on the host and check output of the commands: CPU - 1 - 3 + 2 + 2 0 - 900 + 600 200 0 0 @@ -4887,10 +4887,10 @@ Please login on the host and check output of the commands: 0 - 900 + 600 200 - 0 - 1 + 1 + 0 1 1 0 @@ -4909,10 +4909,10 @@ Please login on the host and check output of the commands: 0 - 900 + 600 200 0 - 2 + 1 1 1 0 @@ -4938,8 +4938,8 @@ Please login on the host and check output of the commands: 20 - 500 - 100 + 600 + 200 0 0 1 @@ -4960,8 +4960,8 @@ Please login on the host and check output of the commands: 20 - 500 - 100 + 600 + 200 1 0 1 @@ -4989,7 +4989,7 @@ Please login on the host and check output of the commands: 0 - 900 + 1200 200 0 0 @@ -5011,7 +5011,7 @@ Please login on the host and check output of the commands: 20 - 900 + 1200 200 0 1 @@ -5033,7 +5033,7 @@ Please login on the host and check output of the commands: 0 - 900 + 1200 200 0 2 diff --git a/OS Windows/OS Windows.xml b/OS Windows/OS Windows.xml index d531955..5c5026d 100644 --- a/OS Windows/OS Windows.xml +++ b/OS Windows/OS Windows.xml @@ -1,7 +1,7 @@ 4.2 - 2019-05-29T12:46:31Z + 2019-05-29T15:03:46Z Templates @@ -12554,10 +12554,55 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil - BI - Disk & Network Activity + CPU 2 - 4 - + 2 + + + 0 + 600 + 200 + 0 + 0 + 1 + 1 + 0 + 1 + 1 + + + 0 + 0 + + CPU::*::avg1 + OS Windows + + 3 + + + + 0 + 600 + 100 + 1 + 0 + 1 + 1 + 0 + 1 + 1 + + + 0 + 0 + + CPU Loads + OS Windows + + 3 + + + Volume Usage diff --git a/OS Windows/README.md b/OS Windows/README.md index 0c19cbf..3570664 100644 --- a/OS Windows/README.md +++ b/OS Windows/README.md @@ -9,6 +9,8 @@ Base OS Windows template. - make template zabbix 4.0.x ready by remove using $1-$9 macros in items names - Triggers: - added missing ```SYS::Host is down``` trigger with all necessary dependencies + - Screens: + - Added ```CPU``` screen like in other Os templates - 1.0.4 (2018-06-11) - Triggers: - rename trigger name to the same name as it is in other OS templates diff --git a/README.md b/README.md index 635e991..f2fbae4 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,7 @@ This repository provides a set of templates which offers the alternative set of - "processing queue" and flame like graph with "queued items" - "items totat/unsupported" and "items::nvps" - "items/triggers" and "hosts" +- All graphs in screens resolution have been changed to 1200x200 or 600x200 in case screens with two columns of graphs ### 1.0.4 (2018-06-11) - The first version tagged in git repo to stamp state of templates and tools and to provide better tracking changes by using ```git``` command - The development of the next versions of the templates will continue on devel branch. When all changes are ready devel branch will be merged to master one. It will be way better for those who have interested enough tested template. diff --git a/Service Apache/Service Apache.xml b/Service Apache/Service Apache.xml index 1930e5e..e58aa0c 100644 --- a/Service Apache/Service Apache.xml +++ b/Service Apache/Service Apache.xml @@ -1,7 +1,7 @@ 4.2 - 2019-05-29T14:20:52Z + 2019-05-29T15:03:46Z Templates @@ -20,7 +20,7 @@ Apache service monitoring template using zabbix active agent items. #### Notes: - This template uses apache mod_status metrics -- Macro ```{$HTTP_SERVICE_PROCESS}```: has bee nadded t oallow easy use it on Debian/Ubuntu. Default value is ```http```. On Ubuntu/Debian that value needs to be changed to ```apache2``` +- Macro ```{$HTTP_SERVICE_PROCESS}```: has bee nadded to allow easy use it on Debian/Ubuntu. Default value is ```http```. On Ubuntu/Debian that value needs to be changed to ```apache2``` - To allow use this template in apache configuration must be present: ``` ExtendedStatus On @@ -675,12 +675,12 @@ Possible values: SVC::Apache - 1 - 3 + 2 + 2 0 - 900 + 600 200 0 0 @@ -702,10 +702,10 @@ Possible values: 0 - 900 + 600 200 - 0 - 1 + 1 + 0 1 1 0 @@ -724,10 +724,10 @@ Possible values: 0 - 900 + 600 200 - 0 - 2 + 1 + 1 1 1 0 diff --git a/Service MySQL/Service MySQL.xml b/Service MySQL/Service MySQL.xml index d39fec2..3de4403 100644 --- a/Service MySQL/Service MySQL.xml +++ b/Service MySQL/Service MySQL.xml @@ -1,7 +1,7 @@ 4.2 - 2019-05-29T12:46:32Z + 2019-05-29T15:03:46Z Templates @@ -4934,11 +4934,11 @@ SELECT variable_value FROM information_schema.global_status WHERE variable_name SVC::MySQL::Com 1 - 7 + 6 1 - 900 + 1200 200 0 0 @@ -4960,7 +4960,7 @@ SELECT variable_value FROM information_schema.global_status WHERE variable_name 1 - 900 + 1200 200 0 1 @@ -4982,7 +4982,7 @@ SELECT variable_value FROM information_schema.global_status WHERE variable_name 1 - 900 + 1200 200 0 2 @@ -5004,7 +5004,7 @@ SELECT variable_value FROM information_schema.global_status WHERE variable_name 1 - 900 + 1200 200 0 3 @@ -5026,7 +5026,7 @@ SELECT variable_value FROM information_schema.global_status WHERE variable_name 1 - 900 + 1200 200 0 4 @@ -5048,7 +5048,7 @@ SELECT variable_value FROM information_schema.global_status WHERE variable_name 1 - 900 + 1200 200 0 5 diff --git a/Service Nginx/Service Nginx.xml b/Service Nginx/Service Nginx.xml index faa5ee6..7d43c37 100644 --- a/Service Nginx/Service Nginx.xml +++ b/Service Nginx/Service Nginx.xml @@ -1,7 +1,7 @@ 4.2 - 2019-05-29T12:46:32Z + 2019-05-29T15:03:47Z Templates @@ -1170,8 +1170,8 @@ Generally, the parameter value is the same as accepts unless some resource limit SVC::Nginx - 1 - 4 + 2 + 3 3 @@ -1197,8 +1197,8 @@ Generally, the parameter value is the same as accepts unless some resource limit 0 - 1200 - 300 + 600 + 200 0 1 1 @@ -1219,10 +1219,10 @@ Generally, the parameter value is the same as accepts unless some resource limit 0 - 1200 - 300 - 0 - 2 + 600 + 200 + 1 + 1 1 1 0 @@ -1241,10 +1241,10 @@ Generally, the parameter value is the same as accepts unless some resource limit 0 - 1200 - 300 + 600 + 200 0 - 3 + 2 1 1 0 diff --git a/Service Zabbix Proxy/Service Zabbix Proxy.xml b/Service Zabbix Proxy/Service Zabbix Proxy.xml index 6ea4901..5132d2d 100644 --- a/Service Zabbix Proxy/Service Zabbix Proxy.xml +++ b/Service Zabbix Proxy/Service Zabbix Proxy.xml @@ -1,7 +1,7 @@ 4.2 - 2019-05-29T12:46:32Z + 2019-05-29T15:03:47Z Templates @@ -3179,8 +3179,8 @@ It is calculated for last minute only. 0 - 500 - 100 + 600 + 200 0 0 1 @@ -3201,8 +3201,8 @@ It is calculated for last minute only. 0 - 500 - 100 + 600 + 200 1 0 1 @@ -3223,8 +3223,8 @@ It is calculated for last minute only. 0 - 500 - 100 + 600 + 200 0 1 1 @@ -3245,8 +3245,8 @@ It is calculated for last minute only. 0 - 500 - 100 + 600 + 200 1 1 1 @@ -3267,8 +3267,8 @@ It is calculated for last minute only. 1 - 500 - 100 + 600 + 200 0 2 1 @@ -3289,8 +3289,8 @@ It is calculated for last minute only. 1 - 500 - 100 + 600 + 200 1 2 1 diff --git a/Service Zabbix Server/Service Zabbix Server.xml b/Service Zabbix Server/Service Zabbix Server.xml index 1d2e439..21b1db8 100644 --- a/Service Zabbix Server/Service Zabbix Server.xml +++ b/Service Zabbix Server/Service Zabbix Server.xml @@ -1,7 +1,7 @@ 4.2 - 2019-05-29T12:46:32Z + 2019-05-29T15:03:47Z Templates @@ -3528,8 +3528,8 @@ A high number indicates performance problems on the database side. 0 - 500 - 100 + 600 + 200 0 0 1 @@ -3550,8 +3550,8 @@ A high number indicates performance problems on the database side. 0 - 500 - 100 + 600 + 200 1 0 1 @@ -3572,8 +3572,8 @@ A high number indicates performance problems on the database side. 0 - 500 - 100 + 600 + 200 0 1 1 @@ -3594,8 +3594,8 @@ A high number indicates performance problems on the database side. 0 - 500 - 100 + 600 + 200 1 1 1 @@ -3616,8 +3616,8 @@ A high number indicates performance problems on the database side. 0 - 500 - 100 + 600 + 200 0 2 1 @@ -3638,8 +3638,8 @@ A high number indicates performance problems on the database side. 0 - 500 - 100 + 600 + 200 1 2 1 diff --git a/Service php-fpm/Service php-fpm.xml b/Service php-fpm/Service php-fpm.xml index 075ccd8..b71699c 100644 --- a/Service php-fpm/Service php-fpm.xml +++ b/Service php-fpm/Service php-fpm.xml @@ -1,7 +1,7 @@ 4.2 - 2019-05-29T12:46:32Z + 2019-05-29T15:03:47Z Templates @@ -1159,13 +1159,13 @@ Trying ondemand is on todo list. SVC::php-fpm - 1 - 3 + 2 + 2 0 - 1200 - 300 + 600 + 200 0 0 1 @@ -1186,10 +1186,10 @@ Trying ondemand is on todo list. 0 - 1200 - 300 - 0 - 1 + 600 + 200 + 1 + 0 1 1 0 @@ -1208,10 +1208,10 @@ Trying ondemand is on todo list. 0 - 1200 - 300 + 600 + 200 0 - 2 + 1 1 1 0 From fee4acb90f91b3b46cc9c806d129d7aaff9e49b2 Mon Sep 17 00:00:00 2001 From: Tomasz Kloczko Date: Wed, 29 May 2019 19:11:29 +0100 Subject: [PATCH 28/76] Service Nginx: add use {$NGINX_PORT} macro In "SVC::$1 tcp/$3" item remove hardcoded port 80 and add using {$NGINX_PORT} macro. --- README.md | 3 +++ Service Nginx/README.md | 1 + Service Nginx/Service Nginx.xml | 10 +++++----- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f2fbae4..d78ed71 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,9 @@ This repository provides a set of templates which offers the alternative set of - Triggers: - added ```SYS::Host is down``` - added ```CPU::idle {ITEM.VALUE}``` +- **Service Nginx** + - Items: + - ```SVC::$1 tcp/$3```: add using ```{$NGINX_PORT}``` macro - **Service Zabbix Agent** - Graphs: - new ```HOST::items``` which presents number of host items vs number of unsuppoerted item diff --git a/Service Nginx/README.md b/Service Nginx/README.md index 030deab..6c23bec 100644 --- a/Service Nginx/README.md +++ b/Service Nginx/README.md @@ -21,6 +21,7 @@ Nginx https service monitoring template. This template is using - Items: - make template zabbix 4.0.x ready by remove using $1-$9 macros in items names - new calculated item ```requs_per_conn``` which shows number requests in single connection (```nginx.requests")/last("nginx.requests[handled]```) + - ```SVC::$1 tcp/$3```: add using ```{$NGINX_PORT}``` macro - 1.0.4 (2018-06-11) - Initial version diff --git a/Service Nginx/Service Nginx.xml b/Service Nginx/Service Nginx.xml index 7d43c37..18b1f88 100644 --- a/Service Nginx/Service Nginx.xml +++ b/Service Nginx/Service Nginx.xml @@ -1,7 +1,7 @@ 4.2 - 2019-05-29T15:03:47Z + 2019-05-29T18:07:27Z Templates @@ -48,10 +48,10 @@ Notes: SVC::$1 tcp/$3 - 7 + 3 - net.tcp.service[http,,80] + net.tcp.service[http,,{$NGINX_PORT}] 1m 2w 365d @@ -74,7 +74,7 @@ Notes: - Checking is it possible to connect to tcp/80. + Checking is it possible to connect to tcp/{$NGINX_PORT}. 0 @@ -1269,7 +1269,7 @@ Generally, the parameter value is the same as accepts unless some resource limit - {Service Nginx:net.tcp.service[http,,80].max(#3)}=0 + {Service Nginx:net.tcp.service[http,,{$NGINX_PORT}].max(#3)}=0 0 SVC::http tcp/{$NGINX_PORT} is DOWN From 5c36ad5d8d97e0a1eda6b66b48b7397a2ebcd41c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Wed, 29 May 2019 20:10:59 +0100 Subject: [PATCH 29/76] Service Apache: Introduce macros abstraction like in Nginx template Add using "{$HTTP_SERVICE_PROCESS}", "{$HTTP_SERVICE_PORT}" macros in more places in item names and triggers Rename "net.tcp.service[http,,{$HTTP_SERVICE_PORT}]" key item from "SVC::$1" to "NET::$1" Rename "SVC::Apache tcp/{$HTTP_SERVICE_PORT} is DOWN" trigger to "NET::Apache tcp/{$HTTP_SERVICE_PORT} is DOWN" --- README.md | 13 ++- Service Apache/README.md | 4 + Service Apache/Service Apache.xml | 131 ++---------------------------- 3 files changed, 24 insertions(+), 124 deletions(-) diff --git a/README.md b/README.md index d78ed71..604ca75 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,6 @@ This repository provides a set of templates which offers the alternative set of - interfaces: add to LLD iterator item ```IF-MIB::ifIndex``` and map it to ```{#IFINDEX}``` macro - interfaces: add to all applications, items, triggers anf graphs prototypes names ```[{#IFINDEX}]``` to display physical port number in those names - graphs improvements -- **Service Apache** - - Macro ```{$HTTP_SERVICE_PROCESS}```: has bee nadded to allow easy use it on Debian/Ubuntu. Default value is ```http```. On Ubuntu/Debian that value needs to be changed to ```apache2``` - **Service Nginx** - Graphs: - new ```SVC::Nginx::reqs_per_conn``` @@ -40,8 +38,19 @@ This repository provides a set of templates which offers the alternative set of - Triggers: - added ```SYS::Host is down``` - added ```CPU::idle {ITEM.VALUE}``` +- **Service Apache** + - Add using ```{$HTTP_SERVICE_PROCESS}''', '''{$HTTP_SERVICE_PORT}''' macros in more places in item names and triggers + - Items: + - Make template zabbix 4.0.x ready by remove using $1-$9 macros in items names + - Rename ```net.tcp.service[http,,{$HTTP_SERVICE_PORT}]``` key item from ```SVC::$1``` to ```NET::$1``` + - Macro ```{$HTTP_SERVICE_PROCESS}```: has bee nadded to allow easy use it on Debian/Ubuntu. Default value is ```http```. On Ubuntu/Debian that value needs to be changed to ```apache2``` + - Triggers: + - rename ```SVC::Apache tcp/{$HTTP_SERVICE_PORT} is DOWN``` to ```NET::Apache tcp/{$HTTP_SERVICE_PORT} is DOWN``` - **Service Nginx** + - Graphs: + - new ```SVC::Nginx::reqs_per_conn``` - Items: + - new calculated item ```reqs_per_conn``` which shows number requests in single connection (```nginx.requests")/last("nginx.requests[handled]```) - ```SVC::$1 tcp/$3```: add using ```{$NGINX_PORT}``` macro - **Service Zabbix Agent** - Graphs: diff --git a/Service Apache/README.md b/Service Apache/README.md index 86cdbd3..20ea22c 100644 --- a/Service Apache/README.md +++ b/Service Apache/README.md @@ -18,9 +18,13 @@ ExtendedStatus On ``` #### Changelog: - (devel): + - Add using ```{$HTTP_SERVICE_PROCESS}''', '''{$HTTP_SERVICE_PORT}''' macros in more places in item names and triggers - Items: - Make template zabbix 4.0.x ready by remove using $1-$9 macros in items names + - Rename ```net.tcp.service[http,,{$HTTP_SERVICE_PORT}]``` key item from ```SVC::$1``` to ```NET::$1``` - Macro ```{$HTTP_SERVICE_PROCESS}```: has bee nadded to allow easy use it on Debian/Ubuntu. Default value is ```http```. On Ubuntu/Debian that value needs to be changed to ```apache2``` + - Triggers: + - rename ```SVC::Apache tcp/{$HTTP_SERVICE_PORT} is DOWN``` to ```NET::Apache tcp/{$HTTP_SERVICE_PORT} is DOWN``` - 1.0.4 (2018-06-11) - Graphs: - changed resolution of all graphs to 1200x300 diff --git a/Service Apache/Service Apache.xml b/Service Apache/Service Apache.xml index e58aa0c..f5838f5 100644 --- a/Service Apache/Service Apache.xml +++ b/Service Apache/Service Apache.xml @@ -1,7 +1,7 @@ 4.2 - 2019-05-29T15:03:46Z + 2019-05-29T19:07:58Z Templates @@ -43,8 +43,8 @@ ExtendedStatus On - SVC::$1 - 7 + NET::$1 + 3 net.tcp.service[http,,{$HTTP_SERVICE_PORT}] @@ -103,65 +103,6 @@ ExtendedStatus On 0 - - PROC::$1 - 7 - - - proc.num[httpd] - 30s - 2w - 365d - 0 - 3 - - processes - - - 0 - 0 - - 0 - - - - 0 - - - - - - - 0 - - - SVC::Apache - - - - - - - 3s - - - - 200 - 1 - 0 - - - 0 - 0 - 0 - 0 - - - - 0 - 0 - - PROC::{$HTTP_SERVICE_PROCESS} 7 @@ -700,28 +641,6 @@ Possible values: 3 - - 0 - 600 - 200 - 1 - 0 - 1 - 1 - 0 - 1 - 1 - - - 0 - 0 - - SVC::Apache::processes - Service Apache - - 3 - - 0 600 @@ -752,16 +671,16 @@ Possible values: - {Service Apache:proc.num[httpd].min(#3)}>100 + {Service Apache:net.tcp.service[http,,{$HTTP_SERVICE_PORT}].max(#3)}=0 0 - PROC::httpd::too many processes running ({ITEM.LASTVALUE} processes) + NET::Apache tcp/{$HTTP_SERVICE_PORT} is DOWN 0 0 3 - + Nothing listens on http tcp/{$HTTP_SERVICE_PORT} port or traffic on this port is filtered by firewall. 0 0 @@ -771,23 +690,7 @@ Possible values: {Service Apache:proc.num[{$HTTP_SERVICE_PROCESS}].min(#3)}>100 0 - PROC::httpd::too many processes running ({ITEM.LASTVALUE} processes) - 0 - - - 0 - 3 - - 0 - 0 - - - - - {Service Apache:proc.num[httpd].max(#8)}=0 - 0 - - PROC::httpd is not running + PROC::{$HTTP_SERVICE_PROCESS}::too many processes running ({ITEM.LASTVALUE} processes) 0 @@ -803,7 +706,7 @@ Possible values: {Service Apache:proc.num[{$HTTP_SERVICE_PROCESS}].max(#8)}=0 0 - PROC::httpd is not running + PROC::{$HTTP_SERVICE_PROCESS} is not running 0 @@ -815,22 +718,6 @@ Possible values: - - {Service Apache:net.tcp.service[http,,{$HTTP_SERVICE_PORT}].max(#3)}=0 - 0 - - SVC::http tcp/{$HTTP_SERVICE_PORT} is DOWN - 0 - - - 0 - 3 - Nothing listens on http tcp/{$HTTP_SERVICE_PORT} port or traffic on this port is filtered by firewall. - 0 - 0 - - - @@ -860,7 +747,7 @@ Possible values: 0 Service Apache - proc.num[httpd] + proc.num[{$HTTP_SERVICE_PROCESS}] From 327de40ca0a02f2a602256c01c3654e58a809c08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Wed, 29 May 2019 21:48:12 +0100 Subject: [PATCH 30/76] OS Solaris: copy set of 6 NET LLD items prototypes from OS Linux Copy the same set of 6 NET item LLD prototypes as in "OS Linux" template to cover monitoring in/out traffic in packets and bytes and errors and dropped packets as well. --- OS Solaris/OS Solaris.xml | 388 +++++++++++++++++++++++++++++++++++--- OS Solaris/README.md | 7 +- README.md | 4 + 3 files changed, 374 insertions(+), 25 deletions(-) diff --git a/OS Solaris/OS Solaris.xml b/OS Solaris/OS Solaris.xml index 908ea46..d05edb7 100644 --- a/OS Solaris/OS Solaris.xml +++ b/OS Solaris/OS Solaris.xml @@ -1,7 +1,7 @@ 4.2 - 2019-05-29T15:03:46Z + 2019-05-29T20:33:08Z Templates @@ -3029,11 +3029,11 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru listDiscovery of network interfaces. - $1::in + $1::in::bytes 7 - net.if.in[{#IFNAME}] + net.if.in[{#IFNAME},bytes] 30s 2w 365d @@ -3056,13 +3056,9 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list - + Incoming traffic statistics on network interface in bytes. 0 - - - NET - - + @@ -3098,15 +3094,79 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list 0 0 - + + + NET::{#IFNAME} + + + + + + {#IFNAME}::in::packets + 7 + + + net.if.in[{#IFNAME},packets] + 15s + 2w + 365d + 0 + 3 + + pakets/s + + + 0 + 0 + + 0 + + + + 0 + + + + + + + 0 + + + + + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 + + + NET::{#IFNAME} + + - $1::out + $1::out::bytes 7 - net.if.out[{#IFNAME}] + net.if.out[{#IFNAME},bytes] 30s 2w 365d @@ -3129,13 +3189,9 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list - + Outgoing traffic statistics on network interface in bytes. 0 - - - NET - - + @@ -3171,7 +3227,191 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list 0 0 - + + + NET::{#IFNAME} + + + + + + {#IFNAME}::out::packets + 7 + + + net.if.out[{#IFNAME},packets] + 15s + 2w + 365d + 0 + 3 + + pakets/s + + + 0 + 0 + + 0 + + + + 0 + + + + + + + 0 + + + + + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 + + + NET::{#IFNAME} + + + + + + {#IFNAME}::total::dropped + 7 + + + net.if.total[{#IFNAME},dropped] + 1m + 2w + 365d + 0 + 3 + + packets/s + + + 0 + 0 + + 0 + + + + 0 + + + + + + Sum of incoming and outgoing traffic statistics on network interface - dropped packets. + 0 + + + + + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 + + + NET::{#IFNAME} + + + + + + $1::total::errors + 7 + + + net.if.total[{#IFNAME},errors] + 1m + 2w + 365d + 0 + 3 + + err/s + + + 0 + 0 + + 0 + + + + 0 + + + + + + Sum of incoming and outgoing traffic statistics on network interface. Number of errors. + 0 + + + + + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 + + + NET::{#IFNAME} + + @@ -3204,7 +3444,7 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list0 OS Solaris - net.if.in[{#IFNAME}] + net.if.in[{#IFNAME},bytes] @@ -3216,7 +3456,7 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list0 OS Solaris - net.if.out[{#IFNAME}] + net.if.out[{#IFNAME},bytes] @@ -3248,7 +3488,7 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list0 OS Solaris - net.if.in[{#IFNAME}] + net.if.in[{#IFNAME},bytes] @@ -3260,7 +3500,7 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list0 OS Solaris - net.if.out[{#IFNAME}] + net.if.out[{#IFNAME},bytes] @@ -4982,6 +5222,108 @@ Please login on the host and check output of the commands: + + MEM + 1 + 1 + + + 0 + 1200 + 200 + 0 + 0 + 1 + 1 + 0 + 1 + 1 + + + 0 + 0 + + MEM + OS Solaris + + 3 + + + + + + NET + 2 + 2 + + + 0 + 600 + 200 + 0 + 0 + 1 + 1 + 0 + 1 + 1 + + + 0 + 0 + + NET::ICMP + OS Solaris + + 3 + + + + 0 + 600 + 200 + 1 + 0 + 1 + 1 + 0 + 1 + 1 + + + 0 + 0 + + NET::ICMP::latency + OS Solaris + + 3 + + + + 20 + 600 + 200 + 0 + 1 + 1 + 1 + 0 + 1 + 1 + + + 0 + 0 + + NIC::{#IFNAME}::bytes + OS Solaris + + 1 + + + + ZFS 1 diff --git a/OS Solaris/README.md b/OS Solaris/README.md index d42ea30..2fa9d4b 100644 --- a/OS Solaris/README.md +++ b/OS Solaris/README.md @@ -7,9 +7,12 @@ Base OS Solaris monitoring. - (devel): - Items: - make template zabbix 4.0.x ready by remove using $1-$9 macros in items names + - copy the same set of 6 NET item LLD prototypes as in ```OS Linux``` template + to cover monitoring in/out traffic in packets and bytes and errors and dropped + packets as well - Triggers: - - added ```SYS::Host is down``` - - added ```CPU::idle {ITEM.VALUE}``` + - Added ```SYS::Host is down``` + - Added ```CPU::idle {ITEM.VALUE}``` - 1.0.4 (2018-06-11) - Triggers: - fixed typo in trigger name s/SYS:uname changed/```SYS::uname changed```/ diff --git a/README.md b/README.md index 604ca75..58fe2bc 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,10 @@ This repository provides a set of templates which offers the alternative set of - Triggers: - added ```SYS::Host is down``` - added ```CPU::idle {ITEM.VALUE}``` + - Items: + - copy the same set of 6 NET item LLD prototypes as in ```OS Linux``` template + to cover monitoring in/out traffic in packets and bytes and errors and dropped + packets as well - **Service Apache** - Add using ```{$HTTP_SERVICE_PROCESS}''', '''{$HTTP_SERVICE_PORT}''' macros in more places in item names and triggers - Items: From 6034b61702e6aa75719e29cc9b3b829a41dd7cff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Thu, 30 May 2019 13:00:04 +0100 Subject: [PATCH 31/76] Restore SVC::Apache::processes graph on the main scree. Looks like by mistake on rearanging graphs to two columns screen I've deleted one graph. --- Service Apache/Service Apache.xml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/Service Apache/Service Apache.xml b/Service Apache/Service Apache.xml index f5838f5..35854c4 100644 --- a/Service Apache/Service Apache.xml +++ b/Service Apache/Service Apache.xml @@ -1,7 +1,7 @@ 4.2 - 2019-05-29T19:07:58Z + 2019-05-30T11:58:50Z Templates @@ -641,6 +641,28 @@ Possible values: 3 + + 0 + 600 + 200 + 1 + 0 + 1 + 1 + 0 + 1 + 1 + + + 0 + 0 + + SVC::Apache::processes + Service Apache + + 3 + + 0 600 From 0e8e07401665d7053032a90192e5cb99bee1294f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Fri, 31 May 2019 17:35:39 +0100 Subject: [PATCH 32/76] Service Apache: Rename all {$APACHE_SERVICE_*} macros to {$SVC_APACHE_*} This provides exactly tehe same pattern of the macros names as it is already implemented in "Service php-fpm" template. I'm going to use the same pattern in all other "Service " templates. --- README.md | 5 +++- Service Apache/README.md | 17 ++++++++--- Service Apache/Service Apache.xml | 48 +++++++++++++++---------------- 3 files changed, 41 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 58fe2bc..ed77561 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,10 @@ This repository provides a set of templates which offers the alternative set of to cover monitoring in/out traffic in packets and bytes and errors and dropped packets as well - **Service Apache** - - Add using ```{$HTTP_SERVICE_PROCESS}''', '''{$HTTP_SERVICE_PORT}''' macros in more places in item names and triggers + - Macros: + - Rename all ```{$APACHE_SERVICE_*}``` macros to ```{$SVC_APACHE_*}``` + - Macro ```{$SVC_APACHE_PROCESS}```: has bee nadded to allow easy use it on Debian/Ubuntu. Default value is ```http```. On Ubuntu/Debian that value needs to be changed to ```apache2``` + - Add using ```{$SVC_APACHE_PROCESS}''', '''{$SVC_SVC_PORT}''' macros in more places in item names and triggers - Items: - Make template zabbix 4.0.x ready by remove using $1-$9 macros in items names - Rename ```net.tcp.service[http,,{$HTTP_SERVICE_PORT}]``` key item from ```SVC::$1``` to ```NET::$1``` diff --git a/Service Apache/README.md b/Service Apache/README.md index 20ea22c..e915c1c 100644 --- a/Service Apache/README.md +++ b/Service Apache/README.md @@ -3,6 +3,13 @@ #### Description: Apache service monitoring template using zabbix active agent items. +#### Macros used by template: + +| Macro | Default value | Description | +| :-------------------- | :------------------ | :-------------------------------------------------- | +| {$SVC_APACHE_PORT} | 80 | TCP port | +| {$SVC_APACHE_PROCESS} | http | non-root user used by workers Apache processes | + #### Notes: - This template uses apache mod_status metrics - When this template is used on Ubuntu/Debian please change the host macro value ```{$HTTP_SERVICE_PROCESS}``` to ```apache2``` @@ -18,13 +25,15 @@ ExtendedStatus On ``` #### Changelog: - (devel): - - Add using ```{$HTTP_SERVICE_PROCESS}''', '''{$HTTP_SERVICE_PORT}''' macros in more places in item names and triggers + - Macros: + - Rename all ```{$APACHE_SERVICE_*}``` macros to ```{$SVC_APACHE_*}``` + - Macro ```{$SVC_APACHE_PROCESS}```: has bee nadded to allow easy use it on Debian/Ubuntu. Default value is ```http```. On Ubuntu/Debian that value needs to be changed to ```apache2``` + - Add using ```{$SVC_APACHE_PROCESS}''', '''{$SVC_SVC_PORT}''' macros in more places in item names and triggers - Items: - Make template zabbix 4.0.x ready by remove using $1-$9 macros in items names - - Rename ```net.tcp.service[http,,{$HTTP_SERVICE_PORT}]``` key item from ```SVC::$1``` to ```NET::$1``` - - Macro ```{$HTTP_SERVICE_PROCESS}```: has bee nadded to allow easy use it on Debian/Ubuntu. Default value is ```http```. On Ubuntu/Debian that value needs to be changed to ```apache2``` + - Rename ```net.tcp.service[http,,{$SVC_APACHE_PORT}]``` key item from ```SVC::$1``` to ```NET::$1``` - Triggers: - - rename ```SVC::Apache tcp/{$HTTP_SERVICE_PORT} is DOWN``` to ```NET::Apache tcp/{$HTTP_SERVICE_PORT} is DOWN``` + - rename ```SVC::Apache tcp/{$SVC_APACHE_PORT} is DOWN``` to ```NET::Apache tcp/{$SVC_APACHE_PORT} is DOWN``` - 1.0.4 (2018-06-11) - Graphs: - changed resolution of all graphs to 1200x300 diff --git a/Service Apache/Service Apache.xml b/Service Apache/Service Apache.xml index 35854c4..11129d8 100644 --- a/Service Apache/Service Apache.xml +++ b/Service Apache/Service Apache.xml @@ -1,7 +1,7 @@ 4.2 - 2019-05-30T11:58:50Z + 2019-05-30T17:23:42Z Templates @@ -47,7 +47,7 @@ ExtendedStatus On 3 - net.tcp.service[http,,{$HTTP_SERVICE_PORT}] + net.tcp.service[http,,{$SVC_APACHE_PORT}] 1m 2w 365d @@ -104,11 +104,11 @@ ExtendedStatus On - PROC::{$HTTP_SERVICE_PROCESS} + PROC::{$SVC_APACHE_PROCESS} 7 - proc.num[{$HTTP_SERVICE_PROCESS}] + proc.num[{$SVC_APACHE_PROCESS}] 30s 2w 365d @@ -167,7 +167,7 @@ ExtendedStatus On 7 - web.page.regexp[localhost,server-status?auto,{$HTTP_SERVICE_PORT},"BusyWorkers: ([0-9]+)",,\1] + web.page.regexp[localhost,server-status?auto,{$SVC_APACHE_PORT},"BusyWorkers: ([0-9]+)",,\1] 30s 2w 365d @@ -226,7 +226,7 @@ ExtendedStatus On 7 - web.page.regexp[localhost,server-status?auto,{$HTTP_SERVICE_PORT},"IdleWorkers: ([0-9]+)",,\1] + web.page.regexp[localhost,server-status?auto,{$SVC_APACHE_PORT},"IdleWorkers: ([0-9]+)",,\1] 30s 2w 365d @@ -285,7 +285,7 @@ ExtendedStatus On 7 - web.page.regexp[localhost,server-status?auto,{$HTTP_SERVICE_PORT},"ServerMPM: (.+)",,\1] + web.page.regexp[localhost,server-status?auto,{$SVC_APACHE_PORT},"ServerMPM: (.+)",,\1] 30s 2w 0 @@ -348,7 +348,7 @@ Possible values: 7 - web.page.regexp[localhost,server-status?auto,{$HTTP_SERVICE_PORT},"ServerUptimeSeconds: ([0-9]+)",,\1] + web.page.regexp[localhost,server-status?auto,{$SVC_APACHE_PORT},"ServerUptimeSeconds: ([0-9]+)",,\1] 5m 2w 365d @@ -407,7 +407,7 @@ Possible values: 7 - web.page.regexp[localhost,server-status?auto,{$HTTP_SERVICE_PORT},"ServerVersion: (.+)",,\1] + web.page.regexp[localhost,server-status?auto,{$SVC_APACHE_PORT},"ServerVersion: (.+)",,\1] 30s 2w 0 @@ -466,7 +466,7 @@ Possible values: 7 - web.page.regexp[localhost,server-status?auto,{$HTTP_SERVICE_PORT},"Total Accesses: ([0-9]+)",,\1] + web.page.regexp[localhost,server-status?auto,{$SVC_APACHE_PORT},"Total Accesses: ([0-9]+)",,\1] 30s 2w 365d @@ -532,7 +532,7 @@ Possible values: 7 - web.page.regexp[localhost,server-status?auto,{$HTTP_SERVICE_PORT},"Total kBytes: ([0-9]+)",,\1] + web.page.regexp[localhost,server-status?auto,{$SVC_APACHE_PORT},"Total kBytes: ([0-9]+)",,\1] 30s 2w 365d @@ -604,11 +604,11 @@ Possible values: - {$HTTP_SERVICE_PORT} + {$SVC_APACHE_PORT} 80 - {$HTTP_SERVICE_PROCESS} + {$SVC_APACHE_PROCESS} httpd @@ -693,26 +693,26 @@ Possible values: - {Service Apache:net.tcp.service[http,,{$HTTP_SERVICE_PORT}].max(#3)}=0 + {Service Apache:net.tcp.service[http,,{$SVC_APACHE_PORT}].max(#3)}=0 0 - NET::Apache tcp/{$HTTP_SERVICE_PORT} is DOWN + NET::Apache tcp/{$SVC_APACHE_PORT} is DOWN 0 0 3 - Nothing listens on http tcp/{$HTTP_SERVICE_PORT} port or traffic on this port is filtered by firewall. + Nothing listens on http tcp/{$SVC_APACHE_PORT} port or traffic on this port is filtered by firewall. 0 0 - {Service Apache:proc.num[{$HTTP_SERVICE_PROCESS}].min(#3)}>100 + {Service Apache:proc.num[{$SVC_APACHE_PROCESS}].min(#3)}>100 0 - PROC::{$HTTP_SERVICE_PROCESS}::too many processes running ({ITEM.LASTVALUE} processes) + PROC::{$SVC_APACHE_PROCESS}::too many processes running ({ITEM.LASTVALUE} processes) 0 @@ -725,10 +725,10 @@ Possible values: - {Service Apache:proc.num[{$HTTP_SERVICE_PROCESS}].max(#8)}=0 + {Service Apache:proc.num[{$SVC_APACHE_PROCESS}].max(#8)}=0 0 - PROC::{$HTTP_SERVICE_PROCESS} is not running + PROC::{$SVC_APACHE_PROCESS} is not running 0 @@ -769,7 +769,7 @@ Possible values: 0 Service Apache - proc.num[{$HTTP_SERVICE_PROCESS}] + proc.num[{$SVC_APACHE_PROCESS}] @@ -801,7 +801,7 @@ Possible values: 0 Service Apache - web.page.regexp[localhost,server-status?auto,{$HTTP_SERVICE_PORT},"Total Accesses: ([0-9]+)",,\1] + web.page.regexp[localhost,server-status?auto,{$SVC_APACHE_PORT},"Total Accesses: ([0-9]+)",,\1] @@ -833,7 +833,7 @@ Possible values: 0 Service Apache - web.page.regexp[localhost,server-status?auto,{$HTTP_SERVICE_PORT},"BusyWorkers: ([0-9]+)",,\1] + web.page.regexp[localhost,server-status?auto,{$SVC_APACHE_PORT},"BusyWorkers: ([0-9]+)",,\1] @@ -845,7 +845,7 @@ Possible values: 0 Service Apache - web.page.regexp[localhost,server-status?auto,{$HTTP_SERVICE_PORT},"IdleWorkers: ([0-9]+)",,\1] + web.page.regexp[localhost,server-status?auto,{$SVC_APACHE_PORT},"IdleWorkers: ([0-9]+)",,\1] From f894d932f8b8223eabcd4c074e0ba24b79de4fc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Fri, 31 May 2019 18:06:33 +0100 Subject: [PATCH 33/76] Service Nginx: rename all all {$NGINX_*} macros to {$SVC_NGINX_*} Provide the same abstraction as in Apache pndhp-pfm templates. Added {$SVC_NGINX_PROCESS} macro with default value "nginx". Added note in template description and and README.md athat on using this template on Debian/Ubuntu {$SVC_NGINX_USER} macro value needs to be changed to "www-data". --- README.md | 9 ++--- Service Nginx/README.md | 38 +++++++++-------- Service Nginx/Service Nginx.xml | 72 +++++++++++++++++---------------- 3 files changed, 62 insertions(+), 57 deletions(-) diff --git a/README.md b/README.md index ed77561..6cc4279 100644 --- a/README.md +++ b/README.md @@ -23,11 +23,6 @@ This repository provides a set of templates which offers the alternative set of - interfaces: add to LLD iterator item ```IF-MIB::ifIndex``` and map it to ```{#IFINDEX}``` macro - interfaces: add to all applications, items, triggers anf graphs prototypes names ```[{#IFINDEX}]``` to display physical port number in those names - graphs improvements -- **Service Nginx** - - Graphs: - - new ```SVC::Nginx::reqs_per_conn``` - - Items: - - new calculated item ```reqs_per_conn``` which shows number requests in single connection (```nginx.requests")/last("nginx.requests[handled]```) - **OS Windows** - Triggers: - added missing ```SYS::Host is down``` trigger with all necessary dependencies @@ -54,11 +49,13 @@ This repository provides a set of templates which offers the alternative set of - Triggers: - rename ```SVC::Apache tcp/{$HTTP_SERVICE_PORT} is DOWN``` to ```NET::Apache tcp/{$HTTP_SERVICE_PORT} is DOWN``` - **Service Nginx** + - Macros: + - Rename ```{$NGINX_*}``` macros to ```{$SVC_NGINX_*}``` + - Added ```{$SVC_NGINX_USER}``` macro to allow use this template on Debian/Ubuntu as well - Graphs: - new ```SVC::Nginx::reqs_per_conn``` - Items: - new calculated item ```reqs_per_conn``` which shows number requests in single connection (```nginx.requests")/last("nginx.requests[handled]```) - - ```SVC::$1 tcp/$3```: add using ```{$NGINX_PORT}``` macro - **Service Zabbix Agent** - Graphs: - new ```HOST::items``` which presents number of host items vs number of unsuppoerted item diff --git a/Service Nginx/README.md b/Service Nginx/README.md index 6c23bec..45c27cf 100644 --- a/Service Nginx/README.md +++ b/Service Nginx/README.md @@ -7,26 +7,17 @@ Nginx https service monitoring template. This template is using #### Macros used by template: -| Macro | Default value | Description | -| :----------------- | :------------------ | :-------------------------------------------------- | -| {$NGINX_HOST} | localhost | Hostname of the nginx service | -| {$NGINX_PORT} | 80 | TCP port | -| {$NGINX_STATS_URI} | /stub_status | URI adderss of the status_stub page | -| {$NGINX_USER} | nginx | nginx non-root user used by workers nginx processes | - -#### Changelog: -- (devel): - - Graphs: - - new ```SVC::Nginx::reqs_per_conn``` - - Items: - - make template zabbix 4.0.x ready by remove using $1-$9 macros in items names - - new calculated item ```requs_per_conn``` which shows number requests in single connection (```nginx.requests")/last("nginx.requests[handled]```) - - ```SVC::$1 tcp/$3```: add using ```{$NGINX_PORT}``` macro -- 1.0.4 (2018-06-11) - - Initial version +| Macro | Default value | Description | +| :--------------------- | :------------------ | :-------------------------------------------------- | +| {$SVC_NGINX_HOST} | localhost | Hostname of the nginx service | +| {$SVC_NGINX_PORT} | 80 | TCP port | +| {$SVC_NGINX_PROCESS} | nginx | nginx non-root user used by workers nginx processes | +| {$SVC_NGINX_STATS_URI} | /stub_status | URI adderss of the status_stub page | +| {$SVC_NGINX_USER} | nginx | nginx non-root user used by workers nginx processes | #### Notes: - This template uses nginx stub_status loadable module metrics +- On Debian/Ubuntu change ```{$SVC_NGINX_USER}``` macro value to ```www-data``` - To use this template add nginx.conf configuration file: ``` location /stub_status { @@ -37,3 +28,16 @@ Nginx https service monitoring template. This template is using deny all; } ``` +#### Changelog: +- (devel): + - Macros: + - Rename ```{$NGINX_*}``` macros to ```{$SVC_NGINX_*}``` + - Added ```{$SVC_NGINX_USER}``` macro to allow use this template on Debian/Ubuntu as well + - Graphs: + - new ```SVC::Nginx::reqs_per_conn``` + - Items: + - make template zabbix 4.0.x ready by remove using $1-$9 macros in items names + - new calculated item ```requs_per_conn``` which shows number requests in single connection (```nginx.requests")/last("nginx.requests[handled]```) + - ```SVC::$1 tcp/$3```: add using ```{$SVC_NGINX_PORT}``` macro +- 1.0.4 (2018-06-11) + - Initial version diff --git a/Service Nginx/Service Nginx.xml b/Service Nginx/Service Nginx.xml index 18b1f88..b8e9950 100644 --- a/Service Nginx/Service Nginx.xml +++ b/Service Nginx/Service Nginx.xml @@ -1,7 +1,7 @@ 4.2 - 2019-05-29T18:07:27Z + 2019-05-30T17:06:11Z Templates @@ -16,19 +16,19 @@ Version: 1.0.4 (2018-06-11) URL: https://github.com/kloczek/zabbix-templates/tree/master/Service%20Nginx -Notes: -* The ngx_http_stub_status_module module provides access to basic status information. - +#### Notes: - This template uses nginx stub_status loadable module metrics +- On Debian/Ubuntu change ```{$NGINX_USER}``` macro value to ```www-data``` - To use this template add nginx.conf configuration file: - +``` location /stub_status { stub_status on; # do not log query for stats in access log access_log off; allow 127.0.0.1; deny all; - } + } +``` Templates @@ -48,10 +48,10 @@ Notes: SVC::$1 tcp/$3 - 3 + 7 - net.tcp.service[http,,{$NGINX_PORT}] + net.tcp.service[{$SVC_NGINX_PROCESS},,{$SVC_NGINX_PORT}] 1m 2w 365d @@ -74,7 +74,7 @@ Notes: - Checking is it possible to connect to tcp/{$NGINX_PORT}. + Checking is it possible to connect to tcp/{$SVC_NGINX_PORT}. 0 @@ -181,7 +181,7 @@ This doesn’t mean number of users. A single user, for a single pageview can op 0 0 - web.page.get[{$NGINX_HOST},{$NGINX_STATS_URI},{$NGINX_PORT}] + web.page.get[{$SVC_NGINX_HOST},{$SVC_NGINX_STATS_URI},{$NGINX_PORT}] @@ -257,7 +257,7 @@ This doesn’t mean number of users. A single user, for a single pageview can op 0 0 - web.page.get[{$NGINX_HOST},{$NGINX_STATS_URI},{$NGINX_PORT}] + web.page.get[{$SVC_NGINX_HOST},{$SVC_NGINX_STATS_URI},{$NGINX_PORT}] @@ -340,7 +340,7 @@ http://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_timeout0 0 - web.page.get[{$NGINX_HOST},{$NGINX_STATS_URI},{$NGINX_PORT}] + web.page.get[{$SVC_NGINX_HOST},{$SVC_NGINX_STATS_URI},{$NGINX_PORT}] @@ -416,7 +416,7 @@ http://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_timeout0 0 - web.page.get[{$NGINX_HOST},{$NGINX_STATS_URI},{$NGINX_PORT}] + web.page.get[{$SVC_NGINX_HOST},{$SVC_NGINX_STATS_URI},{$NGINX_PORT}] @@ -498,7 +498,7 @@ http://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_timeout0 0 - web.page.get[{$NGINX_HOST},{$NGINX_STATS_URI},{$NGINX_PORT}] + web.page.get[{$SVC_NGINX_HOST},{$SVC_NGINX_STATS_URI},{$NGINX_PORT}] @@ -580,7 +580,7 @@ http://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_timeout0 0 - web.page.get[{$NGINX_HOST},{$NGINX_STATS_URI},{$NGINX_PORT}] + web.page.get[{$SVC_NGINX_HOST},{$SVC_NGINX_STATS_URI},{$NGINX_PORT}] @@ -670,7 +670,7 @@ Generally, the parameter value is the same as accepts unless some resource limit 0 0 - web.page.get[{$NGINX_HOST},{$NGINX_STATS_URI},{$NGINX_PORT}] + web.page.get[{$SVC_NGINX_HOST},{$SVC_NGINX_STATS_URI},{$NGINX_PORT}] @@ -737,7 +737,7 @@ Generally, the parameter value is the same as accepts unless some resource limit 7 - proc.mem[nginx,root,] + proc.mem[{$SVC_NGINX_PROCESS},root,] 30s 2w 365d @@ -796,7 +796,7 @@ Generally, the parameter value is the same as accepts unless some resource limit 7 - proc.mem[nginx,{$NGINX_USER},sum] + proc.mem[{$SVC_NGINX_PROCESS},{$SVC_NGINX_USER},sum] 30s 2w 365d @@ -855,7 +855,7 @@ Generally, the parameter value is the same as accepts unless some resource limit 7 - proc.mem[nginx] + proc.mem[{$SVC_NGINX_PROCESS}] 30s 2w 365d @@ -914,7 +914,7 @@ Generally, the parameter value is the same as accepts unless some resource limit 7 - proc.num[nginx,root] + proc.num[{$SVC_NGINX_PROCESS},root] 1m 2w 365d @@ -973,7 +973,7 @@ Generally, the parameter value is the same as accepts unless some resource limit 7 - proc.num[nginx,{$NGINX_USER}] + proc.num[{$SVC_NGINX_PROCESS},{$SVC_NGINX_USER}] 1m 2w 365d @@ -1091,7 +1091,7 @@ Generally, the parameter value is the same as accepts unless some resource limit 7 - web.page.get[{$NGINX_HOST},{$NGINX_STATS_URI},{$NGINX_PORT}] + web.page.get[{$SVC_NGINX_HOST},{$SVC_NGINX_STATS_URI},{$NGINX_PORT}] 30s 0d 0 @@ -1150,19 +1150,23 @@ Generally, the parameter value is the same as accepts unless some resource limit - {$NGINX_HOST} + {$SVC_NGINX_HOST} localhost - {$NGINX_PORT} + {$SVC_NGINX_PORT} 80 - {$NGINX_STATS_URI} + {$SVC_NGINX_PROCESS} + nginx + + + {$SVC_NGINX_STATS_URI} /stub_status - {$NGINX_USER} + {$SVC_NGINX_USER} nginx @@ -1269,23 +1273,23 @@ Generally, the parameter value is the same as accepts unless some resource limit - {Service Nginx:net.tcp.service[http,,{$NGINX_PORT}].max(#3)}=0 + {Service Nginx:net.tcp.service[{$SVC_NGINX_PROCESS},,{$SVC_NGINX_PORT}].max(#3)}=0 0 - SVC::http tcp/{$NGINX_PORT} is DOWN + SVC::http tcp/{$SVC_NGINX_PORT} is DOWN 0 0 3 - Nothing listens on http tcp/{$NGINX_PORT} port or traffic on this port is filtered by firewall. + Nothing listens on http tcp/{$SVC_NGINX_PORT} port or traffic on this port is filtered by firewall. 0 0 - {Service Nginx:proc.num[nginx,root].last()}=0 + {Service Nginx:proc.num[{$SVC_NGINX_PROCESS},root].last()}=0 0 SVC::nginx::master process is DOWN @@ -1302,7 +1306,7 @@ Please confirm the state. - {Service Nginx:proc.num[nginx,{$NGINX_USER}].avg(#3)}=0 + {Service Nginx:proc.num[{$SVC_NGINX_PROCESS},{$SVC_NGINX_USER}].avg(#3)}=0 0 SVC::nginx::workers DOWN @@ -1318,7 +1322,7 @@ Please confirm the state. SVC::nginx::master process is DOWN - {Service Nginx:proc.num[nginx,root].last()}=0 + {Service Nginx:proc.num[{$SVC_NGINX_PROCESS},root].last()}=0 @@ -1421,7 +1425,7 @@ Please confirm the state. 0 Service Nginx - proc.mem[nginx,root,] + proc.mem[{$SVC_NGINX_PROCESS},root,] @@ -1433,7 +1437,7 @@ Please confirm the state. 0 Service Nginx - proc.mem[nginx,{$NGINX_USER},sum] + proc.mem[{$SVC_NGINX_PROCESS},{$SVC_NGINX_USER},sum] From a0d4fce0caf703d96fccd396af4c8ae21013e221 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Sat, 1 Jun 2019 20:06:07 +0100 Subject: [PATCH 34/76] OS Solaris: Add all NET: LLD items LLD to NET Application --- OS Solaris/OS Solaris.xml | 38 +++++++++++++++++++++++++++++++------- 1 file changed, 31 insertions(+), 7 deletions(-) diff --git a/OS Solaris/OS Solaris.xml b/OS Solaris/OS Solaris.xml index d05edb7..3e3a9dc 100644 --- a/OS Solaris/OS Solaris.xml +++ b/OS Solaris/OS Solaris.xml @@ -1,7 +1,7 @@ 4.2 - 2019-05-29T20:33:08Z + 2019-06-01T19:05:22Z Templates @@ -3058,7 +3058,11 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list Incoming traffic statistics on network interface in bytes. 0 - + + + NET + + @@ -3131,7 +3135,11 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list 0 - + + + NET + + @@ -3191,7 +3199,11 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list Outgoing traffic statistics on network interface in bytes. 0 - + + + NET + + @@ -3264,7 +3276,11 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list 0 - + + + NET + + @@ -3324,7 +3340,11 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list Sum of incoming and outgoing traffic statistics on network interface - dropped packets. 0 - + + + NET + + @@ -3384,7 +3404,11 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list Sum of incoming and outgoing traffic statistics on network interface. Number of errors. 0 - + + + NET + + From 2b2cfb614643303f0dd7bdf6860e2ff12690e3ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Sat, 1 Jun 2019 21:37:50 +0100 Subject: [PATCH 35/76] OS Solaris: changed "VOL:" LLD Application from VOL to per volume VOL::{#FSNAME} Provide per volume grouping metric in "Last data" view list by move from fixed "VOL" Application to per volume "VOL::{#FSNAME}". Added "VOL:" LLD items descriptions. --- OS Solaris/OS Solaris.xml | 44 +++++++++++++++++++-------------------- OS Solaris/README.md | 2 ++ README.md | 2 ++ 3 files changed, 26 insertions(+), 22 deletions(-) diff --git a/OS Solaris/OS Solaris.xml b/OS Solaris/OS Solaris.xml index 3e3a9dc..952ca4e 100644 --- a/OS Solaris/OS Solaris.xml +++ b/OS Solaris/OS Solaris.xml @@ -1,7 +1,7 @@ 4.2 - 2019-06-01T19:05:22Z + 2019-06-01T20:28:48Z Templates @@ -4843,13 +4843,9 @@ Please login on the host and check output of the commands: - + Percent used volume space. 0 - - - VOL - - + @@ -4872,7 +4868,11 @@ Please login on the host and check output of the commands: 0 0 - + + + VOL::{#FSNAME} + + @@ -4903,13 +4903,9 @@ Please login on the host and check output of the commands: - + Volume total space. 0 - - - VOL - - + @@ -4932,7 +4928,11 @@ Please login on the host and check output of the commands: 0 0 - + + + VOL::{#FSNAME} + + @@ -4963,13 +4963,9 @@ Please login on the host and check output of the commands: - + Volume used space. 0 - - - VOL - - + @@ -4992,7 +4988,11 @@ Please login on the host and check output of the commands: 0 0 - + + + VOL::{#FSNAME} + + diff --git a/OS Solaris/README.md b/OS Solaris/README.md index 2fa9d4b..26c1b54 100644 --- a/OS Solaris/README.md +++ b/OS Solaris/README.md @@ -10,6 +10,8 @@ Base OS Solaris monitoring. - copy the same set of 6 NET item LLD prototypes as in ```OS Linux``` template to cover monitoring in/out traffic in packets and bytes and errors and dropped packets as well + - changed ```VOL:``` LLD tems Application from fixed ```VOL``` to per volume ```VOL::{#FSNAME}``` + and added LLD VOL items descriptions - Triggers: - Added ```SYS::Host is down``` - Added ```CPU::idle {ITEM.VALUE}``` diff --git a/README.md b/README.md index 6cc4279..826ec16 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,8 @@ This repository provides a set of templates which offers the alternative set of - copy the same set of 6 NET item LLD prototypes as in ```OS Linux``` template to cover monitoring in/out traffic in packets and bytes and errors and dropped packets as well + - changed ```VOL:``` LLD items Application from fixed ```VOL``` to per volume ```VOL::{#FSNAME}``` + and added LLD VOL items descriptions - **Service Apache** - Macros: - Rename all ```{$APACHE_SERVICE_*}``` macros to ```{$SVC_APACHE_*}``` From a5aceac8a592fdd74112f818563cae681438c329 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Sat, 1 Jun 2019 22:03:58 +0100 Subject: [PATCH 36/76] OS Linux: VOL: and NET: LLDs items Application changed to prototype "VOL:" LLD items fixed Application "VOL" changed to per volume "VOL::{#FSNAME}". "NET:" LLD items fixed Application "NET" changed to per interface "NET::{#FSNAME}". So now is the same type of view in "Last data" list like on OS Solaris and IF-MIB templates. --- OS Linux/OS Linux.xml | 148 +++++++++++++++++++++--------------------- OS Linux/README.md | 2 + README.md | 3 + 3 files changed, 79 insertions(+), 74 deletions(-) diff --git a/OS Linux/OS Linux.xml b/OS Linux/OS Linux.xml index 39b4e2b..9530e03 100644 --- a/OS Linux/OS Linux.xml +++ b/OS Linux/OS Linux.xml @@ -1,7 +1,7 @@ 4.2 - 2019-05-29T15:03:46Z + 2019-06-01T20:53:17Z Templates @@ -3105,11 +3105,7 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff Incoming traffic statistics on network interface in bytes. 0 - - - NET - - + @@ -3139,7 +3135,11 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff 0 0 - + + + NET::{#IFNAME} + + @@ -3172,11 +3172,7 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff Incoming traffic statistics on network interface in packets. 0 - - - NET - - + @@ -3206,7 +3202,11 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff 0 0 - + + + NET::{#IFNAME} + + @@ -3239,11 +3239,7 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff Outgoing traffic statistics on network interface in bytes. 0 - - - NET - - + @@ -3273,7 +3269,11 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff 0 0 - + + + NET::{#IFNAME} + + @@ -3306,11 +3306,7 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff Outgoing traffic statistics on network interface in packets. 0 - - - NET - - + @@ -3340,7 +3336,11 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff 0 0 - + + + NET::{#IFNAME} + + @@ -3373,11 +3373,7 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff Sum of incoming and outgoing traffic statistics on network interface - dropped packets. 0 - - - NET - - + @@ -3407,7 +3403,11 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff 0 0 - + + + NET::{#IFNAME} + + @@ -3440,11 +3440,7 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff Sum of incoming and outgoing traffic statistics on network interface. Number of errors. 0 - - - NET - - + @@ -3474,7 +3470,11 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff 0 0 - + + + NET::{#IFNAME} + + @@ -4263,7 +4263,7 @@ Value is calculated by read number of sectors multiplied by 512. 1d - Discovery of file systems. + Discovery of the file systems. $1::inodes::$2 @@ -4295,11 +4295,7 @@ Value is calculated by read number of sectors multiplied by 512. 0 - - - VOL - - + @@ -4322,7 +4318,11 @@ Value is calculated by read number of sectors multiplied by 512. 0 0 - + + + VOL::{#FSNAME} + + @@ -4355,11 +4355,7 @@ Value is calculated by read number of sectors multiplied by 512. 0 - - - VOL - - + @@ -4382,7 +4378,11 @@ Value is calculated by read number of sectors multiplied by 512. 0 0 - + + + VOL::{#FSNAME} + + @@ -4415,11 +4415,7 @@ Value is calculated by read number of sectors multiplied by 512. 0 - - - VOL - - + @@ -4442,7 +4438,11 @@ Value is calculated by read number of sectors multiplied by 512. 0 0 - + + + VOL::{#FSNAME} + + @@ -4475,11 +4475,7 @@ Value is calculated by read number of sectors multiplied by 512. Percent used volume space. 0 - - - VOL - - + @@ -4502,7 +4498,11 @@ Value is calculated by read number of sectors multiplied by 512. 0 0 - + + + VOL::{#FSNAME} + + @@ -4535,11 +4535,7 @@ Value is calculated by read number of sectors multiplied by 512. Volume total space. 0 - - - VOL - - + @@ -4562,7 +4558,11 @@ Value is calculated by read number of sectors multiplied by 512. 0 0 - + + + VOL::{#FSNAME} + + @@ -4595,11 +4595,7 @@ Value is calculated by read number of sectors multiplied by 512. Volume used space. 0 - - - VOL - - + @@ -4622,7 +4618,11 @@ Value is calculated by read number of sectors multiplied by 512. 0 0 - + + + VOL::{#FSNAME} + + diff --git a/OS Linux/README.md b/OS Linux/README.md index f3f936b..92c527b 100644 --- a/OS Linux/README.md +++ b/OS Linux/README.md @@ -7,6 +7,8 @@ Base Linux monitoring template. - (devel): - Items: - make template zabbix 4.0.x ready by remove using $1-$9 macros in items names + - ```VOL:``` LLD items fixed Application ```VOL``` changed to per volume ```VOL::{#FSNAME}``` + - ```NET:``` LLD items fixed Application ```NET``` changed to per interface ```NET::{#FSNAME}``` - Triggers: - '''SYS::Host is down''' corrected descrition - 1.0.4 (2018-06-11) diff --git a/README.md b/README.md index 826ec16..8c5e44b 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,9 @@ This repository provides a set of templates which offers the alternative set of - Triggers: - added missing ```SYS::Host is down``` trigger with all necessary dependencies - **OS Linux** + - Items: + - ```VOL:``` LLD items fixed Application ```VOL``` changed to per volume ```VOL::{#FSNAME}``` + - ```NET:``` LLD items fixed Application ```NET``` changed to per interface ```NET::{#FSNAME}``` - Triggers: - '''SYS::Host is down''' corrected descrition - **OS Solaris** From 4694c5f0b72dcb9f97b6a065288a72cfc054792d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Sat, 1 Jun 2019 22:12:05 +0100 Subject: [PATCH 37/76] OS Windows: VOL: and NET: LLDs items Application changed to prototype "VOL:" LLD items fixed Application "VOL" changed to per volume "VOL::{#FSNAME}". "NET:" LLD items fixed Application "NET" changed to per interface "NET::{#FSNAME}". So now is the same type of view in "Last data" list across all OS and IF-MIB templates. --- OS Windows/OS Windows.xml | 362 +++++++++++++++++++------------------- OS Windows/README.md | 15 +- README.md | 9 +- 3 files changed, 197 insertions(+), 189 deletions(-) diff --git a/OS Windows/OS Windows.xml b/OS Windows/OS Windows.xml index 5c5026d..04fed8b 100644 --- a/OS Windows/OS Windows.xml +++ b/OS Windows/OS Windows.xml @@ -1,7 +1,7 @@ 4.2 - 2019-05-29T15:03:46Z + 2019-06-01T20:53:19Z Templates @@ -10305,7 +10305,7 @@ https://msdn.microsoft.com/en-gb/library/ms804038.aspx system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Files\Zabbix Agent\NIC.ps1\""] - NIC::{#IFNAME}::$2::in + {#IFNAME}::$2::in 7 @@ -10334,11 +10334,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 - - - NET - - + @@ -10368,11 +10364,15 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + NET::{#IFNAME} + + - NIC::{#IFNAME}::$2::in + {#IFNAME}::$2::in 7 @@ -10401,11 +10401,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 - - - NET - - + @@ -10435,11 +10431,15 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + NET::{#IFNAME} + + - NIC::{#IFNAME}::$2::in + {#IFNAME}::$2::in 7 @@ -10468,11 +10468,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 - - - NET - - + @@ -10502,11 +10498,15 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + NET::{#IFNAME} + + - NIC::{#IFNAME}::$2::out + {#IFNAME}::$2::out 7 @@ -10535,11 +10535,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 - - - NET - - + @@ -10573,7 +10569,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil - NIC::{#IFNAME}::$2::out + {#IFNAME}::$2::out 7 @@ -10602,11 +10598,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 - - - NET - - + @@ -10636,11 +10628,15 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + NET::{#IFNAME} + + - NIC::{#IFNAME}::$2::out + {#IFNAME}::$2::out 7 @@ -10669,11 +10665,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 - - - NET - - + @@ -10703,7 +10695,11 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + NET::{#IFNAME} + + @@ -10991,11 +10987,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 - - - DSK - - + @@ -11018,7 +11010,11 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + VOL::{#FSNAME} + + @@ -11051,11 +11047,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 - - - DSK - - + @@ -11078,7 +11070,11 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + VOL::{#FSNAME} + + @@ -11111,11 +11107,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 - - - DSK - - + @@ -11138,7 +11130,11 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + VOL::{#FSNAME} + + @@ -11171,11 +11167,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 - - - DSK - - + @@ -11198,7 +11190,11 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + VOL::{#FSNAME} + + @@ -11231,11 +11227,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 - - - DSK - - + @@ -11258,7 +11250,11 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + VOL::{#FSNAME} + + @@ -11291,11 +11287,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 - - - DSK - - + @@ -11318,7 +11310,11 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + VOL::{#FSNAME} + + @@ -11351,11 +11347,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 - - - DSK - - + @@ -11378,7 +11370,11 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + VOL::{#FSNAME} + + @@ -11411,11 +11407,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 - - - DSK - - + @@ -11438,7 +11430,11 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + VOL::{#FSNAME} + + @@ -11471,11 +11467,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 - - - DSK - - + @@ -11498,7 +11490,11 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + VOL::{#FSNAME} + + @@ -11531,11 +11527,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 - - - DSK - - + @@ -11558,7 +11550,11 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + VOL::{#FSNAME} + + @@ -11591,11 +11587,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 - - - DSK - - + @@ -11618,7 +11610,11 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + VOL::{#FSNAME} + + @@ -11651,11 +11647,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 - - - DSK - - + @@ -11678,7 +11670,11 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + VOL::{#FSNAME} + + @@ -11711,11 +11707,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 - - - DSK - - + @@ -11738,7 +11730,11 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + VOL::{#FSNAME} + + @@ -11771,11 +11767,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 - - - DSK - - + @@ -11798,7 +11790,11 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + VOL::{#FSNAME} + + @@ -11831,11 +11827,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 - - - DSK - - + @@ -11858,7 +11850,11 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + VOL::{#FSNAME} + + @@ -11891,11 +11887,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 - - - DSK - - + @@ -11918,7 +11910,11 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + VOL::{#FSNAME} + + @@ -11951,11 +11947,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 - - - DSK - - + @@ -11978,7 +11970,11 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + VOL::{#FSNAME} + + @@ -12011,11 +12007,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 - - - DSK - - + @@ -12038,7 +12030,11 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + VOL::{#FSNAME} + + @@ -12071,11 +12067,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 - - - DSK - - + @@ -12098,7 +12090,11 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + VOL::{#FSNAME} + + @@ -12131,11 +12127,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 - - - DSK - - + @@ -12158,7 +12150,11 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + VOL::{#FSNAME} + + @@ -12191,11 +12187,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 - - - DSK - - + @@ -12218,7 +12210,11 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + VOL::{#FSNAME} + + @@ -12251,11 +12247,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 - - - DSK - - + @@ -12285,7 +12277,11 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + VOL::{#FSNAME} + + @@ -12318,11 +12314,7 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 - - - DSK - - + @@ -12345,7 +12337,11 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + VOL::{#FSNAME} + + @@ -12553,6 +12549,12 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil + + BI - Disk & Network Activity + 2 + 4 + + CPU 2 diff --git a/OS Windows/README.md b/OS Windows/README.md index 3570664..80a065f 100644 --- a/OS Windows/README.md +++ b/OS Windows/README.md @@ -1,12 +1,20 @@ -#### Version: 1.0.4 (2018-06-11) +#### Version: devel (2019-06-01) #### Description: Base OS Windows template. +#### Notes: + +#### Contributors: +- ss: Scott Simmons +- tk: Tomasz Kłoczko + #### Changelog: - (devel): - Items: - make template zabbix 4.0.x ready by remove using $1-$9 macros in items names + - ```VOL:``` LLD items fixed Application ```VOL``` changed to per volume ```VOL::{#FSNAME}``` + - ```NET:``` LLD items fixed Application ```NET``` changed to per interface ```NET::{#FSNAME}``` - Triggers: - added missing ```SYS::Host is down``` trigger with all necessary dependencies - Screens: @@ -37,8 +45,3 @@ Changelog: - 1.0.0: - initial version -#### Notes: - -#### Contributors: -- ss: Scott Simmons -- tk: Tomasz Kłoczko diff --git a/README.md b/README.md index 8c5e44b..c5b5ffe 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,6 @@ This repository provides a set of templates which offers the alternative set of - interfaces: add to LLD iterator item ```IF-MIB::ifIndex``` and map it to ```{#IFINDEX}``` macro - interfaces: add to all applications, items, triggers anf graphs prototypes names ```[{#IFINDEX}]``` to display physical port number in those names - graphs improvements -- **OS Windows** - - Triggers: - - added missing ```SYS::Host is down``` trigger with all necessary dependencies - **OS Linux** - Items: - ```VOL:``` LLD items fixed Application ```VOL``` changed to per volume ```VOL::{#FSNAME}``` @@ -42,6 +39,12 @@ This repository provides a set of templates which offers the alternative set of packets as well - changed ```VOL:``` LLD items Application from fixed ```VOL``` to per volume ```VOL::{#FSNAME}``` and added LLD VOL items descriptions +- **OS Windows** + - Iems: + - ```VOL:``` LLD items fixed Application ```VOL``` changed to per volume ```VOL::{#FSNAME}``` + - ```NET:``` LLD items fixed Application ```NET``` changed to per interface ```NET::{#FSNAME}``` + - Triggers: + - added missing ```SYS::Host is down``` trigger with all necessary dependencies - **Service Apache** - Macros: - Rename all ```{$APACHE_SERVICE_*}``` macros to ```{$SVC_APACHE_*}``` From 35656e8934e2aeb3009eb3d6c6906db19dfe8a3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Mon, 3 Jun 2019 14:43:45 +0100 Subject: [PATCH 38/76] Move to the end of file all Changelog entries in all in README.md files. --- ICMP/README.md | 5 +-- MIB/F5-BIGIP-LOCAL-MIB/README.md | 4 +-- MIB/F5-BIGIP-SYSTEM-MIB/README.md | 4 +-- MIB/IF-MIB/README.md | 4 +-- MIB/IP-MIB/README.md | 6 ++-- MIB/SNMP-MPD-MIB/README.md | 6 ++-- MIB/SNMP-USER-BASED-SM-MIB/README.md | 6 ++-- MIB/SNMP-VIEW-BASED-ACM-MIB/README.md | 6 ++-- MIB/SNMPv2-MIB/README.md | 4 +-- MIB/UDP-MIB/README.md | 6 ++-- OS Linux/README.md | 10 +++--- OS Solaris/README.md | 46 +++++++++++++-------------- OS Windows/README.md | 2 -- SNMP Devices/BIG-IP 5000/README.md | 11 +++---- SNMP Devices/DSL-3782/README.md | 21 ++++++------ Service MySQL/README.md | 42 ++++++++++++------------ Service Zabbix Agent/README.md | 4 +-- Service Zabbix Proxy/README.md | 6 ++-- Service Zabbix Server/README.md | 6 ++-- Service php-fpm/README.md | 9 +++--- 20 files changed, 104 insertions(+), 104 deletions(-) diff --git a/ICMP/README.md b/ICMP/README.md index 3d76985..8730853 100644 --- a/ICMP/README.md +++ b/ICMP/README.md @@ -3,6 +3,9 @@ #### Description: Base ICMP template checking availability of the host using ICMP protocol. +#### Notes: +- This template is used by all OS and SNMP Devices templates. + #### Changelog: - 1.0.4 (2018-06-11): - Screens: @@ -12,5 +15,3 @@ Base ICMP template checking availability of the host using ICMP protocol. - 1.0.0: - initial version -#### Notes: -- This template is used by all OS and SNMP Devices templates. \ No newline at end of file diff --git a/MIB/F5-BIGIP-LOCAL-MIB/README.md b/MIB/F5-BIGIP-LOCAL-MIB/README.md index 0f74698..4079170 100644 --- a/MIB/F5-BIGIP-LOCAL-MIB/README.md +++ b/MIB/F5-BIGIP-LOCAL-MIB/README.md @@ -4,6 +4,8 @@ #### OIDs tree: [F5-BIGIP-LOCAL-MIB](http://www.oidview.com/mibs/3375/F5-BIGIP-LOCAL-MIB.html) +#### Notes: + #### Changelog: - (devel): - Items: @@ -15,5 +17,3 @@ - change resolution of all graphs to 1200x300 - 1.0.0: - initial version - -#### Notes: diff --git a/MIB/F5-BIGIP-SYSTEM-MIB/README.md b/MIB/F5-BIGIP-SYSTEM-MIB/README.md index 85d6a6f..72ba0f6 100644 --- a/MIB/F5-BIGIP-SYSTEM-MIB/README.md +++ b/MIB/F5-BIGIP-SYSTEM-MIB/README.md @@ -4,6 +4,8 @@ #### OIDs tree: [F5-BIGIP-SYSTEM-MIB](http://www.oidview.com/mibs/3375/F5-BIGIP-SYSTEM-MIB.html) +#### Notes: + #### Changelog: - 1.0.4 (2018-06-11): - Applications: @@ -13,5 +15,3 @@ - add temlate description - 1.0.0: - initial version - -#### Notes: diff --git a/MIB/IF-MIB/README.md b/MIB/IF-MIB/README.md index 32115af..01061bc 100644 --- a/MIB/IF-MIB/README.md +++ b/MIB/IF-MIB/README.md @@ -6,6 +6,8 @@ The IF-MIB is an updated version of MIB-II's ifTable, and incorporates the exten #### OIDs tree: (IF-MIB](http://www.oidview.com/mibs/0/IF-MIB.html) +#### Notes: + #### Changelog: - (devel): - LLDs: @@ -37,5 +39,3 @@ The IF-MIB is an updated version of MIB-II's ifTable, and incorporates the exten - added more descriptions of the LLD items - 1.0.0: - initial version. - -#### Notes: diff --git a/MIB/IP-MIB/README.md b/MIB/IP-MIB/README.md index 90d794e..27bc09f 100644 --- a/MIB/IP-MIB/README.md +++ b/MIB/IP-MIB/README.md @@ -5,6 +5,9 @@ The MIB based template for managing IP and ICMP implementations. #### OIDs tree: [IP-MIB](http://www.oidview.com/mibs/0/IP-MIB.html) +#### Notes: +- so far it is only empty template. + #### Changelog: - 1.0.4 (not released yet) - added Applications: @@ -12,6 +15,3 @@ The MIB based template for managing IP and ICMP implementations. - IP-MIB::ip - 1.0.0 (2017-11-30): - initial version. - -#### Notes: -- so far it is only empty template. \ No newline at end of file diff --git a/MIB/SNMP-MPD-MIB/README.md b/MIB/SNMP-MPD-MIB/README.md index fe557f5..a9cf4be 100644 --- a/MIB/SNMP-MPD-MIB/README.md +++ b/MIB/SNMP-MPD-MIB/README.md @@ -5,9 +5,9 @@ The MIB based template for Message Processing and Dispatching. #### OIDs tree: [SNMP-MPD-MIB](http://www.oidview.com/mibs/0/SNMP-MPD-MIB.html) +#### Notes: +- so far it is only empty template. + #### Changelog: - 1.0.4 (2018-06-11): - initial version. - -#### Notes: -- so far it is only empty template. \ No newline at end of file diff --git a/MIB/SNMP-USER-BASED-SM-MIB/README.md b/MIB/SNMP-USER-BASED-SM-MIB/README.md index a1f5fb1..05d3162 100644 --- a/MIB/SNMP-USER-BASED-SM-MIB/README.md +++ b/MIB/SNMP-USER-BASED-SM-MIB/README.md @@ -5,9 +5,9 @@ The MIB bsed template for definitionis of the SNMP User-based Security Model. #### OIDs tree: [SNMP-USER-BASED-SM-MIB](http://www.oidview.com/mibs/0/SNMP-USER-BASED-SM-MIB.html) +#### Notes: +- so far it is only empty template. + #### Changelog: - 1.0.4 (2018-06-11): - initial version - -#### Notes: -- so far it is only empty template. \ No newline at end of file diff --git a/MIB/SNMP-VIEW-BASED-ACM-MIB/README.md b/MIB/SNMP-VIEW-BASED-ACM-MIB/README.md index 6be196f..52bb496 100644 --- a/MIB/SNMP-VIEW-BASED-ACM-MIB/README.md +++ b/MIB/SNMP-VIEW-BASED-ACM-MIB/README.md @@ -5,9 +5,9 @@ The MIB bsed template view-based Access Control Model for SNMP. #### OIDs tree: [SNMP-VIEW-BASED-ACM-MIB](http://www.oidview.com/mibs/0/SNMP-VIEW-BASED-ACM-MIB.html) +#### Notes: +- so far it is only empty template. + #### Changelog: - 1.0.4 (2018-06-11): - initial version. - -#### Notes: -- so far it is only empty template. \ No newline at end of file diff --git a/MIB/SNMPv2-MIB/README.md b/MIB/SNMPv2-MIB/README.md index 787b566..96337e6 100644 --- a/MIB/SNMPv2-MIB/README.md +++ b/MIB/SNMPv2-MIB/README.md @@ -5,6 +5,8 @@ The template for SNMPv2 MIB entities. #### OIDs tree: [SNMPv2-MIB](http://www.oidview.com/mibs/0/SNMPv2-MIB.html) +#### Notes: + #### Changelog: - 1.0.4 (2018-06-11): - Applications: @@ -20,5 +22,3 @@ The template for SNMPv2 MIB entities. - add temlate description - 1.0.0: - initial version. - -#### Notes: diff --git a/MIB/UDP-MIB/README.md b/MIB/UDP-MIB/README.md index 5510c84..81ef320 100644 --- a/MIB/UDP-MIB/README.md +++ b/MIB/UDP-MIB/README.md @@ -5,9 +5,9 @@ The MIB based template for managing UDP implementations. #### OIDs tree: [UDP-MIB](http://www.oidview.com/mibs/0/UDP-MIB.html) +#### Notes: +- so far it is only empty template. + #### Changelog: - 1.0.0 (2017-11-30): - initial version. - -#### Notes: -- so far it is only empty template. \ No newline at end of file diff --git a/OS Linux/README.md b/OS Linux/README.md index 92c527b..c74844c 100644 --- a/OS Linux/README.md +++ b/OS Linux/README.md @@ -3,6 +3,11 @@ #### Description: Base Linux monitoring template. +#### Notes: +- compliant with EL7 and compatible +- documentation: + - https://www.kernel.org/doc/Documentation/filesystems/proc.txt + #### Changelog: - (devel): - Items: @@ -50,8 +55,3 @@ Base Linux monitoring template. - remove using @OS Linux::NET regexp network interfaces filter and replace by regexp "(?!(lo))" (removed global regexp dependency) - 1.0.0: - initial version - -#### Notes: -- compliant with EL7 and compatible -- documentation: - - https://www.kernel.org/doc/Documentation/filesystems/proc.txt \ No newline at end of file diff --git a/OS Solaris/README.md b/OS Solaris/README.md index 26c1b54..a38493b 100644 --- a/OS Solaris/README.md +++ b/OS Solaris/README.md @@ -3,29 +3,6 @@ #### Description: Base OS Solaris monitoring. -#### Changelog: -- (devel): - - Items: - - make template zabbix 4.0.x ready by remove using $1-$9 macros in items names - - copy the same set of 6 NET item LLD prototypes as in ```OS Linux``` template - to cover monitoring in/out traffic in packets and bytes and errors and dropped - packets as well - - changed ```VOL:``` LLD tems Application from fixed ```VOL``` to per volume ```VOL::{#FSNAME}``` - and added LLD VOL items descriptions - - Triggers: - - Added ```SYS::Host is down``` - - Added ```CPU::idle {ITEM.VALUE}``` -- 1.0.4 (2018-06-11) - - Triggers: - - fixed typo in trigger name s/SYS:uname changed/```SYS::uname changed```/ - - added ```MEM::free {ITEM.LASTVALUE}``` -- 1.0.1 (2017-12-01): - - execute all LLD every 10m - - channge default history perid to 2w - - moved some parts of the template description to README.md -- 1.0.0 (2017-09-09): - - initial version. - #### Notes: - https://github.com/mharsch/arcstat/blob/master/arcstat.pl - http://dtrace.org/blogs/brendan/2012/01/09/activity-of-the-zfs-arc/ @@ -70,3 +47,26 @@ zfs:0:arcstats:p zfs:0:arcstats:snaptime ``` - https://github.com/bcantrill/node-kstat + +#### Changelog: +- (devel): + - Items: + - make template zabbix 4.0.x ready by remove using $1-$9 macros in items names + - copy the same set of 6 NET item LLD prototypes as in ```OS Linux``` template + to cover monitoring in/out traffic in packets and bytes and errors and dropped + packets as well + - changed ```VOL:``` LLD tems Application from fixed ```VOL``` to per volume ```VOL::{#FSNAME}``` + and added LLD VOL items descriptions + - Triggers: + - Added ```SYS::Host is down``` + - Added ```CPU::idle {ITEM.VALUE}``` +- 1.0.4 (2018-06-11) + - Triggers: + - fixed typo in trigger name s/SYS:uname changed/```SYS::uname changed```/ + - added ```MEM::free {ITEM.LASTVALUE}``` +- 1.0.1 (2017-12-01): + - execute all LLD every 10m + - channge default history perid to 2w + - moved some parts of the template description to README.md +- 1.0.0 (2017-09-09): + - initial version. diff --git a/OS Windows/README.md b/OS Windows/README.md index 80a065f..3a88d6c 100644 --- a/OS Windows/README.md +++ b/OS Windows/README.md @@ -41,7 +41,5 @@ Base OS Windows template. - added items across the board (ss) - moved some items (ss) - removed Network::ICMP as this metric is now provided by ICMP template (tk) -Changelog: - 1.0.0: - initial version - diff --git a/SNMP Devices/BIG-IP 5000/README.md b/SNMP Devices/BIG-IP 5000/README.md index 50a31a8..58b77f4 100644 --- a/SNMP Devices/BIG-IP 5000/README.md +++ b/SNMP Devices/BIG-IP 5000/README.md @@ -1,9 +1,11 @@ +#### Device: BIG-IP 5000 -Device: BIG-IP 5000 +#### Version: 1.0.4 (2018-06-11) -Version: 1.0.4 (2018-06-11) +#### Notes: +- Product page: https://worldtechit.com/f5-products/f5-big-ip-5000s-5050s-5250v-5200v-hardware-datasheet/ -Changelog: +#### Changelog: - 1.0.4 (2018-06-11): - added items unsupported item which holds like in all other tenplates current counter of host items in unsupported state - added template description @@ -12,6 +14,3 @@ Changelog: - call all LLDs every 10m - 1.0.0: - initial version. - -Notes: -- Product page: https://worldtechit.com/f5-products/f5-big-ip-5000s-5050s-5250v-5200v-hardware-datasheet/ \ No newline at end of file diff --git a/SNMP Devices/DSL-3782/README.md b/SNMP Devices/DSL-3782/README.md index 386c88c..e0e723c 100644 --- a/SNMP Devices/DSL-3782/README.md +++ b/SNMP Devices/DSL-3782/README.md @@ -1,16 +1,11 @@ -The DSL-3782 Wireless AC1200 Dual-Band VDSL/ADSL Modem Router is a versatile, high-performance router with integrated VDSL, supporting download speeds of up to 100 Mbps, the latest Wireless AC Wi-Fi technology, firewall protection, QoS and 4 Fast Ethernet ports. - -Device: D-Link DSL-3782 +#### Device: D-Link DSL-3782 -Version: 1.0.4 (2018-06-11) +#### Description: +The DSL-3782 Wireless AC1200 Dual-Band VDSL/ADSL Modem Router is a versatile, high-performance router with integrated VDSL, supporting download speeds of up to 100 Mbps, the latest Wireless AC Wi-Fi technology, firewall protection, QoS and 4 Fast Ethernet ports. -Changelog: -- 1.0.4 (2018-06-11) - - added template URL in template description -- 1.0.0 (2017-11-24): - - initial version. +#### Version: 1.0.4 (2018-06-11) -Notes: +#### Notes: - Product page: http://www.dlink.com/mk/mk/products/dsl-3782-wireless-ac1200-dual-band-vdsl-adsl-modem-router - Supported MIBs: ``` @@ -152,3 +147,9 @@ TCP-MIB::tcpOutRsts UDP-MIB::udpLocalAddress UDP-MIB::udpLocalPort ``` + +##### Changelog: +- 1.0.4 (2018-06-11) + - added template URL in template description +- 1.0.0 (2017-11-24): + - initial version. diff --git a/Service MySQL/README.md b/Service MySQL/README.md index b6cb4c1..8801582 100644 --- a/Service MySQL/README.md +++ b/Service MySQL/README.md @@ -3,6 +3,27 @@ #### Description: MySQL engine monitoring over Zabbix agent. +#### Notes: +- Tested on MySQL 5.7 and it not uses MySQL 5.6 backward compatibility. The + template requires to disable MySQL 5.6 backward compatibility and it will + raise alarm that show_compatibility_56 is OFF. To disable MySQL 5.6 + backward compatibility best to add in my.cnf: +``` +[mysqld] +show_compatibility_56=OFF +``` +- By default this template is monitoring the engine working on localhost +- To be able to use this template on a host you need to setup a monitoring account with the proper privileges. To add such account you can use below queries: +``` +CREATE USER 'monitoring'@'localhost' IDENTIFIED BY 'monitoring'; +GRANT SELECT, INDEX, SHOW DATABASES, REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO 'monitoring'@'localhost'; +FLUSH PRIVILEGES; +``` +- MySQL 5.7 documentation: + - http://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html + - http://dev.mysql.com/doc/refman/5.7/en/innodb-configuration.html + - http://dev.mysql.com/doc/refman/5.7/en/innodb-information-schema.html + #### Changelog: - (devel): - Items: @@ -40,24 +61,3 @@ MySQL engine monitoring over Zabbix agent. - added missing entries in SVC::MySQL::Queries screen - 1.0.0: - initial version. - -#### Notes: -- Tested on MySQL 5.7 and it not uses MySQL 5.6 backward compatibility. The - template requires to disable MySQL 5.6 backward compatibility and it will - raise alarm that show_compatibility_56 is OFF. To disable MySQL 5.6 - backward compatibility best to add in my.cnf: -``` -[mysqld] -show_compatibility_56=OFF -``` -- By default this template is monitoring the engine working on localhost -- To be able to use this template on a host you need to setup a monitoring account with the proper privileges. To add such account you can use below queries: -``` -CREATE USER 'monitoring'@'localhost' IDENTIFIED BY 'monitoring'; -GRANT SELECT, INDEX, SHOW DATABASES, REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO 'monitoring'@'localhost'; -FLUSH PRIVILEGES; -``` -- MySQL 5.7 documentation: - - http://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html - - http://dev.mysql.com/doc/refman/5.7/en/innodb-configuration.html - - http://dev.mysql.com/doc/refman/5.7/en/innodb-information-schema.html \ No newline at end of file diff --git a/Service Zabbix Agent/README.md b/Service Zabbix Agent/README.md index a7b09b8..d52acd4 100644 --- a/Service Zabbix Agent/README.md +++ b/Service Zabbix Agent/README.md @@ -3,6 +3,8 @@ #### Description: Base zabbix agent monitoring. +#### Notes: + #### Changelog: - (devel): - Graphs: @@ -17,5 +19,3 @@ Base zabbix agent monitoring. - moved temmplate Changelog to README.md and added temlate URL in description - 1.0.0 (2017-09-09): - initial version - -#### Notes: diff --git a/Service Zabbix Proxy/README.md b/Service Zabbix Proxy/README.md index a9214a2..aeb588b 100644 --- a/Service Zabbix Proxy/README.md +++ b/Service Zabbix Proxy/README.md @@ -3,6 +3,9 @@ #### Description: Base Zabbix proxy service monitoring template. +#### Notes: +Host with this template must be monitored over proxy which will be monitored. + #### Changelog: - (devel): - Items: @@ -43,6 +46,3 @@ Base Zabbix proxy service monitoring template. - ```SVC::zabbix_proxy::vmware collector >=75% busy``` - 1.0.0 (2017-09-09): - initial version. - -#### Notes: -Host with this template must be monitored over proxy which will be monitored. \ No newline at end of file diff --git a/Service Zabbix Server/README.md b/Service Zabbix Server/README.md index 64d2c69..09e49de 100644 --- a/Service Zabbix Server/README.md +++ b/Service Zabbix Server/README.md @@ -3,6 +3,9 @@ #### Description: Base Zabbix server monitoring template. +#### Notes: +* Host with this template must be monitored without any proxy. + #### Changelog: - (devel): - Items: @@ -75,6 +78,3 @@ Base Zabbix server monitoring template. - change default history period to 2w - 1.0.0 (2017-09-09): - initial version. - -#### Notes: -* Host with this template must be monitored without any proxy. \ No newline at end of file diff --git a/Service php-fpm/README.md b/Service php-fpm/README.md index ba9968c..d79fa17 100644 --- a/Service php-fpm/README.md +++ b/Service php-fpm/README.md @@ -14,10 +14,6 @@ PHP FastCGI Process Manager service monitoring template. This template is using: | {$SVC_PHP_FPM_STATS_URI} | /status | URI adderss of the status page | | {$SVC_PHP_FPM_PROC} | php-fpm | php-fpm process name | -#### Changelog: -- (devel) - - Initial version - #### Notes: - The template uses php-fpm FPM status page so in php.ini must be enabled: ``` @@ -38,3 +34,8 @@ pm.status_path = /status } ``` - If on some Linux systems ```PROC::php-fpm``` item will be showing 0 processes find PID one of the working php-fpm process and use command ```basename $(readlink /proc//exe)``` and update ```{$SVC_PHP_FPM_PROC}``` host macro content with value which this command show. + +#### Changelog: +- (devel) + - Initial version + From e111565e1e335af2ea5c27ebafce543384c10c4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Thu, 6 Jun 2019 13:16:19 +0100 Subject: [PATCH 39/76] Add use md marups. --- SNMP Devices/BIG-IP 5000/BIG-IP 5000.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SNMP Devices/BIG-IP 5000/BIG-IP 5000.xml b/SNMP Devices/BIG-IP 5000/BIG-IP 5000.xml index c2d1fb6..9b263fd 100644 --- a/SNMP Devices/BIG-IP 5000/BIG-IP 5000.xml +++ b/SNMP Devices/BIG-IP 5000/BIG-IP 5000.xml @@ -1,7 +1,7 @@ 4.2 - 2019-05-29T12:46:33Z + 2019-06-04T17:10:43Z Templates SNMP Devices @@ -18,7 +18,7 @@ Product page: https://worldtechit.com/f5-products/f5-big-ip-5000s-5050s-5250v-52 Version: 1.0.4 (2018-06-11) URL: https://github.com/kloczek/zabbix-templates/tree/master/SNMP%20Devices/BIG-IP%205000 -Notes: +#### Notes: Templates SNMP Devices From 9073b05c28f4fcccf70f70480851a45536766afd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Thu, 6 Jun 2019 15:23:37 +0100 Subject: [PATCH 40/76] OS Solaris: replace DSK, NET and VOL Applications by prototypes in LLD items. Replace DSK, NET and VOL Applications used in LLD items prototypes by DSK::{#DISK}, NET::{#IFNAME} and VOL::{#FSNAME}. --- OS Solaris/OS Solaris.xml | 125 +++++++++++++++----------------------- OS Solaris/README.md | 5 +- README.md | 10 ++- 3 files changed, 60 insertions(+), 80 deletions(-) diff --git a/OS Solaris/OS Solaris.xml b/OS Solaris/OS Solaris.xml index 952ca4e..b408c56 100644 --- a/OS Solaris/OS Solaris.xml +++ b/OS Solaris/OS Solaris.xml @@ -1,7 +1,7 @@ 4.2 - 2019-06-01T20:28:48Z + 2019-06-06T14:12:40Z Templates @@ -16,7 +16,7 @@ Version: 1.0.4 (2018-06-11) URL: https://github.com/kloczek/zabbix-templates/tree/master/OS%20Solaris -Notes: +#### Notes: Templates @@ -29,9 +29,6 @@ Notes: CPU - - DSK - MEM @@ -44,9 +41,6 @@ Notes: SYS - - VOL - ZFS::arcstat @@ -3058,11 +3052,7 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list Incoming traffic statistics on network interface in bytes. 0 - - - NET - - + @@ -3135,11 +3125,7 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list 0 - - - NET - - + @@ -3199,11 +3185,7 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list Outgoing traffic statistics on network interface in bytes. 0 - - - NET - - + @@ -3276,11 +3258,7 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list 0 - - - NET - - + @@ -3340,11 +3318,7 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list Sum of incoming and outgoing traffic statistics on network interface - dropped packets. 0 - - - NET - - + @@ -3404,11 +3378,7 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list Sum of incoming and outgoing traffic statistics on network interface. Number of errors. 0 - - - NET - - + @@ -3622,11 +3592,7 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list Size of read IO in bytes. 0 - - - DSK - - + @@ -3649,7 +3615,11 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list 0 0 - + + + DSK::{#DISK} + + @@ -3682,11 +3652,7 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list Number of read bytes per second on block device in use. 0 - - - DSK - - + @@ -3716,7 +3682,11 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list 0 0 - + + + DSK::{#DISK} + + @@ -3749,11 +3719,7 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list Number of read IO operation per second on block device in use. 0 - - - DSK - - + @@ -3783,7 +3749,11 @@ Hits against pages held in ghost mru list from pages evicted from ARC mru list 0 0 - + + + DSK::{#DISK} + + @@ -3817,11 +3787,7 @@ last("vfs.dev.write[{#DISK},operations]") Size of write IO in bytes. 0 - - - DSK - - + @@ -3844,7 +3810,11 @@ last("vfs.dev.write[{#DISK},operations]") 0 0 - + + + DSK::{#DISK} + + @@ -3877,11 +3847,7 @@ last("vfs.dev.write[{#DISK},operations]") Number of write bytes per second on block device in use. 0 - - - DSK - - + @@ -3911,7 +3877,11 @@ last("vfs.dev.write[{#DISK},operations]") 0 0 - + + + DSK::{#DISK} + + @@ -3944,11 +3914,7 @@ last("vfs.dev.write[{#DISK},operations]") Number of write IO operation per second on block device in use. 0 - - - DSK - - + @@ -3978,7 +3944,11 @@ last("vfs.dev.write[{#DISK},operations]") 0 0 - + + + DSK::{#DISK} + + @@ -4869,6 +4839,9 @@ Please login on the host and check output of the commands: 0 0 + + NET::{#IFNAME} + VOL::{#FSNAME} @@ -4930,7 +4903,7 @@ Please login on the host and check output of the commands: 0 - VOL::{#FSNAME} + NET::{#IFNAME} @@ -4990,7 +4963,7 @@ Please login on the host and check output of the commands: 0 - VOL::{#FSNAME} + NET::{#IFNAME} diff --git a/OS Solaris/README.md b/OS Solaris/README.md index a38493b..b8ab710 100644 --- a/OS Solaris/README.md +++ b/OS Solaris/README.md @@ -50,12 +50,15 @@ zfs:0:arcstats:snaptime #### Changelog: - (devel): + - Applications: + - remove using ```DSK```, ```NET``` and ```VOL``` Applications and replace them by LLD prototypes + ```DSK::{#DISK}```, ```NET::{#IFNAME}``` and ```VOL::{#FSNAME}``` - Items: - make template zabbix 4.0.x ready by remove using $1-$9 macros in items names - copy the same set of 6 NET item LLD prototypes as in ```OS Linux``` template to cover monitoring in/out traffic in packets and bytes and errors and dropped packets as well - - changed ```VOL:``` LLD tems Application from fixed ```VOL``` to per volume ```VOL::{#FSNAME}``` + - changed ```VOL:``` LLD items Application from fixed ```VOL``` to per volume ```VOL::{#FSNAME}``` and added LLD VOL items descriptions - Triggers: - Added ```SYS::Host is down``` diff --git a/README.md b/README.md index c5b5ffe..9577ee3 100644 --- a/README.md +++ b/README.md @@ -30,15 +30,19 @@ This repository provides a set of templates which offers the alternative set of - Triggers: - '''SYS::Host is down''' corrected descrition - **OS Solaris** - - Triggers: - - added ```SYS::Host is down``` - - added ```CPU::idle {ITEM.VALUE}``` + - Applications: + - remove using ```DSK```, ```NET``` and ```VOL``` Applications and replace them by LLD prototypes + ```DSK::{#DISK}```, ```NET::{#IFNAME}``` and ```VOL::{#FSNAME}``` - Items: + - make template zabbix 4.0.x ready by remove using $1-$9 macros in items names - copy the same set of 6 NET item LLD prototypes as in ```OS Linux``` template to cover monitoring in/out traffic in packets and bytes and errors and dropped packets as well - changed ```VOL:``` LLD items Application from fixed ```VOL``` to per volume ```VOL::{#FSNAME}``` and added LLD VOL items descriptions + - Triggers: + - Added ```SYS::Host is down``` + - Added ```CPU::idle {ITEM.VALUE}``` - **OS Windows** - Iems: - ```VOL:``` LLD items fixed Application ```VOL``` changed to per volume ```VOL::{#FSNAME}``` From ddbe219689aac8db944ef9b31bd2897e65c8849e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Fri, 7 Jun 2019 14:05:59 +0100 Subject: [PATCH 41/76] Service MySQL: use md format in template description. Use README.md format in template description to make easier straight copy&paste to externel documentation. --- Service MySQL/Service MySQL.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Service MySQL/Service MySQL.xml b/Service MySQL/Service MySQL.xml index 3de4403..2a17c77 100644 --- a/Service MySQL/Service MySQL.xml +++ b/Service MySQL/Service MySQL.xml @@ -1,7 +1,7 @@ 4.2 - 2019-05-29T15:03:46Z + 2019-06-03T14:55:01Z Templates @@ -16,22 +16,22 @@ Version: 1.0.4 (2018-06-11) URL: https://github.com/kloczek/zabbix-templates/tree/master/Service%20MySQL -Notes: +#### Notes: * Tested on MySQL 5.7 and it not designed to be uses with MySQL older than 5.7 backward compatibility so it can be used to monitor MySQL engine which in my.cnf has: - +``` [mysqld] show_compatibility_56 = OFF - -My advice is even to disable show_compatibility_56 to not start by mistake use some older metrics which in next version of the MySQL no longer will be avalaible as an option. +``` +My advice is even to disable show_compatibility_56 to not start by mistake use some older metrics which in next version of the MySQL no longer will be available as an option. * By default this template is monitoring the engine working on localhost. To be able to use this template on a host you need to setup a monitoring account with the proper privileges. To add such account you can use below queries: - +``` CREATE USER 'monitoring'@'localhost' IDENTIFIED BY 'monitoring'; GRANT SELECT, INDEX, SHOW DATABASES, REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO 'monitoring'@'localhost'; FLUSH PRIVILEGES; - +``` * MySQL 5.7 documentation: http://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html http://dev.mysql.com/doc/refman/5.7/en/innodb-configuration.html From b5af2adeb57977665212b7a913d6134f5a766c1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Fri, 7 Jun 2019 14:48:22 +0100 Subject: [PATCH 42/76] OS Linux and OS Solaris: removed monitoring sshd, crond and rsyslogd Monitoring of those processes is not essential and will be provided in separated template(s). --- OS Linux/OS Linux.xml | 833 +------------------------------------- OS Linux/README.md | 2 + OS Solaris/OS Solaris.xml | 310 +------------- OS Solaris/README.md | 2 + README.md | 4 + 5 files changed, 18 insertions(+), 1133 deletions(-) diff --git a/OS Linux/OS Linux.xml b/OS Linux/OS Linux.xml index 9530e03..1561d70 100644 --- a/OS Linux/OS Linux.xml +++ b/OS Linux/OS Linux.xml @@ -1,7 +1,7 @@ 4.2 - 2019-06-01T20:53:17Z + 2019-06-07T13:35:10Z Templates @@ -24,18 +24,12 @@ Notes: - - CHK - CHK::Integrity CPU - - DSK - HW @@ -51,9 +45,6 @@ Notes: SYS - - VOL - @@ -188,264 +179,6 @@ Notes: 0 - - CHK::Network port::ssh - 7 - - - net.tcp.port[,22] - 5m - 2w - 365d - 0 - 3 - - - - - 0 - 0 - - 0 - - - - 0 - - - - - - - 0 - - - NET - - - - Service state - - - - - 3s - - - - 200 - 1 - 0 - - - 0 - 0 - 0 - 0 - - - - 0 - 0 - - - - CHK::Network port::ssh - 7 - - - net.tcp.port[,{$SVC_SSH_PORT}] - 5m - 2w - 365d - 0 - 3 - - - - - 0 - 0 - - 0 - - - - 0 - - - - - - Check of possible create TCP connection to SSH port (configured macros). - 0 - - - NET - - - - Service state - - - - - 19 - - 0 - - - - - 3s - - - - 200 - 1 - 0 - - - 0 - 1 - 0 - 0 - - - - 0 - 0 - - - - NET::service::ssh - 3 - - - net.tcp.service[ssh,,{$SVC_SSH_PORT}] - 5m - 2w - 365d - 0 - 3 - - - - - 0 - 0 - - 0 - - - - 0 - - - - - - Check if SSH services is running and accepted connection. - 0 - - - NET - - - - Service state - - - - - 19 - - 0 - - - - - 3s - - - - 200 - 1 - 0 - - - 0 - 1 - 0 - 0 - - - - 0 - 0 - - - - NET::service::$1 - 7 - - - net.tcp.service[ssh] - 5m - 2w - 365d - 0 - 3 - - - - - 0 - 0 - - 0 - - - - 0 - - - - - - - 0 - - - NET - - - - Service state - - - - - 3s - - - - 200 - 1 - 0 - - - 0 - 0 - 0 - 0 - - - - 0 - 0 - - SYS::process::running 7 @@ -505,183 +238,6 @@ Notes: 0 - - PROC::$1 - 7 - - - proc.num[crond] - 1m - 2w - 365d - 0 - 3 - - processes - - - 0 - 0 - - 0 - - - - 0 - - - - - - - 0 - - - PROC - - - - - - - 3s - - - - 200 - 1 - 0 - - - 0 - 0 - 0 - 0 - - - - 0 - 0 - - - - PROC::$1 - 7 - - - proc.num[rsyslogd] - 1m - 2w - 365d - 0 - 3 - - processes - - - 0 - 0 - - 0 - - - - 0 - - - - - - - 0 - - - PROC - - - - - - - 3s - - - - 200 - 1 - 0 - - - 0 - 0 - 0 - 0 - - - - 0 - 0 - - - - PROC::$1 - 7 - - - proc.num[sshd] - 1m - 2w - 365d - 0 - 3 - - processes - - - 0 - 0 - - 0 - - - - 0 - - - - - - - 0 - - - PROC - - - - - - - 3s - - - - 200 - 1 - 0 - - - 0 - 0 - 0 - 0 - - - - 0 - 0 - - SYS::process::* 7 @@ -1802,75 +1358,9 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff SYS - - - - - 3s - - - - 200 - 1 - 0 - - - 0 - 0 - 0 - 0 - - - - 0 - 0 - - - - NET::segments retransmitted - 7 - - - system.run["/bin/netstat -s|/bin/sed -n 's/\( *\)\(.*\) segments retransmi.*ted*/\2/ p'"] - 1m - 2w - 365d - 0 - 0 - - segm/s - - - 0 - 0 - - 0 - - - - 0 - - - - - - - 0 - - - NET - - - - - - - 19 - - 0 - - - + + + 3s @@ -1882,7 +1372,7 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff 0 - 1 + 0 0 0 @@ -2562,124 +2052,6 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff 0 - - CHK::checksum::$1 - 7 - - - vfs.file.cksum[/usr/bin/ssh] - 1h - 2w - 365d - 0 - 3 - - - - - 0 - 0 - - 0 - - - - 0 - - - - - - Check sum of /usr/bin/ssh binary. - 0 - - - CHK::Integrity - - - - - - - 3s - - - - 200 - 1 - 0 - - - 0 - 0 - 0 - 0 - - - - 0 - 0 - - - - CHK::Checksum::$1 - 7 - - - vfs.file.cksum[/usr/sbin/sshd] - 1h - 2w - 365d - 0 - 3 - - - - - 0 - 0 - - 0 - - - - 0 - - - - - - Check sum of /usr/sbin/sshd binary. - 0 - - - CHK::Integrity - - - - - - - 3s - - - - 200 - 1 - 0 - - - 0 - 0 - 0 - 0 - - - - 0 - 0 - - MEM::$1 7 @@ -3853,11 +3225,7 @@ Discovery of storage devices is filtered over global regular expression "OS Linu Number of read IO operation per second on block device in use. 0 - - - DSK - - + @@ -3921,11 +3289,7 @@ Discovery of storage devices is filtered over global regular expression "OS Linu Number of read bytes per second on block device in use. Value is calculated by read number of sectors multiplied by 512. 0 - - - DSK - - + @@ -3994,11 +3358,7 @@ Value is calculated by read number of sectors multiplied by 512. Number of write IO operation per second on block device in use. 0 - - - DSK - - + @@ -4062,11 +3422,7 @@ Value is calculated by read number of sectors multiplied by 512. Number of written bytes per second on block device in use. Value is calculated by read number of sectors multiplied by 512. 0 - - - DSK - - + @@ -5396,38 +4752,6 @@ Value is calculated by read number of sectors multiplied by 512. - - {OS Linux:vfs.file.cksum[/usr/bin/ssh].diff(0)}>0 - 0 - - CHK::Checksum::/usr/bin/ssh has been changed - 0 - - - 0 - 3 - - 0 - 0 - - - - - {OS Linux:vfs.file.cksum[/usr/sbin/sshd].diff(0)}>0 - 0 - - CHK::Checksum::/usr/sbin/sshd has been changed - 0 - - - 0 - 3 - - 0 - 0 - - - {OS Linux:system.cpu.util[,idle,avg1].last(0)}<5 0 @@ -5699,82 +5023,6 @@ Value is calculated by read number of sectors multiplied by 512. - - {OS Linux:net.tcp.port[,22].count(#3,0)}=3 - 0 - - NET::port::ssh unreachable - 0 - - - 0 - 3 - - 0 - 0 - - - SYS::processes::sshd is not running - {OS Linux:proc.num[sshd].last(0)}<1 - - - - - - - {OS Linux:net.tcp.port[,{$SVC_SSH_PORT}].count(#3,0)}=3 - 0 - - NET::port::ssh unreachable - 0 - - - 0 - 3 - - 0 - 0 - - - SYS::processes::sshd is not running - {OS Linux:proc.num[sshd].last(0)}<1 - - - - - - - {OS Linux:net.tcp.service[ssh,,{$SVC_SSH_PORT}].count(#3,0)}=3 - 0 - - SVC::ssh is down - 0 - - - 0 - 3 - - 0 - 0 - - - - - {OS Linux:net.tcp.service[ssh].count(#3,0)}=3 - 0 - - SVC::ssh is down - 0 - - - 0 - 3 - - 0 - 0 - - - {OS Linux:icmpping.count(#10,0,"eq")}>9 and {OS Linux:agent.ping.nodata(15m)}=1 and @@ -5858,54 +5106,6 @@ s3-dump hosts delete - - {OS Linux:proc.num[crond].last(0)}>5 - 0 - - SYS::processes::crond > 5 processes (LV={ITEM.VALUE}) - 0 - - - 0 - 2 - - 0 - 0 - - - - - {OS Linux:proc.num[rsyslogd].last(0)}<1 - 0 - - SYS::processes::rsyslogd is not running - 0 - - - 0 - 2 - - 0 - 0 - - - - - {OS Linux:proc.num[sshd].last(0)}<1 - 0 - - SYS::processes::sshd is not running - 0 - - - 0 - 2 - - 0 - 0 - - - {OS Linux:system.uname.diff(0)}>0 0 @@ -6284,19 +5484,4 @@ s3-dump hosts delete - - - Service state - - - 0 - Down - - - 1 - Up - - - - diff --git a/OS Linux/README.md b/OS Linux/README.md index c74844c..137fea2 100644 --- a/OS Linux/README.md +++ b/OS Linux/README.md @@ -11,6 +11,8 @@ Base Linux monitoring template. #### Changelog: - (devel): - Items: + - removed monitoring sshd, crond and rsyslogd as monitoring of those processes + is not essential and will be provided in separated template(s) - make template zabbix 4.0.x ready by remove using $1-$9 macros in items names - ```VOL:``` LLD items fixed Application ```VOL``` changed to per volume ```VOL::{#FSNAME}``` - ```NET:``` LLD items fixed Application ```NET``` changed to per interface ```NET::{#FSNAME}``` diff --git a/OS Solaris/OS Solaris.xml b/OS Solaris/OS Solaris.xml index b408c56..448fba3 100644 --- a/OS Solaris/OS Solaris.xml +++ b/OS Solaris/OS Solaris.xml @@ -1,7 +1,7 @@ 4.2 - 2019-06-06T14:12:40Z + 2019-06-07T13:35:10Z Templates @@ -110,67 +110,6 @@ URL: https://github.com/kloczek/zabbix-templates/tree/master/OS%20Solaris 0 - - CHK::Network port::ssh - 7 - - - net.tcp.port[,22] - 5m - 2w - 365d - 0 - 3 - - - - - 0 - 0 - - 0 - - - - 0 - - - - - - - 0 - - - NET - - - - Service state - - - - - 3s - - - - 200 - 1 - 0 - - - 0 - 0 - 0 - 0 - - - - 0 - 0 - - NET::service::$1 7 @@ -291,183 +230,6 @@ URL: https://github.com/kloczek/zabbix-templates/tree/master/OS%20Solaris 0 - - PROC::$1 - 7 - - - proc.num[crond] - 1m - 2w - 365d - 0 - 3 - - processes - - - 0 - 0 - - 0 - - - - 0 - - - - - - - 0 - - - PROC - - - - - - - 3s - - - - 200 - 1 - 0 - - - 0 - 0 - 0 - 0 - - - - 0 - 0 - - - - PROC::$1 - 7 - - - proc.num[ntpd] - 1m - 2w - 365d - 0 - 3 - - processes - - - 0 - 0 - - 0 - - - - 0 - - - - - - - 0 - - - PROC - - - - - - - 3s - - - - 200 - 1 - 0 - - - 0 - 0 - 0 - 0 - - - - 0 - 0 - - - - PROC::$1 - 7 - - - proc.num[sshd] - 1m - 2w - 365d - 0 - 3 - - processes - - - 0 - 0 - - 0 - - - - 0 - - - - - - - 0 - - - PROC - - - - - - - 3s - - - - 200 - 1 - 0 - - - 0 - 0 - 0 - 0 - - - - 0 - 0 - - SYS::process::* 7 @@ -5447,28 +5209,6 @@ Please login on the host and check output of the commands: - - {OS Solaris:net.tcp.port[,22].count(#3,0)}=3 - 0 - - NET::port::ssh unreachable - 0 - - - 0 - 3 - - 0 - 0 - - - SYS::processes::sshd is not running - {OS Solaris:proc.num[sshd].last(0)}<1 - - - - - {OS Solaris:net.tcp.service[ssh].count(#3,0)}=3 0 @@ -5577,54 +5317,6 @@ Please login on the host and check output of the commands: - - {OS Solaris:proc.num[crond].last(0)}>5 - 0 - - SYS::processes::crond > 5 processes (LV={ITEM.VALUE}) - 0 - - - 0 - 2 - - 0 - 0 - - - - - {OS Solaris:proc.num[ntpd].sum(#2)}<1 - 0 - - SYS::processes::ntpd is not running - 0 - - - 0 - 2 - - 0 - 0 - - - - - {OS Solaris:proc.num[sshd].last(0)}<1 - 0 - - SYS::processes::sshd is not running - 0 - - - 0 - 2 - - 0 - 0 - - - {OS Solaris:system.uname.diff(0)}>0 0 diff --git a/OS Solaris/README.md b/OS Solaris/README.md index b8ab710..c8d99e9 100644 --- a/OS Solaris/README.md +++ b/OS Solaris/README.md @@ -54,6 +54,8 @@ zfs:0:arcstats:snaptime - remove using ```DSK```, ```NET``` and ```VOL``` Applications and replace them by LLD prototypes ```DSK::{#DISK}```, ```NET::{#IFNAME}``` and ```VOL::{#FSNAME}``` - Items: + - removed monitoring sshd, crond and rsyslogd as monitoring of those processes + is not essential and will be provided in separated template(s) - make template zabbix 4.0.x ready by remove using $1-$9 macros in items names - copy the same set of 6 NET item LLD prototypes as in ```OS Linux``` template to cover monitoring in/out traffic in packets and bytes and errors and dropped diff --git a/README.md b/README.md index 9577ee3..82be086 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,8 @@ This repository provides a set of templates which offers the alternative set of - graphs improvements - **OS Linux** - Items: + - removed monitoring sshd, crond and rsyslogd as monitoring of those processes + is not essential and will be provided in separated template(s) - ```VOL:``` LLD items fixed Application ```VOL``` changed to per volume ```VOL::{#FSNAME}``` - ```NET:``` LLD items fixed Application ```NET``` changed to per interface ```NET::{#FSNAME}``` - Triggers: @@ -34,6 +36,8 @@ This repository provides a set of templates which offers the alternative set of - remove using ```DSK```, ```NET``` and ```VOL``` Applications and replace them by LLD prototypes ```DSK::{#DISK}```, ```NET::{#IFNAME}``` and ```VOL::{#FSNAME}``` - Items: + - removed monitoring sshd, crond and rsyslogd as monitoring of those processes + is not essential and will be provided in separated template(s) - make template zabbix 4.0.x ready by remove using $1-$9 macros in items names - copy the same set of 6 NET item LLD prototypes as in ```OS Linux``` template to cover monitoring in/out traffic in packets and bytes and errors and dropped From a055e1cbce543b525a0627f24b6a8db867406752 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Fri, 7 Jun 2019 19:53:09 +0100 Subject: [PATCH 43/76] OS Linux: chage key of the HW::CPU and SYS::rh-distribution->SYS::os-release. Replace SYS::rh-distribution by SYS::os-release which grabs the content of the /etc/os-releases using vfs.file.contents[/etc/os-release] key (this will be wortking on all LSB compliant distributions). HW::CPU item key changed from system.hw.cpu to system.hw.cpu[,model] because this option doesws not include current CPU frequency (which is constantly changing). --- OS Linux/OS Linux.xml | 236 ++++++++---------------------------------- OS Linux/README.md | 9 +- README.md | 10 +- 3 files changed, 60 insertions(+), 195 deletions(-) diff --git a/OS Linux/OS Linux.xml b/OS Linux/OS Linux.xml index 1561d70..76e35f8 100644 --- a/OS Linux/OS Linux.xml +++ b/OS Linux/OS Linux.xml @@ -1,7 +1,7 @@ 4.2 - 2019-06-07T13:35:10Z + 2019-06-07T18:46:48Z Templates @@ -1139,65 +1139,6 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff 0 - - HW::CPU - 7 - - - system.hw.cpu - 1d - 2w - 0 - 0 - 4 - - - - - 0 - 0 - - 0 - - - - 0 - - - - - - All CPUs information. - 0 - - - HW - - - - - - - 3s - - - - 200 - 1 - 0 - - - 0 - 0 - 0 - 0 - - - - 0 - 0 - - HW::CPU 7 @@ -1421,7 +1362,7 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff - 10 + 19 0 @@ -1438,7 +1379,7 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff 0 - 0 + 1 0 0 @@ -1581,70 +1522,11 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff - SYS::os-release - 7 - - - system.run["cat /etc/os-release"] - 6h - 2w - 0 - 0 - 1 - - - - - 0 - 0 - - 0 - - - - 0 - - - - - - Content of /etc/os-release. - 0 - - - SYS - - - - - - - 3s - - - - 200 - 1 - 0 - - - 0 - 1 - 0 - 0 - - - - 0 - 0 - - - - SYS::rh-distribution + SYS::OS::version 7 - system.run["cat /etc/redhat-release"] + system.sw.os[full] 6h 2w 0 @@ -1667,8 +1549,8 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff - Content of /etc/redhat-release. - 7 + OS info. + 6 SYS @@ -1699,16 +1581,16 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff - SYS::OS::version + SYS::software 7 - system.sw.os[full] + system.sw.packages 6h 2w 0 0 - 1 + 4 @@ -1726,8 +1608,8 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff - OS info. - 6 + Full list of installed packages. + 17 SYS @@ -1758,16 +1640,16 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff - SYS::software + SYS::uname 7 - system.sw.packages + system.uname 6h 2w 0 0 - 4 + 1 @@ -1785,8 +1667,8 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff - Full list of installed packages. - 17 + The information as normally returned by 'uname -a'. + 5 SYS @@ -1817,18 +1699,18 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff - SYS::uname + SYS::uptime 7 - system.uname - 6h + system.uptime + 1m 2w - 0 + 365d 0 - 1 + 3 - + uptime 0 @@ -1844,8 +1726,8 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff - The information as normally returned by 'uname -a'. - 5 + The OS uptime. + 70 SYS @@ -1876,18 +1758,18 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff - SYS::uptime + SYS::users sessions 7 - system.uptime + system.users.num 1m 2w 365d 0 3 - uptime + tty sessions 0 @@ -1903,8 +1785,8 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff - The OS uptime. - 70 + Number of users tty sessions who are currently logged in. + 0 SYS @@ -1935,18 +1817,18 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff - SYS::users sessions + CHK::Checksum::$1 7 - system.users.num - 1m + vfs.file.cksum[/etc/passwd] + 1h 2w 365d 0 3 - tty sessions + 0 @@ -1962,11 +1844,11 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff - Number of users tty sessions who are currently logged in. + Check sum of /etc/passwd. 0 - SYS + CHK::Integrity @@ -1994,16 +1876,16 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff - CHK::Checksum::$1 + SYS::os-release 7 - vfs.file.cksum[/etc/passwd] - 1h + vfs.file.contents[/etc/os-release] + 6h 2w - 365d + 0 0 - 3 + 1 @@ -2021,11 +1903,11 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff - Check sum of /etc/passwd. - 0 + Content of /etc/os-release. + 7 - CHK::Integrity + SYS @@ -2042,7 +1924,7 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff 0 - 0 + 1 0 0 @@ -3027,18 +2909,6 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff system.run["/bin/netstat -s|/bin/sed -n 's/\(.*\)failed connection attempts/\1/ p'"] - - 3 - 0 - 999999 - 0 - 7 - 0 - - OS Linux - system.run["/bin/netstat -s|/bin/sed -n 's/\( *\)\(.*\) segments retransmitted*/\2/ p'"] - - @@ -4836,22 +4706,6 @@ Value is calculated by read number of sectors multiplied by 512. - - {OS Linux:system.hw.cpu.diff()}=1 - 0 - - HW::CPU info has changed - 0 - - - 0 - 1 - CPUs information has change. - 0 - 0 - - - {OS Linux:system.hw.cpu[,model].diff()}=1 0 diff --git a/OS Linux/README.md b/OS Linux/README.md index 137fea2..9c7f1b2 100644 --- a/OS Linux/README.md +++ b/OS Linux/README.md @@ -11,11 +11,16 @@ Base Linux monitoring template. #### Changelog: - (devel): - Items: + - replace ```SYS::rh-distribution``` by ```SYS::os-release``` which grabs the content of the + ```/etc/os-releases``` using ```vfs.file.contents[/etc/os-release]``` key + (this will be wortking on all LSB compliant distributions) + - ```HW::CPU```` item key changed from ```system.hw.cpu``` to ```system.hw.cpu[,model]``` + because this option doesws not include current CPU frequency (which is constantly changing) - removed monitoring sshd, crond and rsyslogd as monitoring of those processes is not essential and will be provided in separated template(s) + - ```NET:``` LLD items Application changed from ```NET``` prototype ```NET::{#FSNAME}``` + - ```VOL:``` LLD items Application changed from ```VOL``` prototype ```VOL::{#FSNAME}``` - make template zabbix 4.0.x ready by remove using $1-$9 macros in items names - - ```VOL:``` LLD items fixed Application ```VOL``` changed to per volume ```VOL::{#FSNAME}``` - - ```NET:``` LLD items fixed Application ```NET``` changed to per interface ```NET::{#FSNAME}``` - Triggers: - '''SYS::Host is down''' corrected descrition - 1.0.4 (2018-06-11) diff --git a/README.md b/README.md index 82be086..370d189 100644 --- a/README.md +++ b/README.md @@ -25,10 +25,16 @@ This repository provides a set of templates which offers the alternative set of - graphs improvements - **OS Linux** - Items: + - replace ```SYS::rh-distribution``` by ```SYS::os-release``` which grabs the content of the + ```/etc/os-releases``` using ```vfs.file.contents[/etc/os-release]``` key + (this will be wortking on all LSB compliant distributions) + - ```HW::CPU```` item key changed from ```system.hw.cpu``` to ```system.hw.cpu[,model]``` + because this option doesws not include current CPU frequency (which is constantly changing) - removed monitoring sshd, crond and rsyslogd as monitoring of those processes is not essential and will be provided in separated template(s) - - ```VOL:``` LLD items fixed Application ```VOL``` changed to per volume ```VOL::{#FSNAME}``` - - ```NET:``` LLD items fixed Application ```NET``` changed to per interface ```NET::{#FSNAME}``` + - ```NET:``` LLD items Application changed from ```NET``` prototype ```NET::{#FSNAME}``` + - ```VOL:``` LLD items Application changed from ```VOL``` prototype ```VOL::{#FSNAME}``` + - make template zabbix 4.0.x ready by remove using $1-$9 macros in items names - Triggers: - '''SYS::Host is down''' corrected descrition - **OS Solaris** From f5f6631c8ac1f8776d15924baf1862f3114a094c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Fri, 7 Jun 2019 19:58:11 +0100 Subject: [PATCH 44/76] OS Linux: NET::segments retransmitted now works on latest and old Linux distributions. NET::segments retransmitted sed regexp changed to cover old "segments retransmited" --- OS Linux/OS Linux.xml | 4 ++-- OS Linux/README.md | 2 ++ README.md | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/OS Linux/OS Linux.xml b/OS Linux/OS Linux.xml index 76e35f8..ce4b517 100644 --- a/OS Linux/OS Linux.xml +++ b/OS Linux/OS Linux.xml @@ -1,7 +1,7 @@ 4.2 - 2019-06-07T18:46:48Z + 2019-06-07T18:54:05Z Templates @@ -1328,7 +1328,7 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff 7 - system.run["/bin/netstat -s|/bin/sed -n 's/\( *\)\(.*\) segments retransmitted*/\2/ p'"] + system.run["/bin/netstat -s|/bin/sed -n 's/\( *\)\(.*\) segments retransmit.*ed*/\2/ p'"] 1m 2w 365d diff --git a/OS Linux/README.md b/OS Linux/README.md index 9c7f1b2..2fe28c0 100644 --- a/OS Linux/README.md +++ b/OS Linux/README.md @@ -11,6 +11,8 @@ Base Linux monitoring template. #### Changelog: - (devel): - Items: + - ```NET::segments retransmitted``` sed regexp changed to cover old "segments retransmited" + output as well - replace ```SYS::rh-distribution``` by ```SYS::os-release``` which grabs the content of the ```/etc/os-releases``` using ```vfs.file.contents[/etc/os-release]``` key (this will be wortking on all LSB compliant distributions) diff --git a/README.md b/README.md index 370d189..bae530a 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,8 @@ This repository provides a set of templates which offers the alternative set of - graphs improvements - **OS Linux** - Items: + - ```NET::segments retransmitted``` sed regexp changed to cover old "segments retransmited" + output as well - replace ```SYS::rh-distribution``` by ```SYS::os-release``` which grabs the content of the ```/etc/os-releases``` using ```vfs.file.contents[/etc/os-release]``` key (this will be wortking on all LSB compliant distributions) From f52509224f85f6ccbaab2d3a7c7d1515fd9d116a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Fri, 7 Jun 2019 20:00:10 +0100 Subject: [PATCH 45/76] OS Linux: use in DSK: LLD items Application prototype DSK::{#DISK} DSK: LLD items Application changed from DSK prototype DSK::{#DISK} --- OS Linux/OS Linux.xml | 26 +++++++++++++++++++++----- OS Linux/README.md | 1 + README.md | 1 + 3 files changed, 23 insertions(+), 5 deletions(-) diff --git a/OS Linux/OS Linux.xml b/OS Linux/OS Linux.xml index ce4b517..3b1f127 100644 --- a/OS Linux/OS Linux.xml +++ b/OS Linux/OS Linux.xml @@ -1,7 +1,7 @@ 4.2 - 2019-06-07T18:54:05Z + 2019-06-07T18:59:17Z Templates @@ -3125,7 +3125,11 @@ Discovery of storage devices is filtered over global regular expression "OS Linu 0 0 - + + + DSK::{#DISK} + + @@ -3195,7 +3199,11 @@ Value is calculated by read number of sectors multiplied by 512. 0 0 - + + + DSK::{#DISK} + + @@ -3258,7 +3266,11 @@ Value is calculated by read number of sectors multiplied by 512. 0 0 - + + + DSK::{#DISK} + + @@ -3328,7 +3340,11 @@ Value is calculated by read number of sectors multiplied by 512. 0 0 - + + + DSK::{#DISK} + + diff --git a/OS Linux/README.md b/OS Linux/README.md index 2fe28c0..de8d77c 100644 --- a/OS Linux/README.md +++ b/OS Linux/README.md @@ -20,6 +20,7 @@ Base Linux monitoring template. because this option doesws not include current CPU frequency (which is constantly changing) - removed monitoring sshd, crond and rsyslogd as monitoring of those processes is not essential and will be provided in separated template(s) + - ```DSK:``` LLD items Application changed from ```DSK``` prototype ```DSK::{#DISK}``` - ```NET:``` LLD items Application changed from ```NET``` prototype ```NET::{#FSNAME}``` - ```VOL:``` LLD items Application changed from ```VOL``` prototype ```VOL::{#FSNAME}``` - make template zabbix 4.0.x ready by remove using $1-$9 macros in items names diff --git a/README.md b/README.md index bae530a..3dfcfe4 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ This repository provides a set of templates which offers the alternative set of because this option doesws not include current CPU frequency (which is constantly changing) - removed monitoring sshd, crond and rsyslogd as monitoring of those processes is not essential and will be provided in separated template(s) + - ```DSK:``` LLD items Application changed from ```DSK``` prototype ```DSK::{#DISK}``` - ```NET:``` LLD items Application changed from ```NET``` prototype ```NET::{#FSNAME}``` - ```VOL:``` LLD items Application changed from ```VOL``` prototype ```VOL::{#FSNAME}``` - make template zabbix 4.0.x ready by remove using $1-$9 macros in items names From 3630e31f84d2e7bfecd2e5cd17f1368af2c15173 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Fri, 7 Jun 2019 21:17:33 +0100 Subject: [PATCH 46/76] OS Linux: VOL: triggers fixes Rewrited VOL triggers to use proper severities and triggers prototypes dependencies. --- OS Linux/OS Linux.xml | 162 +++++++++++------------------------------- OS Linux/README.md | 2 + README.md | 2 + 3 files changed, 45 insertions(+), 121 deletions(-) diff --git a/OS Linux/OS Linux.xml b/OS Linux/OS Linux.xml index 3b1f127..7e26a1a 100644 --- a/OS Linux/OS Linux.xml +++ b/OS Linux/OS Linux.xml @@ -1,7 +1,7 @@ 4.2 - 2019-06-07T18:59:17Z + 2019-06-07T19:32:02Z Templates @@ -3869,38 +3869,6 @@ Value is calculated by read number of sectors multiplied by 512. - - {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<15 - 0 - - VOL::{#FSNAME}::free {ITEM.VALUE} - 0 - - - 0 - 1 - FS volume free space is less than 15%. - 0 - 0 - - - - - {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<15 and {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}>10 - 0 - - VOL::{#FSNAME}::free {ITEM.VALUE} - 0 - - - 0 - 1 - FS volume free space is between 85% and 90%. - 0 - 0 - - - {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=1 0 @@ -3910,11 +3878,27 @@ Value is calculated by read number of sectors multiplied by 512. 0 - 3 + 5 FS volume free space is less than 1%. 0 0 - + + + VOL::{#FSNAME}::free {ITEM.VALUE} + {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=5 + + + + VOL::{#FSNAME}::free {ITEM.VALUE} + {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=10 + + + + VOL::{#FSNAME}::free {ITEM.VALUE} + {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=15 + + + @@ -3933,33 +3917,17 @@ Value is calculated by read number of sectors multiplied by 512. VOL::{#FSNAME}::free {ITEM.VALUE} - {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<15 + {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=10 VOL::{#FSNAME}::free {ITEM.VALUE} - {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=10 + {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=15 - - {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=5 and {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}>1 - 0 - - VOL::{#FSNAME}::free {ITEM.VALUE} - 0 - - - 0 - 3 - FS volume free space is between 1% and 5%. - 0 - 0 - - - {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=10 0 @@ -3976,28 +3944,12 @@ Value is calculated by read number of sectors multiplied by 512. VOL::{#FSNAME}::free {ITEM.VALUE} - {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<15 + {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=15 - - {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=10 and {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}>5 - 0 - - VOL::{#FSNAME}::free {ITEM.VALUE} - 0 - - - 0 - 2 - FS volume free space is between 90% and 95%. - 0 - 0 - - - {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=15 0 @@ -4008,7 +3960,7 @@ Value is calculated by read number of sectors multiplied by 512. 0 1 - FS volume free space is <=15%. + FS volume free space is less than 15%. 0 0 @@ -4030,22 +3982,6 @@ Value is calculated by read number of sectors multiplied by 512. - - {OS Linux:vfs.fs.inode[{#FSNAME},pfree].last()}<15 and {OS Linux:vfs.fs.inode[{#FSNAME},pfree].last()}>10 - 0 - - VOL::{#FSNAME}::inodes::free {ITEM.VALUE} - 0 - - - 0 - 1 - FS volume inodes free space is between 15% and 10%. - 0 - 0 - - - {OS Linux:vfs.fs.inode[{#FSNAME},pfree].last()}<=1 0 @@ -4055,11 +3991,27 @@ Value is calculated by read number of sectors multiplied by 512. 0 - 3 + 5 FS volume inodes free space is less than 1%. 0 0 - + + + VOL::{#FSNAME}::inodes::free {ITEM.VALUE} + {OS Linux:vfs.fs.inode[{#FSNAME},pfree].last()}<15 + + + + VOL::{#FSNAME}::inodes::free {ITEM.VALUE} + {OS Linux:vfs.fs.inode[{#FSNAME},pfree].last()}<=5 + + + + VOL::{#FSNAME}::inodes::free {ITEM.VALUE} + {OS Linux:vfs.fs.inode[{#FSNAME},pfree].last()}<=10 + + + @@ -4089,22 +4041,6 @@ Value is calculated by read number of sectors multiplied by 512. - - {OS Linux:vfs.fs.inode[{#FSNAME},pfree].last()}<=5 and {OS Linux:vfs.fs.inode[{#FSNAME},pfree].last()}>1 - 0 - - VOL::{#FSNAME}::inodes::free {ITEM.VALUE} - 0 - - - 0 - 3 - FS volume inodes free space is between 5% and 1%. - 0 - 0 - - - {OS Linux:vfs.fs.inode[{#FSNAME},pfree].last()}<=10 0 @@ -4127,22 +4063,6 @@ Value is calculated by read number of sectors multiplied by 512. - - {OS Linux:vfs.fs.inode[{#FSNAME},pfree].last()}<=10 and {OS Linux:vfs.fs.inode[{#FSNAME},pfree].last()}>5 - 0 - - VOL::{#FSNAME}::inodes::free {ITEM.VALUE} - 0 - - - 0 - 2 - FS volume inodes free space is between 10% and 5%. - 0 - 0 - - - diff --git a/OS Linux/README.md b/OS Linux/README.md index de8d77c..e945ad8 100644 --- a/OS Linux/README.md +++ b/OS Linux/README.md @@ -24,6 +24,8 @@ Base Linux monitoring template. - ```NET:``` LLD items Application changed from ```NET``` prototype ```NET::{#FSNAME}``` - ```VOL:``` LLD items Application changed from ```VOL``` prototype ```VOL::{#FSNAME}``` - make template zabbix 4.0.x ready by remove using $1-$9 macros in items names + - LLD: + - rewrited ```VOL``` triggers to use proper severities and triggers prototypes dependencies - Triggers: - '''SYS::Host is down''' corrected descrition - 1.0.4 (2018-06-11) diff --git a/README.md b/README.md index 3dfcfe4..f72febd 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,8 @@ This repository provides a set of templates which offers the alternative set of - ```NET:``` LLD items Application changed from ```NET``` prototype ```NET::{#FSNAME}``` - ```VOL:``` LLD items Application changed from ```VOL``` prototype ```VOL::{#FSNAME}``` - make template zabbix 4.0.x ready by remove using $1-$9 macros in items names + - LLD: + - rewrited ```VOL``` triggers to use proper severities and triggers prototypes dependencies - Triggers: - '''SYS::Host is down''' corrected descrition - **OS Solaris** From 070e1a2e02bd754346297cb366db6f1ec0456724 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Sat, 8 Jun 2019 14:57:59 +0100 Subject: [PATCH 47/76] OS Solaris: remove NET::service::$i item and associated trigger as well. --- OS Solaris/OS Solaris.xml | 79 +-------------------------------------- 1 file changed, 1 insertion(+), 78 deletions(-) diff --git a/OS Solaris/OS Solaris.xml b/OS Solaris/OS Solaris.xml index 448fba3..21797f4 100644 --- a/OS Solaris/OS Solaris.xml +++ b/OS Solaris/OS Solaris.xml @@ -1,7 +1,7 @@ 4.2 - 2019-06-07T13:35:10Z + 2019-06-08T13:56:42Z Templates @@ -110,67 +110,6 @@ URL: https://github.com/kloczek/zabbix-templates/tree/master/OS%20Solaris 0 - - NET::service::$1 - 7 - - - net.tcp.service[ssh] - 5m - 2w - 365d - 0 - 3 - - - - - 0 - 0 - - 0 - - - - 0 - - - - - - - 0 - - - NET - - - - Service state - - - - - 3s - - - - 200 - 1 - 0 - - - 0 - 0 - 0 - 0 - - - - 0 - 0 - - SYS::process::running 7 @@ -5209,22 +5148,6 @@ Please login on the host and check output of the commands: - - {OS Solaris:net.tcp.service[ssh].count(#3,0)}=3 - 0 - - SVC::ssh is down - 0 - - - 0 - 3 - - 0 - 0 - - - {OS Solaris:icmpping.count(#10,0,"eq")}>9 and {OS Solaris:agent.ping.nodata(15m)}=1 and From e30dea62fabf7c28be623a818b50a13157afb239 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Sat, 8 Jun 2019 15:14:02 +0100 Subject: [PATCH 48/76] OS Solaris: removed duplicated SYS::Host is down trigger. --- OS Solaris/OS Solaris.xml | 25 +------------------------ OS Solaris/README.md | 5 +++-- 2 files changed, 4 insertions(+), 26 deletions(-) diff --git a/OS Solaris/OS Solaris.xml b/OS Solaris/OS Solaris.xml index 21797f4..2c5a651 100644 --- a/OS Solaris/OS Solaris.xml +++ b/OS Solaris/OS Solaris.xml @@ -1,7 +1,7 @@ 4.2 - 2019-06-08T13:56:42Z + 2019-06-08T14:01:18Z Templates @@ -5169,29 +5169,6 @@ Please login on the host and check output of the commands: - - {OS Solaris:icmpping[].count(#10,0,"eq")}>9 and {OS Solaris:agent.ping.nodata(1h)}=1 - 0 - - SYS::Host is down - 0 - - - 0 - 3 - Instructions on how to handle this trigger if is active: -* with daily autoscaling like PERF, PAT or DEV -> delete box -* if it is PROD or STAGE box: -** remove all groups and assign box to "Terminated instances" group -** change Name to "term YYYY-MM-DD <orig_Name>" -** set host Monitored by proxy -> (no proxy) -** change state to "not monitored" -* anything else -> investigate -> acknowledge and raise jira ticket if it is something unusual - 0 - 0 - - - {OS Solaris:system.uptime.last(0)}<10m 0 diff --git a/OS Solaris/README.md b/OS Solaris/README.md index c8d99e9..bd9e5d7 100644 --- a/OS Solaris/README.md +++ b/OS Solaris/README.md @@ -63,8 +63,9 @@ zfs:0:arcstats:snaptime - changed ```VOL:``` LLD items Application from fixed ```VOL``` to per volume ```VOL::{#FSNAME}``` and added LLD VOL items descriptions - Triggers: - - Added ```SYS::Host is down``` - - Added ```CPU::idle {ITEM.VALUE}``` + - removed duplicated ```SYS::Host is down``` trigger + - added ```SYS::Host is down``` + - added ```CPU::idle {ITEM.VALUE}``` - 1.0.4 (2018-06-11) - Triggers: - fixed typo in trigger name s/SYS:uname changed/```SYS::uname changed```/ From 332327c83342c94c867d6436ede802879281b27b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Mon, 10 Jun 2019 14:17:57 +0100 Subject: [PATCH 49/76] OS Linux: LXC monitoring adaptation Added in "VOL:" LLD filter off all volumes mounted under /var/lib/lxc. If OS Linux template will used inside of each LXC container it will provide proper not duplicated monirtoring of the LXC container volumes. --- OS Linux/OS Linux.xml | 10 ++++++++-- OS Linux/README.md | 4 ++++ README.md | 4 ++++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/OS Linux/OS Linux.xml b/OS Linux/OS Linux.xml index 7e26a1a..1343370 100644 --- a/OS Linux/OS Linux.xml +++ b/OS Linux/OS Linux.xml @@ -1,7 +1,7 @@ 4.2 - 2019-06-07T19:32:02Z + 2019-06-10T12:56:35Z Templates @@ -3494,12 +3494,18 @@ Value is calculated by read number of sectors multiplied by 512. {#FSTYPE} ^(btrfs|ext2|ext3|ext4|jfs|reiser|xfs|ffs|ufs|jfs|jfs2|vxfs|hfs|refs|ntfs|fat32|zfs)$ 8 - B + C {#FSNAME} ^(?!(^/run/media)) 8 + B + + + {#FSNAME} + ^(?!(^/var/lib/lxc)) + 8 A diff --git a/OS Linux/README.md b/OS Linux/README.md index e945ad8..1d96c60 100644 --- a/OS Linux/README.md +++ b/OS Linux/README.md @@ -26,6 +26,10 @@ Base Linux monitoring template. - make template zabbix 4.0.x ready by remove using $1-$9 macros in items names - LLD: - rewrited ```VOL``` triggers to use proper severities and triggers prototypes dependencies + - LXC monitoring adaptations: + - add in ```VOL:``` LLD filter off all volumes mounted under /var/lib/lxc. If ```OS Linux``` + template will used inside of each LXC container it will provide proper not duplicated + monirtoring of the LXC container volumes - Triggers: - '''SYS::Host is down''' corrected descrition - 1.0.4 (2018-06-11) diff --git a/README.md b/README.md index f72febd..fa955a1 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,10 @@ This repository provides a set of templates which offers the alternative set of - make template zabbix 4.0.x ready by remove using $1-$9 macros in items names - LLD: - rewrited ```VOL``` triggers to use proper severities and triggers prototypes dependencies + - LXC monitoring adaptations: + - add in ```VOL:``` LLD filter off all volumes mounted under /var/lib/lxc. If ```OS Linux``` + template will used inside of each LXC container it will provide proper not duplicated + monirtoring of the LXC container volumes - Triggers: - '''SYS::Host is down''' corrected descrition - **OS Solaris** From bfffbb7257de314a96fd1e692a2ce5e6e5896f6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Tue, 30 Jul 2019 13:18:57 +0100 Subject: [PATCH 50/76] OS Linux: "DSK, NET" screen added. --- OS Linux/OS Linux.xml | 91 +++++++++++++++++++++++++++++++++---------- OS Linux/README.md | 2 + README.md | 5 +++ 3 files changed, 78 insertions(+), 20 deletions(-) diff --git a/OS Linux/OS Linux.xml b/OS Linux/OS Linux.xml index 1343370..829504a 100644 --- a/OS Linux/OS Linux.xml +++ b/OS Linux/OS Linux.xml @@ -1,7 +1,7 @@ 4.2 - 2019-06-10T12:56:35Z + 2019-06-21T16:52:01Z Templates @@ -1324,18 +1324,18 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff - NET::segments retransmitted + NET::Failed connection attempts 7 - system.run["/bin/netstat -s|/bin/sed -n 's/\( *\)\(.*\) segments retransmit.*ed*/\2/ p'"] + system.run["/bin/netstat -s|/bin/sed -n 's/\( *\)\(.*\)failed connection attempts/\2/ p'"] 1m 2w 365d 0 0 - segm/s + events/s 0 @@ -1362,7 +1362,7 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff - 19 + 10 0 @@ -1379,7 +1379,7 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff 0 - 1 + 0 0 0 @@ -1390,18 +1390,18 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff - NET::Connections aborted due to timeout + NET::segments retransmitted 7 - system.run["/bin/netstat -s|/bin/sed -n 's/\(.*\)connections aborted due to timeout/\1/ p'"] + system.run["/bin/netstat -s|/bin/sed -n 's/\( *\)\(.*\) segments retransmit.*ed*/\2/ p'"] 1m 2w 365d 0 0 - events/s + segm/s 0 @@ -1428,7 +1428,7 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff - 10 + 19 0 @@ -1445,7 +1445,7 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff 0 - 0 + 1 0 0 @@ -1456,11 +1456,11 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff - NET::Failed connection attempts + NET::Connections aborted due to timeout 7 - system.run["/bin/netstat -s|/bin/sed -n 's/\(.*\)failed connection attempts/\1/ p'"] + system.run["/bin/netstat -s|/bin/sed -n 's/\(.*\)connections aborted due to timeout/\1/ p'"] 1m 2w 365d @@ -2906,7 +2906,7 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff 0 OS Linux - system.run["/bin/netstat -s|/bin/sed -n 's/\(.*\)failed connection attempts/\1/ p'"] + system.run["/bin/netstat -s|/bin/sed -n 's/\( *\)\(.*\)failed connection attempts/\2/ p'"] @@ -3053,7 +3053,7 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff {#DISK} - @OS Linux::BlkDev + ^(?!(​sr[0-9]$|​fd[0-9]$|​sd[a-z][0-9]$|​xvd[a-z][0-9]$|​hd[a-z][0-9]$|​cciss/c0d0p[0-9]$|​^loop|​^ram|​^zram)) 8 A @@ -4091,8 +4091,8 @@ Value is calculated by read number of sectors multiplied by 512. 0 - 2 - 0000DD + 5 + FF4000 0 7 0 @@ -4103,8 +4103,8 @@ Value is calculated by read number of sectors multiplied by 512. 1 - 2 - DD00DD + 5 + 80FF00 0 7 0 @@ -4368,6 +4368,57 @@ Value is calculated by read number of sectors multiplied by 512. + + DSK, NET + 2 + 1 + + + 20 + 600 + 200 + 0 + 0 + 1 + 1 + 0 + 1 + 1 + + + 0 + 0 + + DSK::{#DISK}::IOs + OS Linux + + 1 + + + + 20 + 600 + 200 + 1 + 0 + 1 + 1 + 0 + 1 + 0 + + + 0 + 0 + + NET::{#IFNAME}::bytes + OS Linux + + 1 + + + + MEM 1 @@ -5166,7 +5217,7 @@ s3-dump hosts delete 0 OS Linux - system.run["/bin/netstat -s|/bin/sed -n 's/\(.*\)failed connection attempts/\1/ p'"] + system.run["/bin/netstat -s|/bin/sed -n 's/\( *\)\(.*\)failed connection attempts/\2/ p'"] diff --git a/OS Linux/README.md b/OS Linux/README.md index 1d96c60..c126e36 100644 --- a/OS Linux/README.md +++ b/OS Linux/README.md @@ -30,6 +30,8 @@ Base Linux monitoring template. - add in ```VOL:``` LLD filter off all volumes mounted under /var/lib/lxc. If ```OS Linux``` template will used inside of each LXC container it will provide proper not duplicated monirtoring of the LXC container volumes + - Screens: + - ```DSK, NET``` added - Triggers: - '''SYS::Host is down''' corrected descrition - 1.0.4 (2018-06-11) diff --git a/README.md b/README.md index fa955a1..fc10774 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,8 @@ This repository provides a set of templates which offers the alternative set of - add in ```VOL:``` LLD filter off all volumes mounted under /var/lib/lxc. If ```OS Linux``` template will used inside of each LXC container it will provide proper not duplicated monirtoring of the LXC container volumes + - Screens: + - ```DSK, NET``` added - Triggers: - '''SYS::Host is down''' corrected descrition - **OS Solaris** @@ -106,6 +108,9 @@ This repository provides a set of templates which offers the alternative set of - "processing queue" and flame like graph with "queued items" - "items totat/unsupported" and "items::nvps" - "items/triggers" and "hosts" +- **Service Zabbix Proxy** + - Graphs: + - ```SVC::zabbix_proxy::data gathering process busy %``` change the color of the ```http poller``` to bright yellow - All graphs in screens resolution have been changed to 1200x200 or 600x200 in case screens with two columns of graphs ### 1.0.4 (2018-06-11) - The first version tagged in git repo to stamp state of templates and tools and to provide better tracking changes by using ```git``` command From 5cf624652114c795171177a46e6e4a92beacadfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Tue, 30 Jul 2019 13:26:28 +0100 Subject: [PATCH 51/76] OS Linux: Added 4th level of the alarm in VOL::{#FSNAME}::free {ITEM.VALUE} LLD trigger. Now alarms are raised <1%, <%5, <10% and now <20% free volume space. --- OS Linux/OS Linux.xml | 146 +++++++++++++++++++++++++++++++----------- OS Linux/README.md | 2 + README.md | 2 + 3 files changed, 114 insertions(+), 36 deletions(-) diff --git a/OS Linux/OS Linux.xml b/OS Linux/OS Linux.xml index 829504a..9270cc2 100644 --- a/OS Linux/OS Linux.xml +++ b/OS Linux/OS Linux.xml @@ -1,7 +1,7 @@ 4.2 - 2019-06-21T16:52:01Z + 2019-07-30T12:19:49Z Templates @@ -3888,27 +3888,33 @@ Value is calculated by read number of sectors multiplied by 512. FS volume free space is less than 1%. 0 0 + + + + + {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=5 + 0 + + VOL::{#FSNAME}::free {ITEM.VALUE} + 0 + + + 0 + 4 + FS volume free space is less than 5%. + 0 + 0 VOL::{#FSNAME}::free {ITEM.VALUE} - {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=5 - - - - VOL::{#FSNAME}::free {ITEM.VALUE} - {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=10 - - - - VOL::{#FSNAME}::free {ITEM.VALUE} - {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=15 + {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=1 - {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=5 + {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=10 0 VOL::{#FSNAME}::free {ITEM.VALUE} @@ -3917,25 +3923,25 @@ Value is calculated by read number of sectors multiplied by 512. 0 3 - FS volume free space is less than 5%. + FS volume free space is less than 10%. 0 0 VOL::{#FSNAME}::free {ITEM.VALUE} - {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=10 + {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=1 VOL::{#FSNAME}::free {ITEM.VALUE} - {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=15 + {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=5 - {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=10 + {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=15 0 VOL::{#FSNAME}::free {ITEM.VALUE} @@ -3944,20 +3950,30 @@ Value is calculated by read number of sectors multiplied by 512. 0 2 - FS volume free space is less than 10%. + FS volume free space is less than 15%. 0 0 VOL::{#FSNAME}::free {ITEM.VALUE} - {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=15 + {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=1 + + + + VOL::{#FSNAME}::free {ITEM.VALUE} + {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=5 + + + + VOL::{#FSNAME}::free {ITEM.VALUE} + {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=10 - {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=15 + {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=20 0 VOL::{#FSNAME}::free {ITEM.VALUE} @@ -3966,10 +3982,31 @@ Value is calculated by read number of sectors multiplied by 512. 0 1 - FS volume free space is less than 15%. + FS volume free space is less than 20%. 0 0 - + + + VOL::{#FSNAME}::free {ITEM.VALUE} + {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=1 + + + + VOL::{#FSNAME}::free {ITEM.VALUE} + {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=5 + + + + VOL::{#FSNAME}::free {ITEM.VALUE} + {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=10 + + + + VOL::{#FSNAME}::free {ITEM.VALUE} + {OS Linux:vfs.fs.size[{#FSNAME},pfree].last()}<=15 + + + @@ -3981,15 +4018,31 @@ Value is calculated by read number of sectors multiplied by 512. 0 - 1 + 2 FS volume inodes free space is less than 15%. 0 0 - + + + VOL::{#FSNAME}::inodes::free {ITEM.VALUE} + {OS Linux:vfs.fs.inode[{#FSNAME},pfree].last()}<=1 + + + + VOL::{#FSNAME}::inodes::free {ITEM.VALUE} + {OS Linux:vfs.fs.inode[{#FSNAME},pfree].last()}<=5 + + + + VOL::{#FSNAME}::inodes::free {ITEM.VALUE} + {OS Linux:vfs.fs.inode[{#FSNAME},pfree].last()}<=10 + + + - {OS Linux:vfs.fs.inode[{#FSNAME},pfree].last()}<=1 + {OS Linux:vfs.fs.inode[{#FSNAME},pfree].last()}<20 0 VOL::{#FSNAME}::inodes::free {ITEM.VALUE} @@ -3997,8 +4050,8 @@ Value is calculated by read number of sectors multiplied by 512. 0 - 5 - FS volume inodes free space is less than 1%. + 1 + FS volume inodes free space is less than 20%. 0 0 @@ -4007,6 +4060,11 @@ Value is calculated by read number of sectors multiplied by 512. {OS Linux:vfs.fs.inode[{#FSNAME},pfree].last()}<15 + + VOL::{#FSNAME}::inodes::free {ITEM.VALUE} + {OS Linux:vfs.fs.inode[{#FSNAME},pfree].last()}<=1 + + VOL::{#FSNAME}::inodes::free {ITEM.VALUE} {OS Linux:vfs.fs.inode[{#FSNAME},pfree].last()}<=5 @@ -4020,6 +4078,22 @@ Value is calculated by read number of sectors multiplied by 512. + + {OS Linux:vfs.fs.inode[{#FSNAME},pfree].last()}<=1 + 0 + + VOL::{#FSNAME}::inodes::free {ITEM.VALUE} + 0 + + + 0 + 5 + FS volume inodes free space is less than 1%. + 0 + 0 + + + {OS Linux:vfs.fs.inode[{#FSNAME},pfree].last()}<=5 0 @@ -4029,19 +4103,14 @@ Value is calculated by read number of sectors multiplied by 512. 0 - 3 + 4 FS volume inodes free space is less than 5%. 0 0 VOL::{#FSNAME}::inodes::free {ITEM.VALUE} - {OS Linux:vfs.fs.inode[{#FSNAME},pfree].last()}<15 - - - - VOL::{#FSNAME}::inodes::free {ITEM.VALUE} - {OS Linux:vfs.fs.inode[{#FSNAME},pfree].last()}<=10 + {OS Linux:vfs.fs.inode[{#FSNAME},pfree].last()}<=1 @@ -4056,14 +4125,19 @@ Value is calculated by read number of sectors multiplied by 512. 0 - 2 + 3 FS volume inodes free space is less than 10%. 0 0 VOL::{#FSNAME}::inodes::free {ITEM.VALUE} - {OS Linux:vfs.fs.inode[{#FSNAME},pfree].last()}<15 + {OS Linux:vfs.fs.inode[{#FSNAME},pfree].last()}<=1 + + + + VOL::{#FSNAME}::inodes::free {ITEM.VALUE} + {OS Linux:vfs.fs.inode[{#FSNAME},pfree].last()}<=5 diff --git a/OS Linux/README.md b/OS Linux/README.md index c126e36..dc6cdef 100644 --- a/OS Linux/README.md +++ b/OS Linux/README.md @@ -30,6 +30,8 @@ Base Linux monitoring template. - add in ```VOL:``` LLD filter off all volumes mounted under /var/lib/lxc. If ```OS Linux``` template will used inside of each LXC container it will provide proper not duplicated monirtoring of the LXC container volumes + - Added 4th level of the alarm in ```VOL::{#FSNAME}::free {ITEM.VALUE}``` LLD trigger + Now alarms are raised <1%, <%5, <10% and now <20% free volume space - Screens: - ```DSK, NET``` added - Triggers: diff --git a/README.md b/README.md index fc10774..0a26c07 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,8 @@ This repository provides a set of templates which offers the alternative set of - add in ```VOL:``` LLD filter off all volumes mounted under /var/lib/lxc. If ```OS Linux``` template will used inside of each LXC container it will provide proper not duplicated monirtoring of the LXC container volumes + - Added 4th level of the alarm in ```VOL::{#FSNAME}::free {ITEM.VALUE}``` LLD trigger + Now alarms are raised <1%, <%5, <10% and now <20% free volume space - Screens: - ```DSK, NET``` added - Triggers: From 739b2bba9e9d6f75a30ae412380622d1834c8a61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Tue, 30 Jul 2019 13:38:47 +0100 Subject: [PATCH 52/76] OS Linux: fixed "DSK:" filter to get reed of loop devices. Use "^loop.[0-9]" instead "^loop". --- OS Linux/OS Linux.xml | 4 ++-- OS Linux/README.md | 1 + README.md | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/OS Linux/OS Linux.xml b/OS Linux/OS Linux.xml index 9270cc2..7693fea 100644 --- a/OS Linux/OS Linux.xml +++ b/OS Linux/OS Linux.xml @@ -1,7 +1,7 @@ 4.2 - 2019-07-30T12:19:49Z + 2019-07-30T12:35:13Z Templates @@ -3053,7 +3053,7 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff {#DISK} - ^(?!(​sr[0-9]$|​fd[0-9]$|​sd[a-z][0-9]$|​xvd[a-z][0-9]$|​hd[a-z][0-9]$|​cciss/c0d0p[0-9]$|​^loop|​^ram|​^zram)) + ^(?!(​sr[0-9]$|​fd[0-9]$|​sd[a-z][0-9]$|​xvd[a-z][0-9]$|​hd[a-z][0-9]$|​cciss/c0d0p[0-9]$|​^loop.[0-9]|​^ram|​^zram)) 8 A diff --git a/OS Linux/README.md b/OS Linux/README.md index dc6cdef..1890576 100644 --- a/OS Linux/README.md +++ b/OS Linux/README.md @@ -32,6 +32,7 @@ Base Linux monitoring template. monirtoring of the LXC container volumes - Added 4th level of the alarm in ```VOL::{#FSNAME}::free {ITEM.VALUE}``` LLD trigger Now alarms are raised <1%, <%5, <10% and now <20% free volume space + - ```DSK:``` filter corrected to get reed of loop devices. Use ```^loop.[0-9]``` instead ```^loop``` - Screens: - ```DSK, NET``` added - Triggers: diff --git a/README.md b/README.md index 0a26c07..f9b3489 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,7 @@ This repository provides a set of templates which offers the alternative set of monirtoring of the LXC container volumes - Added 4th level of the alarm in ```VOL::{#FSNAME}::free {ITEM.VALUE}``` LLD trigger Now alarms are raised <1%, <%5, <10% and now <20% free volume space + - ```DSK:``` filter corrected to get reed of loop devices. Use ```^loop.[0-9]``` instead ```^loop``` - Screens: - ```DSK, NET``` added - Triggers: From df5a91bba11f5059f17648b1fb783905cbb61a97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Tue, 30 Jul 2019 17:50:04 +0100 Subject: [PATCH 53/76] OS Linux: more "DSK:" lld filter regexp cleanups. --- OS Linux/OS Linux.xml | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/OS Linux/OS Linux.xml b/OS Linux/OS Linux.xml index 7693fea..bac748f 100644 --- a/OS Linux/OS Linux.xml +++ b/OS Linux/OS Linux.xml @@ -1,7 +1,7 @@ 4.2 - 2019-07-30T12:35:13Z + 2019-07-30T14:02:53Z Templates @@ -3053,7 +3053,7 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff {#DISK} - ^(?!(​sr[0-9]$|​fd[0-9]$|​sd[a-z][0-9]$|​xvd[a-z][0-9]$|​hd[a-z][0-9]$|​cciss/c0d0p[0-9]$|​^loop.[0-9]|​^ram|​^zram)) + ^(?!(​fd[0-9]$|loop[0-9]|​ram[0-9]|​sd[a-z][0-9]$|sr[0-9]$|​​zram|​xvd[a-z][0-9]$|​hd[a-z][0-9]$|​cciss/c0d0p[0-9]$)) 8 A diff --git a/README.md b/README.md index f9b3489..fb61897 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ This repository provides a set of templates which offers the alternative set of monirtoring of the LXC container volumes - Added 4th level of the alarm in ```VOL::{#FSNAME}::free {ITEM.VALUE}``` LLD trigger Now alarms are raised <1%, <%5, <10% and now <20% free volume space - - ```DSK:``` filter corrected to get reed of loop devices. Use ```^loop.[0-9]``` instead ```^loop``` + - ```DSK:``` filter corrected to get reed of loop devices. Use ```loop.[0-9]``` instead ```loop``` - Screens: - ```DSK, NET``` added - Triggers: From cb6aa46908501eb7a6a0ca74b9d7df49930a6daa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Tue, 30 Jul 2019 18:03:46 +0100 Subject: [PATCH 54/76] Replace ''' by ``` --- MIB/SNMPv2-MIB/README.md | 2 +- OS Linux/README.md | 2 +- README.md | 6 +++--- Service Apache/README.md | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/MIB/SNMPv2-MIB/README.md b/MIB/SNMPv2-MIB/README.md index 96337e6..cebc419 100644 --- a/MIB/SNMPv2-MIB/README.md +++ b/MIB/SNMPv2-MIB/README.md @@ -10,7 +10,7 @@ The template for SNMPv2 MIB entities. #### Changelog: - 1.0.4 (2018-06-11): - Applications: - - rename mib-2.system to ```SNMPv2-MIB::system``` and mib-2.system.snmp to '''SNMPv2-MIB::snmp''' to use matching MIB naming conventoion + - rename mib-2.system to ```SNMPv2-MIB::system``` and mib-2.system.snmp to ```SNMPv2-MIB::snmp``` to use matching MIB naming conventoion - Graphs: - change resolution to 1200x300 - new normal graph ```SNMPv2-MIB::snmpPkts``` with SNMPv2-MIB::snmp{in,Out}Pkts OIDs presenting rate diff --git a/OS Linux/README.md b/OS Linux/README.md index 1890576..4919a94 100644 --- a/OS Linux/README.md +++ b/OS Linux/README.md @@ -36,7 +36,7 @@ Base Linux monitoring template. - Screens: - ```DSK, NET``` added - Triggers: - - '''SYS::Host is down''' corrected descrition + - ```SYS::Host is down``` corrected descrition - 1.0.4 (2018-06-11) - Graphs: - change all graphs resolution to 1200x300 diff --git a/README.md b/README.md index fb61897..2aeb62b 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ This repository provides a set of templates which offers the alternative set of - Screens: - ```DSK, NET``` added - Triggers: - - '''SYS::Host is down''' corrected descrition + - ```SYS::Host is down``` corrected descrition - **OS Solaris** - Applications: - remove using ```DSK```, ```NET``` and ```VOL``` Applications and replace them by LLD prototypes @@ -77,7 +77,7 @@ This repository provides a set of templates which offers the alternative set of - Macros: - Rename all ```{$APACHE_SERVICE_*}``` macros to ```{$SVC_APACHE_*}``` - Macro ```{$SVC_APACHE_PROCESS}```: has bee nadded to allow easy use it on Debian/Ubuntu. Default value is ```http```. On Ubuntu/Debian that value needs to be changed to ```apache2``` - - Add using ```{$SVC_APACHE_PROCESS}''', '''{$SVC_SVC_PORT}''' macros in more places in item names and triggers + - Add using ```{$SVC_APACHE_PROCESS}```, ```{$SVC_SVC_PORT}``` macros in more places in item names and triggers - Items: - Make template zabbix 4.0.x ready by remove using $1-$9 macros in items names - Rename ```net.tcp.service[http,,{$HTTP_SERVICE_PORT}]``` key item from ```SVC::$1``` to ```NET::$1``` @@ -142,7 +142,7 @@ This repository provides a set of templates which offers the alternative set of - ```IF-MIB::ifOctets``` - **SNMPv2-MIB** - Applications: - - rename mib-2.system to ```SNMPv2-MIB::system``` and mib-2.system.snmp to '''SNMPv2-MIB::snmp''' to use matching MIB naming conventoion + - rename mib-2.system to ```SNMPv2-MIB::system``` and mib-2.system.snmp to ```SNMPv2-MIB::snmp``` to use matching MIB naming conventoion - Items: - changed units in update interval from number of seconds to number of m/h/d - Graphs: diff --git a/Service Apache/README.md b/Service Apache/README.md index e915c1c..786024e 100644 --- a/Service Apache/README.md +++ b/Service Apache/README.md @@ -28,7 +28,7 @@ ExtendedStatus On - Macros: - Rename all ```{$APACHE_SERVICE_*}``` macros to ```{$SVC_APACHE_*}``` - Macro ```{$SVC_APACHE_PROCESS}```: has bee nadded to allow easy use it on Debian/Ubuntu. Default value is ```http```. On Ubuntu/Debian that value needs to be changed to ```apache2``` - - Add using ```{$SVC_APACHE_PROCESS}''', '''{$SVC_SVC_PORT}''' macros in more places in item names and triggers + - Add using ```{$SVC_APACHE_PROCESS}```, ```{$SVC_SVC_PORT}``` macros in more places in item names and triggers - Items: - Make template zabbix 4.0.x ready by remove using $1-$9 macros in items names - Rename ```net.tcp.service[http,,{$SVC_APACHE_PORT}]``` key item from ```SVC::$1``` to ```NET::$1``` From 572e126df4044f27ef58f93164b0826087f9262f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Tue, 30 Jul 2019 18:05:35 +0100 Subject: [PATCH 55/76] OS: Linux: CPU::idle triggers change to raise alarm when idle time is less than 5% or 15% CPU idle time time for at least 1 hour and alarm is cleared ehen for next hour will be no other flapping anbove 5% or 15%. --- OS Linux/OS Linux.xml | 24 ++++++++++++------------ OS Linux/README.md | 3 +++ README.md | 3 +++ 3 files changed, 18 insertions(+), 12 deletions(-) diff --git a/OS Linux/OS Linux.xml b/OS Linux/OS Linux.xml index bac748f..fef4002 100644 --- a/OS Linux/OS Linux.xml +++ b/OS Linux/OS Linux.xml @@ -1,7 +1,7 @@ 4.2 - 2019-07-30T14:02:53Z + 2019-07-30T17:04:35Z Templates @@ -4690,16 +4690,16 @@ Value is calculated by read number of sectors multiplied by 512. - {OS Linux:system.cpu.util[,idle,avg1].last(0)}<5 - 0 - + {OS Linux:system.cpu.util[,idle,avg1].last(1h)}<5 + 1 + {OS Linux:system.cpu.util[,idle,avg1].last(1h)}>5 CPU::idle {ITEM.VALUE} 0 0 3 - + CPU idle time less than 5% for more than 1h. 0 0 @@ -4714,23 +4714,23 @@ Value is calculated by read number of sectors multiplied by 512. - {OS Linux:system.cpu.util[,idle,avg1].last(0)}<15 - 0 - + {OS Linux:system.cpu.util[,idle,avg1].last(1h)}<15 + 1 + {OS Linux:system.cpu.util[,idle,avg1].last(1h)}>15 CPU::idle {ITEM.VALUE} 0 0 - 2 - + 1 + CPU idle time less than 15% for more than 1h. 0 0 CPU::idle {ITEM.VALUE} - {OS Linux:system.cpu.util[,idle,avg1].last(0)}<5 - + {OS Linux:system.cpu.util[,idle,avg1].last(1h)}<5 + {OS Linux:system.cpu.util[,idle,avg1].last(1h)}>5 diff --git a/OS Linux/README.md b/OS Linux/README.md index 4919a94..2ff20a7 100644 --- a/OS Linux/README.md +++ b/OS Linux/README.md @@ -37,6 +37,9 @@ Base Linux monitoring template. - ```DSK, NET``` added - Triggers: - ```SYS::Host is down``` corrected descrition + - ```CPU::idle``` triggers change to raise alarm when idle time is less than 5% or 15% CPU + idle time time for at least 1 hour and alarm is cleared ehen for next hour will be no other + flapping anbove 5% or 15% - 1.0.4 (2018-06-11) - Graphs: - change all graphs resolution to 1200x300 diff --git a/README.md b/README.md index 2aeb62b..ae495b2 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,9 @@ This repository provides a set of templates which offers the alternative set of - ```DSK, NET``` added - Triggers: - ```SYS::Host is down``` corrected descrition + - ```CPU::idle``` triggers change to raise alarm when idle time is less than 5% or 15% CPU + idle time time for at least 1 hour and alarm is cleared ehen for next hour will be no other + flapping anbove 5% or 15% - **OS Solaris** - Applications: - remove using ```DSK```, ```NET``` and ```VOL``` Applications and replace them by LLD prototypes From b9576468387f0f5996646acc3d471e0cdaba0d77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Wed, 31 Jul 2019 14:21:41 +0100 Subject: [PATCH 56/76] OS Linux: "DSK:" filter: remove from the list of moniitored block devices ZFS vdevs partitions and corrected regexp to remove all SCSI partitions --- OS Linux/OS Linux.xml | 4 ++-- OS Linux/README.md | 4 +++- README.md | 4 +++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/OS Linux/OS Linux.xml b/OS Linux/OS Linux.xml index fef4002..7651d1a 100644 --- a/OS Linux/OS Linux.xml +++ b/OS Linux/OS Linux.xml @@ -1,7 +1,7 @@ 4.2 - 2019-07-30T17:04:35Z + 2019-07-31T13:15:11Z Templates @@ -3053,7 +3053,7 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff {#DISK} - ^(?!(​fd[0-9]$|loop[0-9]|​ram[0-9]|​sd[a-z][0-9]$|sr[0-9]$|​​zram|​xvd[a-z][0-9]$|​hd[a-z][0-9]$|​cciss/c0d0p[0-9]$)) + ^(?!(​cciss/c0d0p[0-9]*|​fd[0-9]*|​hd[a-z][0-9]*|loop[0-9]*|​ram[0-9]*|​sd[a-z]*[0-9]*|sr[0-9]*|​​zram|​xvd[a-z][0-9]*|zd[0-9]*p[0-9])) 8 A diff --git a/OS Linux/README.md b/OS Linux/README.md index 2ff20a7..32cce68 100644 --- a/OS Linux/README.md +++ b/OS Linux/README.md @@ -32,7 +32,9 @@ Base Linux monitoring template. monirtoring of the LXC container volumes - Added 4th level of the alarm in ```VOL::{#FSNAME}::free {ITEM.VALUE}``` LLD trigger Now alarms are raised <1%, <%5, <10% and now <20% free volume space - - ```DSK:``` filter corrected to get reed of loop devices. Use ```^loop.[0-9]``` instead ```^loop``` + - ```DSK:``` filter: corrected to get reed of loop devices. Use ```^loop.[0-9]``` instead ```^loop``` + - ```DSK:``` filter: remove from the list of moniitored block devices ZFS vdevs partitions and + corrected regexp to remove all SCSI partitions - Screens: - ```DSK, NET``` added - Triggers: diff --git a/README.md b/README.md index ae495b2..b48b86c 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,9 @@ This repository provides a set of templates which offers the alternative set of monirtoring of the LXC container volumes - Added 4th level of the alarm in ```VOL::{#FSNAME}::free {ITEM.VALUE}``` LLD trigger Now alarms are raised <1%, <%5, <10% and now <20% free volume space - - ```DSK:``` filter corrected to get reed of loop devices. Use ```loop.[0-9]``` instead ```loop``` + - ```DSK:``` filter: corrected to get reed of loop devices. Use ```loop.[0-9]``` instead ```loop``` + - ```DSK:``` filter: remove from the list of moniitored block devices ZFS vdevs partitions and + corrected regexp to remove all SCSI partitions - Screens: - ```DSK, NET``` added - Triggers: From 9bfd45f7ac125ba942d26058e5622180ce44f98e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Tue, 6 Aug 2019 12:33:16 +0100 Subject: [PATCH 57/76] OS linux: fix DSK: LLD filter. Remove control caracters. Fixed sd* SCSI devices partitions. --- OS Linux/OS Linux.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OS Linux/OS Linux.xml b/OS Linux/OS Linux.xml index 7651d1a..bc4884f 100644 --- a/OS Linux/OS Linux.xml +++ b/OS Linux/OS Linux.xml @@ -3053,7 +3053,7 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff {#DISK} - ^(?!(​cciss/c0d0p[0-9]*|​fd[0-9]*|​hd[a-z][0-9]*|loop[0-9]*|​ram[0-9]*|​sd[a-z]*[0-9]*|sr[0-9]*|​​zram|​xvd[a-z][0-9]*|zd[0-9]*p[0-9])) + ^(?!(cciss/c0d0p[0-9]*|fd[0-9]*|hd[a-z][0-9]*|loop[0-9]*|ram[0-9]*|sd[a-z]*[0-9]|sr[0-9]*|zram|xvd[a-z][0-9]*|zd[0-9]*p[0-9]*)) 8 A From de05c88ca1a16b0435968c7fc83b155343166c66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Tue, 6 Aug 2019 12:38:04 +0100 Subject: [PATCH 58/76] OS Linux: updated DSK: LLD descriptoion. Add info that now this LLD is able to handle ZFS vdevs. --- OS Linux/OS Linux.xml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/OS Linux/OS Linux.xml b/OS Linux/OS Linux.xml index bc4884f..147fb6d 100644 --- a/OS Linux/OS Linux.xml +++ b/OS Linux/OS Linux.xml @@ -3060,10 +3060,7 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff 1d - List of Linux SCSI, ATA, XEN and Device Mapper storage devices without partitions. -Discovery of storage devices is filtered over global regular expression "OS Linux::BlkDev" regexp. - -@OS Linux::BlkDev + List of Linux SCSI, ATA, XEN, ZFS vdevs and Device Mapper storage devices without partitions. {#DISK}::read::IOs From 7d9abe657138f3418a3166413246a5b44692d584 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Tue, 6 Aug 2019 12:58:16 +0100 Subject: [PATCH 59/76] OS Linux: added new MEM:: metrics and new MEM:active vs inactive graph. Added new MEM:: metrics which are now available in zabbix 4.2.x (added by my patch https://support.zabbix.com/browse/ZBX-13233): - MEM::active - MEM::anon - MEM::inactive - MEM::slab Added new graph MEM::active vs inactive. Added to MEM screen MEM::active vs inactive graph. Closing https://github.com/kloczek/zabbix-templates/projects/1#card-22419180. --- OS Linux/OS Linux.xml | 282 +++++++++++++++++++++++++++++++++++++++++- OS Linux/README.md | 10 +- README.md | 8 +- 3 files changed, 297 insertions(+), 3 deletions(-) diff --git a/OS Linux/OS Linux.xml b/OS Linux/OS Linux.xml index 147fb6d..99dad41 100644 --- a/OS Linux/OS Linux.xml +++ b/OS Linux/OS Linux.xml @@ -1934,6 +1934,124 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff 0 + + MEM::$1 + 7 + + + vm.memory.size[active] + 1m + 2w + 365d + 0 + 3 + + B + + + 0 + 0 + + 0 + + + + 0 + + + + + + Memory that has been used more recently and usually not reclaimed unless absolutely necessary. + 0 + + + MEM + + + + + + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 + + + + MEM::$1 + 7 + + + vm.memory.size[anon] + 1m + 2w + 365d + 0 + 3 + + B + + + 0 + 0 + + 0 + + + + 0 + + + + + + Non-file backed pages mapped into user space page tables. + 0 + + + MEM + + + + + + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 + + MEM::$1 7 @@ -2170,13 +2288,131 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff 0 + + MEM::$1 + 7 + + + vm.memory.size[inactive] + 1m + 2w + 365d + 0 + 3 + + B + + + 0 + 0 + + 0 + + + + 0 + + + + + + Memory which has been less recently used. It is more eligible to be reclaimed for other purposes. + 0 + + + MEM + + + + + + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 + + + + MEM::$1 + 7 + + + vm.memory.size[slab] + 1m + 2w + 365d + 0 + 3 + + B + + + 0 + 0 + + 0 + + + + 0 + + + + + + In-kernel data structures/caches. + 0 + + + MEM + + + + + + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 + + MEM::$1 7 vm.memory.size[total] - 1d + 1h 2w 365d 0 @@ -5249,6 +5485,50 @@ s3-dump hosts delete + + MEM::active vs inactive + 1200 + 300 + 0.0000 + 100.0000 + 1 + 1 + 1 + 1 + 0 + 0.0000 + 0.0000 + 1 + 0 + 0 + 0 + + + 0 + 1 + FF0000 + 0 + 2 + 0 + + OS Linux + vm.memory.size[active] + + + + 1 + 0 + 00DD00 + 0 + 2 + 0 + + OS Linux + vm.memory.size[inactive] + + + + NET::Errors 1200 diff --git a/OS Linux/README.md b/OS Linux/README.md index 32cce68..0a74ea9 100644 --- a/OS Linux/README.md +++ b/OS Linux/README.md @@ -24,6 +24,13 @@ Base Linux monitoring template. - ```NET:``` LLD items Application changed from ```NET``` prototype ```NET::{#FSNAME}``` - ```VOL:``` LLD items Application changed from ```VOL``` prototype ```VOL::{#FSNAME}``` - make template zabbix 4.0.x ready by remove using $1-$9 macros in items names + - new MEM:: metrics: + - ```MEM::active``` + - ```MEM::anon``` + - ```MEM::inactive``` + - ```MEM::slab``` + - Graphs: + - new graph ```MEM::active vs inactive``` - LLD: - rewrited ```VOL``` triggers to use proper severities and triggers prototypes dependencies - LXC monitoring adaptations: @@ -36,7 +43,8 @@ Base Linux monitoring template. - ```DSK:``` filter: remove from the list of moniitored block devices ZFS vdevs partitions and corrected regexp to remove all SCSI partitions - Screens: - - ```DSK, NET``` added + - new ```DSK, NET``` screen added + - add to ```MEM``` screen ```MEM::active vs inactive``` graph - Triggers: - ```SYS::Host is down``` corrected descrition - ```CPU::idle``` triggers change to raise alarm when idle time is less than 5% or 15% CPU diff --git a/README.md b/README.md index b48b86c..7ead61f 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,11 @@ This repository provides a set of templates which offers the alternative set of - ```NET:``` LLD items Application changed from ```NET``` prototype ```NET::{#FSNAME}``` - ```VOL:``` LLD items Application changed from ```VOL``` prototype ```VOL::{#FSNAME}``` - make template zabbix 4.0.x ready by remove using $1-$9 macros in items names + - new MEM:: metrics: + - ```MEM::active``` + - ```MEM::anon``` + - ```MEM::inactive``` + - ```MEM::slab``` - LLD: - rewrited ```VOL``` triggers to use proper severities and triggers prototypes dependencies - LXC monitoring adaptations: @@ -50,7 +55,8 @@ This repository provides a set of templates which offers the alternative set of - ```DSK:``` filter: remove from the list of moniitored block devices ZFS vdevs partitions and corrected regexp to remove all SCSI partitions - Screens: - - ```DSK, NET``` added + - new ```DSK, NET``` screen added + - add to ```MEM``` screen ```MEM::active vs inactive``` graph - Triggers: - ```SYS::Host is down``` corrected descrition - ```CPU::idle``` triggers change to raise alarm when idle time is less than 5% or 15% CPU From d2bba8eb94a17d3551415902d22f93a4c686caee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Tue, 6 Aug 2019 13:13:48 +0100 Subject: [PATCH 60/76] OS Linux: MEM::total history period changed to 1h Forgot add in prev commit description about that "Discard unchanged" filter preprocessor cannot be used for now https://support.zabbix.com/browse/ZBX-16456 so this is kind of workaround for that issue. When dissue with "Discard unchanged" filter on presentation layer will be sorted out I'm going to change sampling that metrics to 10 or 20 min and even with that it will be less wrritten data to the database however any live changes meomnory in containers/namespaces settings will be almost instantly visable in the monitoring data. --- OS Linux/README.md | 2 ++ README.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/OS Linux/README.md b/OS Linux/README.md index 0a74ea9..b698c06 100644 --- a/OS Linux/README.md +++ b/OS Linux/README.md @@ -29,6 +29,8 @@ Base Linux monitoring template. - ```MEM::anon``` - ```MEM::inactive``` - ```MEM::slab``` + - ```MEM::total`` history period changed to 1h as "Discard unchanged" filter preprocessor cannot be used for now + https://support.zabbix.com/browse/ZBX-16456 - Graphs: - new graph ```MEM::active vs inactive``` - LLD: diff --git a/README.md b/README.md index 7ead61f..7071d4a 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,8 @@ This repository provides a set of templates which offers the alternative set of - ```MEM::anon``` - ```MEM::inactive``` - ```MEM::slab``` + - ```MEM::total``` history period changed to 1h as "Discard unchanged" filter preprocessor cannot be used for now + https://support.zabbix.com/browse/ZBX-16456 - LLD: - rewrited ```VOL``` triggers to use proper severities and triggers prototypes dependencies - LXC monitoring adaptations: From 77111e678993ac4796268de60b691404d6e47622 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Tue, 6 Aug 2019 14:30:08 +0100 Subject: [PATCH 61/76] OS Linux: not commited previousely MEM:active vs inactive graph. --- OS Linux/OS Linux.xml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/OS Linux/OS Linux.xml b/OS Linux/OS Linux.xml index 99dad41..64e6048 100644 --- a/OS Linux/OS Linux.xml +++ b/OS Linux/OS Linux.xml @@ -4753,6 +4753,28 @@ Value is calculated by read number of sectors multiplied by 512. 3 + + 0 + 1200 + 200 + 0 + 1 + 1 + 1 + 0 + 1 + 1 + + + 0 + 0 + + MEM::active vs inactive + OS Linux + + 3 + + From 27f31ab547d864f10f0704a95add24499c451ad3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Tue, 6 Aug 2019 14:53:12 +0100 Subject: [PATCH 62/76] OS Linux: MEM screen vsize changed to 2 (missing bit from prev commits). --- OS Linux/OS Linux.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OS Linux/OS Linux.xml b/OS Linux/OS Linux.xml index 64e6048..70d690a 100644 --- a/OS Linux/OS Linux.xml +++ b/OS Linux/OS Linux.xml @@ -4729,7 +4729,7 @@ Value is calculated by read number of sectors multiplied by 512. MEM 1 - 1 + 2 0 From 5d5b9f626236f608ec51444aefb56a46fb8b9761 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Tue, 6 Aug 2019 14:59:45 +0100 Subject: [PATCH 63/76] OS Linux: VOL: {#FSNAME}::total and {#FSNAME}::inodes::total items history period=1h As "Discard unchanged" filter preprocessor cannot be used for now https://support.zabbix.com/browse/ZBX-16456 this is only temporary workaround until that issue will be sorted out. --- OS Linux/OS Linux.xml | 4 ++-- OS Linux/README.md | 3 +++ README.md | 3 +++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/OS Linux/OS Linux.xml b/OS Linux/OS Linux.xml index 70d690a..e4ee6f3 100644 --- a/OS Linux/OS Linux.xml +++ b/OS Linux/OS Linux.xml @@ -3812,7 +3812,7 @@ Value is calculated by read number of sectors multiplied by 512. vfs.fs.inode[{#FSNAME},total] - 1d + 1h 2w 365d 0 @@ -3992,7 +3992,7 @@ Value is calculated by read number of sectors multiplied by 512. vfs.fs.size[{#FSNAME},total] - 1d + 1h 2w 365d 0 diff --git a/OS Linux/README.md b/OS Linux/README.md index b698c06..b9a0343 100644 --- a/OS Linux/README.md +++ b/OS Linux/README.md @@ -44,6 +44,9 @@ Base Linux monitoring template. - ```DSK:``` filter: corrected to get reed of loop devices. Use ```^loop.[0-9]``` instead ```^loop``` - ```DSK:``` filter: remove from the list of moniitored block devices ZFS vdevs partitions and corrected regexp to remove all SCSI partitions + - ```VOL:``` ``{#FSNAME}::total``` and ```{#FSNAME}::inodes::total``` history period changed to 1h + as "Discard unchanged" filter preprocessor cannot be used for now + https://support.zabbix.com/browse/ZBX-16456 - Screens: - new ```DSK, NET``` screen added - add to ```MEM``` screen ```MEM::active vs inactive``` graph diff --git a/README.md b/README.md index 7071d4a..46d579c 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,9 @@ This repository provides a set of templates which offers the alternative set of - ```DSK:``` filter: corrected to get reed of loop devices. Use ```loop.[0-9]``` instead ```loop``` - ```DSK:``` filter: remove from the list of moniitored block devices ZFS vdevs partitions and corrected regexp to remove all SCSI partitions + - ```VOL:``` ``{#FSNAME}::total``` and ```{#FSNAME}::inodes::total``` history period changed to 1h + as "Discard unchanged" filter preprocessor cannot be used for now + https://support.zabbix.com/browse/ZBX-16456 - Screens: - new ```DSK, NET``` screen added - add to ```MEM``` screen ```MEM::active vs inactive``` graph From fd28cdbd9270e4e90454701b7a710ba6106a7419 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Tue, 6 Aug 2019 16:27:19 +0100 Subject: [PATCH 64/76] OS Linux: document that template now can be used on Ubuntu and compatible. Template has been tested on Ubuntu Xenian and Bionic. --- OS Linux/OS Linux.xml | 4 ++-- OS Linux/README.md | 2 +- README.md | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/OS Linux/OS Linux.xml b/OS Linux/OS Linux.xml index e4ee6f3..0735b43 100644 --- a/OS Linux/OS Linux.xml +++ b/OS Linux/OS Linux.xml @@ -1,7 +1,7 @@ 4.2 - 2019-07-31T13:15:11Z + 2019-08-06T15:22:22Z Templates @@ -17,7 +17,7 @@ Version: 1.0.4 (2018-06-11) URL: https://github.com/kloczek/zabbix-templates/tree/master/OS%20Linux Notes: -- compliant with EL7 and compatible +- compliant with EL7, OL7, Ubuntu (Xenial, Bionic) Templates diff --git a/OS Linux/README.md b/OS Linux/README.md index b9a0343..b244bba 100644 --- a/OS Linux/README.md +++ b/OS Linux/README.md @@ -4,7 +4,7 @@ Base Linux monitoring template. #### Notes: -- compliant with EL7 and compatible +- compliant with EL7, OL7, Ubuntu (Xenial, Bionic) - documentation: - https://www.kernel.org/doc/Documentation/filesystems/proc.txt diff --git a/README.md b/README.md index 46d579c..3823c4e 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ This repository provides a set of templates which offers the alternative set of - interfaces: add to all applications, items, triggers anf graphs prototypes names ```[{#IFINDEX}]``` to display physical port number in those names - graphs improvements - **OS Linux** + - template can be now used on Ubuntu and compatible as well (tested on Xenial and Bionic) - Items: - ```NET::segments retransmitted``` sed regexp changed to cover old "segments retransmited" output as well From b9511aef563b8dd10541ba9b68d9c11dea7e811c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Tue, 6 Aug 2019 17:00:55 +0100 Subject: [PATCH 65/76] OS Linux: remove CPI::idle time <15% trigger (one is enough). --- OS Linux/OS Linux.xml | 22 ---------------------- OS Linux/README.md | 4 ++-- README.md | 4 ++-- 3 files changed, 4 insertions(+), 26 deletions(-) diff --git a/OS Linux/OS Linux.xml b/OS Linux/OS Linux.xml index 0735b43..304a608 100644 --- a/OS Linux/OS Linux.xml +++ b/OS Linux/OS Linux.xml @@ -4968,28 +4968,6 @@ Value is calculated by read number of sectors multiplied by 512. - - {OS Linux:system.cpu.util[,idle,avg1].last(1h)}<15 - 1 - {OS Linux:system.cpu.util[,idle,avg1].last(1h)}>15 - CPU::idle {ITEM.VALUE} - 0 - - - 0 - 1 - CPU idle time less than 15% for more than 1h. - 0 - 0 - - - CPU::idle {ITEM.VALUE} - {OS Linux:system.cpu.util[,idle,avg1].last(1h)}<5 - {OS Linux:system.cpu.util[,idle,avg1].last(1h)}>5 - - - - {OS Linux:system.cpu.util[,steal,avg1].min(5m)}>{$STEAL_WARN} 0 diff --git a/OS Linux/README.md b/OS Linux/README.md index b244bba..933c770 100644 --- a/OS Linux/README.md +++ b/OS Linux/README.md @@ -52,9 +52,9 @@ Base Linux monitoring template. - add to ```MEM``` screen ```MEM::active vs inactive``` graph - Triggers: - ```SYS::Host is down``` corrected descrition - - ```CPU::idle``` triggers change to raise alarm when idle time is less than 5% or 15% CPU + - ```CPU::idle``` triggers change to raise alarm when idle time is less than 5% CPU idle time time for at least 1 hour and alarm is cleared ehen for next hour will be no other - flapping anbove 5% or 15% + flapping anbove 5% - 1.0.4 (2018-06-11) - Graphs: - change all graphs resolution to 1200x300 diff --git a/README.md b/README.md index 3823c4e..4cf6112 100644 --- a/README.md +++ b/README.md @@ -65,9 +65,9 @@ This repository provides a set of templates which offers the alternative set of - add to ```MEM``` screen ```MEM::active vs inactive``` graph - Triggers: - ```SYS::Host is down``` corrected descrition - - ```CPU::idle``` triggers change to raise alarm when idle time is less than 5% or 15% CPU + - ```CPU::idle``` triggers change to raise alarm when idle time is less than 5% CPU idle time time for at least 1 hour and alarm is cleared ehen for next hour will be no other - flapping anbove 5% or 15% + flapping anbove 5% - **OS Solaris** - Applications: - remove using ```DSK```, ```NET``` and ```VOL``` Applications and replace them by LLD prototypes From 0786629185c1f9ae7ac9106895b636467140feca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Tue, 6 Aug 2019 17:03:54 +0100 Subject: [PATCH 66/76] OS Solaris and OS Linux: CPU::idle time trigger logic now uses macros. CPU::idle trigger now uses macros: - {$OS_CPU_IDLE}: threshold below which is raised alarm about low CPU::idle time - {$OS_CPU_IDLE_HIST}: hysteresis time for CPU::idle after which alarm starts and recovers after additional period defined in {$OS_CPU_IDLE_HIST} If those macros are not defined in system macros alarms about low CPU::idle time will be not created --- OS Linux/OS Linux.xml | 14 +++++++++----- OS Linux/README.md | 7 ++++--- OS Solaris/OS Solaris.xml | 16 ++++++++++------ OS Solaris/README.md | 4 ++++ 4 files changed, 27 insertions(+), 14 deletions(-) diff --git a/OS Linux/OS Linux.xml b/OS Linux/OS Linux.xml index 304a608..d795e52 100644 --- a/OS Linux/OS Linux.xml +++ b/OS Linux/OS Linux.xml @@ -16,8 +16,11 @@ Version: 1.0.4 (2018-06-11) URL: https://github.com/kloczek/zabbix-templates/tree/master/OS%20Linux -Notes: -- compliant with EL7, OL7, Ubuntu (Xenial, Bionic) +#### Notes: +- compliant with EL7, OL7, Ubuntu (Xenial, Bionic) +- used macros: +```{$OS_CPU_IDLE}```: threshold below which is raised alarm about low ```CPU::idle time``` +```{$OS_CPU_IDLE_HIST}```: hysteresis time for ```CPU::idle``` after which alarm starts and recovers after additional period defined in ```{$OS_CPU_IDLE_HIST}``` Templates @@ -4945,16 +4948,17 @@ Value is calculated by read number of sectors multiplied by 512. - {OS Linux:system.cpu.util[,idle,avg1].last(1h)}<5 + {OS Linux:system.cpu.util[,idle,avg1].last({$OS_CPU_IDLE_HIST})}<{$OS_CPU_IDLE} 1 - {OS Linux:system.cpu.util[,idle,avg1].last(1h)}>5 + {OS Linux:system.cpu.util[,idle,avg1].last({$OS_CPU_IDLE_HIST})}>{$OS_CPU_IDLE} CPU::idle {ITEM.VALUE} 0 0 3 - CPU idle time less than 5% for more than 1h. + CPU idle time less than {$OS_CPU_IDLE}% for more than {$OS_CPU_IDLE_HIST}. +If those macros are not defined alarms about low CPU::idle will be not created. 0 0 diff --git a/OS Linux/README.md b/OS Linux/README.md index 933c770..30945a9 100644 --- a/OS Linux/README.md +++ b/OS Linux/README.md @@ -52,9 +52,10 @@ Base Linux monitoring template. - add to ```MEM``` screen ```MEM::active vs inactive``` graph - Triggers: - ```SYS::Host is down``` corrected descrition - - ```CPU::idle``` triggers change to raise alarm when idle time is less than 5% CPU - idle time time for at least 1 hour and alarm is cleared ehen for next hour will be no other - flapping anbove 5% + - ```CPU::idle``` trigger now uses macros: + ```{$OS_CPU_IDLE}```: threshold below which is raised alarm about low ```CPU::idle time``` + ```{$OS_CPU_IDLE_HIST}```: hysteresis time for ```CPU::idle``` after which alarm starts and recovers after additional period defined in ```{$OS_CPU_IDLE_HIST}``` + If those macros are not defined in system macros alarms about low ```CPU::idle time``` will be not created - 1.0.4 (2018-06-11) - Graphs: - change all graphs resolution to 1200x300 diff --git a/OS Solaris/OS Solaris.xml b/OS Solaris/OS Solaris.xml index 2c5a651..4723563 100644 --- a/OS Solaris/OS Solaris.xml +++ b/OS Solaris/OS Solaris.xml @@ -1,7 +1,7 @@ 4.2 - 2019-06-08T14:01:18Z + 2019-08-06T15:48:15Z Templates @@ -16,7 +16,10 @@ Version: 1.0.4 (2018-06-11) URL: https://github.com/kloczek/zabbix-templates/tree/master/OS%20Solaris -#### Notes: +#### Notes: +- used macros: +```{$OS_CPU_IDLE}```: threshold below which is raised alarm about low ```CPU::idle time``` +```{$OS_CPU_IDLE_HIST}```: hysteresis time for ```CPU::idle``` after which alarm starts and recovers after additional period defined in ```{$OS_CPU_IDLE_HIST}``` Templates @@ -5117,16 +5120,17 @@ Please login on the host and check output of the commands: - {OS Solaris:system.cpu.util[,idle,avg1].last(0)}<5 - 0 - + {OS Solaris:system.cpu.util[,idle,avg1].last(0)}<{$OS_CPU_IDLE} + 1 + {OS Solaris:system.cpu.util[,idle,avg1].last({$OS_CPU_IDLE_HIST})}<{$OS_CPU_IDLE} CPU::idle {ITEM.VALUE} 0 0 3 - + CPU idle time less than {$OS_CPU_IDLE}% for more than {$OS_CPU_IDLE_HIST}. +If those macros are not defined alarms about low CPU::idle will be not created. 0 0 diff --git a/OS Solaris/README.md b/OS Solaris/README.md index bd9e5d7..90ea479 100644 --- a/OS Solaris/README.md +++ b/OS Solaris/README.md @@ -66,6 +66,10 @@ zfs:0:arcstats:snaptime - removed duplicated ```SYS::Host is down``` trigger - added ```SYS::Host is down``` - added ```CPU::idle {ITEM.VALUE}``` + - ```CPU::idle``` trigger now uses macros: + ```{$OS_CPU_IDLE}```: threshold below which is raised alarm about low ```CPU::idle time``` + ```{$OS_CPU_IDLE_HIST}```: hysteresis time for ```CPU::idle``` after which alarm starts and recovers after additional period defined in ```{$OS_CPU_IDLE_HIST}``` + If those macros are not defined in system macros alarms about low ```CPU::idle time``` will be not created - 1.0.4 (2018-06-11) - Triggers: - fixed typo in trigger name s/SYS:uname changed/```SYS::uname changed```/ From 1172df177185386b4327d08e76458892a70ce600 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Fri, 9 Aug 2019 16:48:20 +0100 Subject: [PATCH 67/76] Service MySQL: merge some changes already present in Nginx, php-fpm: - Items: - PROC::mysqld - change hardcoded MySQL process name to the macro {$SVC_MYSQL_PROC} - add "proceses" missing unit - "version" add "Discard unchanged with hartbeat" filter which allows change sampling rate from 1d to 5min with HB preriod 7d - Triggers: - "SYS::processes::{$SVC_MYSQL_PROC} is not running" severity changed to disaster - Add use md markups in template description --- README.md | 11 +++++++++ Service MySQL/README.md | 41 ++++++++++++++++++++----------- Service MySQL/Service MySQL.xml | 43 ++++++++++++++++++++++----------- 3 files changed, 67 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index 4cf6112..8bcb30b 100644 --- a/README.md +++ b/README.md @@ -101,6 +101,17 @@ This repository provides a set of templates which offers the alternative set of - Macro ```{$HTTP_SERVICE_PROCESS}```: has bee nadded to allow easy use it on Debian/Ubuntu. Default value is ```http```. On Ubuntu/Debian that value needs to be changed to ```apache2``` - Triggers: - rename ```SVC::Apache tcp/{$HTTP_SERVICE_PORT} is DOWN``` to ```NET::Apache tcp/{$HTTP_SERVICE_PORT} is DOWN``` +- **Service MySQL** + - Items: + - ```PROC::mysqld``` + - change hardcoded MySQL process name to the macro ``{$SVC_MYSQL_PROC}``` + - add missing "processes" unit + - ```version``` add ```Discard unchanged with hartbeat``` filter which allows + change sampling rate from 1d to 5min with HB preriod 7d + - Triggers: + - ```SYS::processes::{$SVC_MYSQL_PROC} is not running``` severity changed + to disaster + - Add use md markups in template description - **Service Nginx** - Macros: - Rename ```{$NGINX_*}``` macros to ```{$SVC_NGINX_*}``` diff --git a/Service MySQL/README.md b/Service MySQL/README.md index 8801582..3cce8e7 100644 --- a/Service MySQL/README.md +++ b/Service MySQL/README.md @@ -1,33 +1,46 @@ -#### Version: 1.0.4 (2018-06-11) - -#### Description: MySQL engine monitoring over Zabbix agent. +#### Version: (devel) +URL: https://github.com/kloczek/zabbix-templates/tree/master/Service%20MySQL + +| Macro | Default value | Description | +| :-- | :-- | :-- | +| {$SVC_MYSQL_CMD} | HOME=/var/lib/zabbix /usr/bin/mysql --login-path=monitoring -Nse | mysql command used in system.run[] keys | +| {$SVC_MYSQL_PROC} | mysqld | MySQL process name | + #### Notes: -- Tested on MySQL 5.7 and it not uses MySQL 5.6 backward compatibility. The - template requires to disable MySQL 5.6 backward compatibility and it will - raise alarm that show_compatibility_56 is OFF. To disable MySQL 5.6 - backward compatibility best to add in my.cnf: +* Tested on MySQL 5.7 and it not designed to be uses with MySQL older than 5.7 backward compatibility so it can be used to monitor MySQL engine which in my.cnf has: ``` [mysqld] -show_compatibility_56=OFF +show_compatibility_56 = OFF ``` -- By default this template is monitoring the engine working on localhost -- To be able to use this template on a host you need to setup a monitoring account with the proper privileges. To add such account you can use below queries: +My advice is even to disable show_compatibility_56 to not start by mistake use some older metrics which in next version of the MySQL no longer will be available as an option. +* By default this template is monitoring the engine working on localhost. +* To be able to use this template on a host you need to setup a monitoring account with the proper privileges. +* To add such account you can use below queries: ``` CREATE USER 'monitoring'@'localhost' IDENTIFIED BY 'monitoring'; GRANT SELECT, INDEX, SHOW DATABASES, REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO 'monitoring'@'localhost'; FLUSH PRIVILEGES; ``` -- MySQL 5.7 documentation: - - http://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html - - http://dev.mysql.com/doc/refman/5.7/en/innodb-configuration.html - - http://dev.mysql.com/doc/refman/5.7/en/innodb-information-schema.html +* MySQL 5.7 documentation: +http://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html +http://dev.mysql.com/doc/refman/5.7/en/innodb-configuration.html +http://dev.mysql.com/doc/refman/5.7/en/innodb-information-schema.html #### Changelog: - (devel): - Items: - make template zabbix 4.0.x ready by remove using $1-$9 macros in items names + - ```PROC::mysqld``` + - change hardcoded MySQL process name to the macro ``{$SVC_MYSQL_PROC}``` + - add missing "processes" unit + - ```version``` add ```Discard unchanged with hartbeat``` filter which allows + change sampling rate from 1d to 5min with HB preriod 7d + - Triggers: + - ```SYS::processes::{$SVC_MYSQL_PROC} is not running`` severity changed + to disaster + - Add use md markups in template description - 1.0.4 (2018-06-11): - Applications: - new ```SVC::MySQL::cfg``` for all read configuration parameters diff --git a/Service MySQL/Service MySQL.xml b/Service MySQL/Service MySQL.xml index 2a17c77..6917cc0 100644 --- a/Service MySQL/Service MySQL.xml +++ b/Service MySQL/Service MySQL.xml @@ -1,7 +1,7 @@ 4.2 - 2019-06-03T14:55:01Z + 2019-08-09T15:37:41Z Templates @@ -13,9 +13,14 @@ Service MySQL MySQL engine monitoring over Zabbix agent. -Version: 1.0.4 (2018-06-11) +#### Version: (devel) URL: https://github.com/kloczek/zabbix-templates/tree/master/Service%20MySQL +| Macro | Default value | Description | +| :-- | :-- | :-- | +| {$SVC_MYSQL_CMD} | HOME=/var/lib/zabbix /usr/bin/mysql --login-path=monitoring -Nse | mysql command used in system.run[] keys | +| {$SVC_MYSQL_PROC} | mysqld | MySQL process name | + #### Notes: * Tested on MySQL 5.7 and it not designed to be uses with MySQL older than 5.7 backward compatibility so it can be used to monitor MySQL engine which in my.cnf has: ``` @@ -23,10 +28,9 @@ URL: https://github.com/kloczek/zabbix-templates/tree/master/Service%20MySQL show_compatibility_56 = OFF ``` My advice is even to disable show_compatibility_56 to not start by mistake use some older metrics which in next version of the MySQL no longer will be available as an option. - * By default this template is monitoring the engine working on localhost. -To be able to use this template on a host you need to setup a monitoring account with the proper privileges. -To add such account you can use below queries: +* To be able to use this template on a host you need to setup a monitoring account with the proper privileges. +* To add such account you can use below queries: ``` CREATE USER 'monitoring'@'localhost' IDENTIFIED BY 'monitoring'; GRANT SELECT, INDEX, SHOW DATABASES, REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO 'monitoring'@'localhost'; @@ -70,14 +74,14 @@ http://dev.mysql.com/doc/refman/5.7/en/innodb-information-schema.html7 - proc.num[mysqld] + proc.num[{$SVC_MYSQL_PROC}] 1m 2w 365d 0 3 - + processes 0 @@ -93,7 +97,7 @@ http://dev.mysql.com/doc/refman/5.7/en/innodb-information-schema.html - + Number MySQL processes. 0 @@ -4573,7 +4577,7 @@ This level is like REPEATABLE READ, but InnoDB implicitly converts all plain SEL system.run[{$MYSQL_CMD} "SELECT variable_value FROM performance_schema.global_variables WHERE variable_name='version';",] - 1d + 5m 2w 0 0 @@ -4604,7 +4608,14 @@ This level is like REPEATABLE READ, but InnoDB implicitly converts all plain SEL - + + + 20 + 7d + 0 + + + 3s @@ -4928,6 +4939,10 @@ SELECT variable_value FROM information_schema.global_status WHERE variable_name {$MYSQL_CMD} HOME=/var/lib/zabbix /usr/bin/mysql --login-path=monitoring -Nse + + {$SVC_MYSQL_PROC} + mysqld + @@ -5372,16 +5387,16 @@ Possible restart has been done. - {Service MySQL:proc.num[mysqld].last(0)}<1 + {Service MySQL:proc.num[{$SVC_MYSQL_PROC}].last(0)}<1 0 - SYS::processes::mysqld is not running + SYS::processes::{$SVC_MYSQL_PROC} is not running 0 0 - 4 - + 5 + The MySQL process is not running. 0 0 From 96043a8f13cdb0b7b159311033880e8cba7fee9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Fri, 9 Aug 2019 19:06:35 +0100 Subject: [PATCH 68/76] OS Linux: Add proper dependency on "SYS::Host is down" trigger. All trigges should not be active when "SYS::Host is down" trigger is active. --- OS Linux/OS Linux.xml | 99 ++++++++++++++++++++++++++++++++++++++----- OS Linux/README.md | 3 +- README.md | 3 +- 3 files changed, 93 insertions(+), 12 deletions(-) diff --git a/OS Linux/OS Linux.xml b/OS Linux/OS Linux.xml index d795e52..f057406 100644 --- a/OS Linux/OS Linux.xml +++ b/OS Linux/OS Linux.xml @@ -1,7 +1,7 @@ 4.2 - 2019-08-06T15:22:22Z + 2019-08-09T15:37:38Z Templates @@ -4944,7 +4944,15 @@ Value is calculated by read number of sectors multiplied by 512. 0 0 - + + + SYS::Host is down + {OS Linux:icmpping.count(#10,0,"eq")}>9 and +{OS Linux:agent.ping.nodata(15m)}=1 and +{OS Linux:system.uptime.count(15m)}=0 + + + @@ -5007,7 +5015,15 @@ If those macros are not defined alarms about low CPU::idle will be not created.< 0 0 - + + + SYS::Host is down + {OS Linux:icmpping.count(#10,0,"eq")}>9 and +{OS Linux:agent.ping.nodata(15m)}=1 and +{OS Linux:system.uptime.count(15m)}=0 + + + @@ -5023,7 +5039,15 @@ If those macros are not defined alarms about low CPU::idle will be not created.< CPUs information has change. 0 0 - + + + SYS::Host is down + {OS Linux:icmpping.count(#10,0,"eq")}>9 and +{OS Linux:agent.ping.nodata(15m)}=1 and +{OS Linux:system.uptime.count(15m)}=0 + + + @@ -5039,7 +5063,15 @@ If those macros are not defined alarms about low CPU::idle will be not created.< Hardware devices list has been changed. 1 0 - + + + SYS::Host is down + {OS Linux:icmpping.count(#10,0,"eq")}>9 and +{OS Linux:agent.ping.nodata(15m)}=1 and +{OS Linux:system.uptime.count(15m)}=0 + + + @@ -5055,7 +5087,15 @@ If those macros are not defined alarms about low CPU::idle will be not created.< 0 0 - + + + SYS::Host is down + {OS Linux:icmpping.count(#10,0,"eq")}>9 and +{OS Linux:agent.ping.nodata(15m)}=1 and +{OS Linux:system.uptime.count(15m)}=0 + + + @@ -5077,6 +5117,13 @@ If those macros are not defined alarms about low CPU::idle will be not created.< ({OS Linux:vm.memory.size[available].min(#3)}/{OS Linux:vm.memory.size[total].last(0)})<0.05 + + SYS::Host is down + {OS Linux:icmpping.count(#10,0,"eq")}>9 and +{OS Linux:agent.ping.nodata(15m)}=1 and +{OS Linux:system.uptime.count(15m)}=0 + + @@ -5093,7 +5140,15 @@ If those macros are not defined alarms about low CPU::idle will be not created.< 0 0 - + + + SYS::Host is down + {OS Linux:icmpping.count(#10,0,"eq")}>9 and +{OS Linux:agent.ping.nodata(15m)}=1 and +{OS Linux:system.uptime.count(15m)}=0 + + + @@ -5245,7 +5300,15 @@ s3-dump hosts delete 0 0 - + + + SYS::Host is down + {OS Linux:icmpping.count(#10,0,"eq")}>9 and +{OS Linux:agent.ping.nodata(15m)}=1 and +{OS Linux:system.uptime.count(15m)}=0 + + + @@ -5261,7 +5324,15 @@ s3-dump hosts delete Tim drift bigger than 60s. 0 0 - + + + SYS::Host is down + {OS Linux:icmpping.count(#10,0,"eq")}>9 and +{OS Linux:agent.ping.nodata(15m)}=1 and +{OS Linux:system.uptime.count(15m)}=0 + + + @@ -5277,7 +5348,15 @@ s3-dump hosts delete 0 0 - + + + SYS::Host is down + {OS Linux:icmpping.count(#10,0,"eq")}>9 and +{OS Linux:agent.ping.nodata(15m)}=1 and +{OS Linux:system.uptime.count(15m)}=0 + + + diff --git a/OS Linux/README.md b/OS Linux/README.md index 30945a9..742e442 100644 --- a/OS Linux/README.md +++ b/OS Linux/README.md @@ -51,11 +51,12 @@ Base Linux monitoring template. - new ```DSK, NET``` screen added - add to ```MEM``` screen ```MEM::active vs inactive``` graph - Triggers: - - ```SYS::Host is down``` corrected descrition + - ```SYS::Host is down``` descrition corrected - ```CPU::idle``` trigger now uses macros: ```{$OS_CPU_IDLE}```: threshold below which is raised alarm about low ```CPU::idle time``` ```{$OS_CPU_IDLE_HIST}```: hysteresis time for ```CPU::idle``` after which alarm starts and recovers after additional period defined in ```{$OS_CPU_IDLE_HIST}``` If those macros are not defined in system macros alarms about low ```CPU::idle time``` will be not created + - Add proper dependency for all trigges which still does not depend on ```SYS::Host is down``` - 1.0.4 (2018-06-11) - Graphs: - change all graphs resolution to 1200x300 diff --git a/README.md b/README.md index 8bcb30b..fa61fb6 100644 --- a/README.md +++ b/README.md @@ -64,10 +64,11 @@ This repository provides a set of templates which offers the alternative set of - new ```DSK, NET``` screen added - add to ```MEM``` screen ```MEM::active vs inactive``` graph - Triggers: - - ```SYS::Host is down``` corrected descrition + - ```SYS::Host is down``` descrition corrected - ```CPU::idle``` triggers change to raise alarm when idle time is less than 5% CPU idle time time for at least 1 hour and alarm is cleared ehen for next hour will be no other flapping anbove 5% + - Add proper dependency for all trigges which still does not depend on ```SYS::Host is down``` - **OS Solaris** - Applications: - remove using ```DSK```, ```NET``` and ```VOL``` Applications and replace them by LLD prototypes From b29ff7063185aed7cbdead2e3b32789c251577e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Fri, 9 Aug 2019 19:25:52 +0100 Subject: [PATCH 69/76] OS Windows: the same triggers dependency changes as in "OS Linux". Add proper dependency for all trigges which still does not depend on "SYS::Host is down" --- OS Windows/OS Windows.xml | 64 ++++++++++++++++++++++++++++++++++----- OS Windows/README.md | 9 +++--- README.md | 3 +- 3 files changed, 63 insertions(+), 13 deletions(-) diff --git a/OS Windows/OS Windows.xml b/OS Windows/OS Windows.xml index 04fed8b..ed15aab 100644 --- a/OS Windows/OS Windows.xml +++ b/OS Windows/OS Windows.xml @@ -1,7 +1,7 @@ 4.2 - 2019-06-01T20:53:19Z + 2019-08-09T18:18:30Z Templates @@ -16,7 +16,7 @@ Version: 1.0.4 (2018-06-04) URL: https://github.com/kloczek/zabbix-templates/tree/master/OS%20Windows -Notes: +#### Notes: Templates @@ -12697,7 +12697,15 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + SYS::Host is down + {OS Solaris:icmpping.count(#10,0,"eq")}>9 and +{OS Solaris:agent.ping.nodata(15m)}=1 and +{OS Solaris:system.uptime.count(15m)}=0 + + + @@ -12798,7 +12806,15 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + SYS::Host is down + {OS Solaris:icmpping.count(#10,0,"eq")}>9 and +{OS Solaris:agent.ping.nodata(15m)}=1 and +{OS Solaris:system.uptime.count(15m)}=0 + + + @@ -12832,7 +12848,15 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + SYS::Host is down + {OS Solaris:icmpping.count(#10,0,"eq")}>9 and +{OS Solaris:agent.ping.nodata(15m)}=1 and +{OS Solaris:system.uptime.count(15m)}=0 + + + @@ -12848,7 +12872,15 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil Tim drift bigger than 60s. 0 0 - + + + SYS::Host is down + {OS Solaris:icmpping.count(#10,0,"eq")}>9 and +{OS Solaris:agent.ping.nodata(15m)}=1 and +{OS Solaris:system.uptime.count(15m)}=0 + + + @@ -12864,7 +12896,15 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + SYS::Host is down + {OS Solaris:icmpping.count(#10,0,"eq")}>9 and +{OS Solaris:agent.ping.nodata(15m)}=1 and +{OS Solaris:system.uptime.count(15m)}=0 + + + @@ -12880,7 +12920,15 @@ system.run["powershell -NoProfile -ExecutionPolicy Bypass -File \"C:\Program Fil 0 0 - + + + SYS::Host is down + {OS Solaris:icmpping.count(#10,0,"eq")}>9 and +{OS Solaris:agent.ping.nodata(15m)}=1 and +{OS Solaris:system.uptime.count(15m)}=0 + + + diff --git a/OS Windows/README.md b/OS Windows/README.md index 3a88d6c..a18bb5d 100644 --- a/OS Windows/README.md +++ b/OS Windows/README.md @@ -12,18 +12,19 @@ Base OS Windows template. #### Changelog: - (devel): - Items: - - make template zabbix 4.0.x ready by remove using $1-$9 macros in items names + - Make template zabbix 4.0.x ready by remove using $1-$9 macros in items names - ```VOL:``` LLD items fixed Application ```VOL``` changed to per volume ```VOL::{#FSNAME}``` - ```NET:``` LLD items fixed Application ```NET``` changed to per interface ```NET::{#FSNAME}``` - Triggers: - - added missing ```SYS::Host is down``` trigger with all necessary dependencies + - Added missing ```SYS::Host is down``` trigger with all necessary dependencies + - Add proper dependency for all trigges which still does not depend on ```SYS::Host is down``` - Screens: - Added ```CPU``` screen like in other Os templates - 1.0.4 (2018-06-11) - Triggers: - - rename trigger name to the same name as it is in other OS templates + - Rename trigger name to the same name as it is in other OS templates s/Host information was changed/```SYS:uname changed```/ - - rename "Lack of free memory" to ```MEM::free {ITEM.LASTVALUE}``` + - Rename "Lack of free memory" to ```MEM::free {ITEM.LASTVALUE}``` - Graphs: - change resolution to 1200x300 - 1.0.3 diff --git a/README.md b/README.md index fa61fb6..1af3ff8 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,8 @@ This repository provides a set of templates which offers the alternative set of - ```VOL:``` LLD items fixed Application ```VOL``` changed to per volume ```VOL::{#FSNAME}``` - ```NET:``` LLD items fixed Application ```NET``` changed to per interface ```NET::{#FSNAME}``` - Triggers: - - added missing ```SYS::Host is down``` trigger with all necessary dependencies + - Added missing ```SYS::Host is down``` trigger with all necessary dependencies + - Add proper dependency for all trigges which still does not depend on ```SYS::Host is down``` - **Service Apache** - Macros: - Rename all ```{$APACHE_SERVICE_*}``` macros to ```{$SVC_APACHE_*}``` From 776ff7c977e644c1689bbfd4da113afe57ca71c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Fri, 9 Aug 2019 19:27:19 +0100 Subject: [PATCH 70/76] OS Solaris: the same triggers dependency changes as in "OS Linux". Add proper dependency for all trigges which still does not depend on "SYS::Host is down" --- OS Solaris/OS Solaris.xml | 72 ++++++++++++++++++++++++++++++++++----- OS Solaris/README.md | 1 + README.md | 1 + 3 files changed, 66 insertions(+), 8 deletions(-) diff --git a/OS Solaris/OS Solaris.xml b/OS Solaris/OS Solaris.xml index 4723563..b612a3e 100644 --- a/OS Solaris/OS Solaris.xml +++ b/OS Solaris/OS Solaris.xml @@ -1,7 +1,7 @@ 4.2 - 2019-08-06T15:48:15Z + 2019-08-09T18:15:54Z Templates @@ -5116,7 +5116,15 @@ Please login on the host and check output of the commands: 0 0 - + + + SYS::Host is down + {OS Solaris:icmpping.count(#10,0,"eq")}>9 and +{OS Solaris:agent.ping.nodata(15m)}=1 and +{OS Solaris:system.uptime.count(15m)}=0 + + + @@ -5133,7 +5141,15 @@ Please login on the host and check output of the commands: If those macros are not defined alarms about low CPU::idle will be not created. 0 0 - + + + SYS::Host is down + {OS Solaris:icmpping.count(#10,0,"eq")}>9 and +{OS Solaris:agent.ping.nodata(15m)}=1 and +{OS Solaris:system.uptime.count(15m)}=0 + + + @@ -5149,7 +5165,15 @@ If those macros are not defined alarms about low CPU::idle will be not created.< 0 0 - + + + SYS::Host is down + {OS Solaris:icmpping.count(#10,0,"eq")}>9 and +{OS Solaris:agent.ping.nodata(15m)}=1 and +{OS Solaris:system.uptime.count(15m)}=0 + + + @@ -5186,7 +5210,15 @@ If those macros are not defined alarms about low CPU::idle will be not created.< 0 0 - + + + SYS::Host is down + {OS Solaris:icmpping.count(#10,0,"eq")}>9 and +{OS Solaris:agent.ping.nodata(15m)}=1 and +{OS Solaris:system.uptime.count(15m)}=0 + + + @@ -5202,7 +5234,15 @@ If those macros are not defined alarms about low CPU::idle will be not created.< 0 0 - + + + SYS::Host is down + {OS Solaris:icmpping.count(#10,0,"eq")}>9 and +{OS Solaris:agent.ping.nodata(15m)}=1 and +{OS Solaris:system.uptime.count(15m)}=0 + + + @@ -5218,7 +5258,15 @@ If those macros are not defined alarms about low CPU::idle will be not created.< Tim drift bigger than 50s. 0 0 - + + + SYS::Host is down + {OS Solaris:icmpping.count(#10,0,"eq")}>9 and +{OS Solaris:agent.ping.nodata(15m)}=1 and +{OS Solaris:system.uptime.count(15m)}=0 + + + @@ -5234,7 +5282,15 @@ If those macros are not defined alarms about low CPU::idle will be not created.< 0 0 - + + + SYS::Host is down + {OS Solaris:icmpping.count(#10,0,"eq")}>9 and +{OS Solaris:agent.ping.nodata(15m)}=1 and +{OS Solaris:system.uptime.count(15m)}=0 + + + diff --git a/OS Solaris/README.md b/OS Solaris/README.md index 90ea479..b085d2e 100644 --- a/OS Solaris/README.md +++ b/OS Solaris/README.md @@ -70,6 +70,7 @@ zfs:0:arcstats:snaptime ```{$OS_CPU_IDLE}```: threshold below which is raised alarm about low ```CPU::idle time``` ```{$OS_CPU_IDLE_HIST}```: hysteresis time for ```CPU::idle``` after which alarm starts and recovers after additional period defined in ```{$OS_CPU_IDLE_HIST}``` If those macros are not defined in system macros alarms about low ```CPU::idle time``` will be not created + - Add proper dependency for all trigges which still does not depend on ```SYS::Host is down``` - 1.0.4 (2018-06-11) - Triggers: - fixed typo in trigger name s/SYS:uname changed/```SYS::uname changed```/ diff --git a/README.md b/README.md index 1af3ff8..dbd1233 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,7 @@ This repository provides a set of templates which offers the alternative set of - Triggers: - Added ```SYS::Host is down``` - Added ```CPU::idle {ITEM.VALUE}``` + - Add proper dependency for all trigges which still does not depend on ```SYS::Host is down``` - **OS Windows** - Iems: - ```VOL:``` LLD items fixed Application ```VOL``` changed to per volume ```VOL::{#FSNAME}``` From e2406a33d3c0e8c5ba79bf3ddf4db1bf102809bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Mon, 12 Aug 2019 19:01:53 +0100 Subject: [PATCH 71/76] Service Nginx: rename {$SVC_NGINX_PROCESS} to {$SVC_NGINX_PROC} and {$NGINX_PORT} to {$SVC_NGINX_PORT}. Just to keep consistency with other templates. --- README.md | 1 + Service Nginx/README.md | 3 ++- Service Nginx/Service Nginx.xml | 46 ++++++++++++++++----------------- 3 files changed, 26 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index dbd1233..c58342f 100644 --- a/README.md +++ b/README.md @@ -119,6 +119,7 @@ This repository provides a set of templates which offers the alternative set of - Macros: - Rename ```{$NGINX_*}``` macros to ```{$SVC_NGINX_*}``` - Added ```{$SVC_NGINX_USER}``` macro to allow use this template on Debian/Ubuntu as well + - Rename ```{$SVC_NGINX_PROCESS}`` to ```{$SVC_NGINX_PROC}``` - Graphs: - new ```SVC::Nginx::reqs_per_conn``` - Items: diff --git a/Service Nginx/README.md b/Service Nginx/README.md index 45c27cf..c420ec8 100644 --- a/Service Nginx/README.md +++ b/Service Nginx/README.md @@ -11,7 +11,7 @@ Nginx https service monitoring template. This template is using | :--------------------- | :------------------ | :-------------------------------------------------- | | {$SVC_NGINX_HOST} | localhost | Hostname of the nginx service | | {$SVC_NGINX_PORT} | 80 | TCP port | -| {$SVC_NGINX_PROCESS} | nginx | nginx non-root user used by workers nginx processes | +| {$SVC_NGINX_PROC} | nginx | nginx non-root user used by workers nginx processes | | {$SVC_NGINX_STATS_URI} | /stub_status | URI adderss of the status_stub page | | {$SVC_NGINX_USER} | nginx | nginx non-root user used by workers nginx processes | @@ -33,6 +33,7 @@ Nginx https service monitoring template. This template is using - Macros: - Rename ```{$NGINX_*}``` macros to ```{$SVC_NGINX_*}``` - Added ```{$SVC_NGINX_USER}``` macro to allow use this template on Debian/Ubuntu as well + - Rename ```{$SVC_NGINX_PROCESS}`` to ```{$SVC_NGINX_PROC}``` - Graphs: - new ```SVC::Nginx::reqs_per_conn``` - Items: diff --git a/Service Nginx/Service Nginx.xml b/Service Nginx/Service Nginx.xml index b8e9950..89cb74b 100644 --- a/Service Nginx/Service Nginx.xml +++ b/Service Nginx/Service Nginx.xml @@ -1,7 +1,7 @@ 4.2 - 2019-05-30T17:06:11Z + 2019-08-12T16:55:11Z Templates @@ -51,7 +51,7 @@ URL: https://github.com/kloczek/zabbix-templates/tree/master/Service%20Nginx 7 - net.tcp.service[{$SVC_NGINX_PROCESS},,{$SVC_NGINX_PORT}] + net.tcp.service[{$SVC_NGINX_PROC},,{$SVC_NGINX_PORT}] 1m 2w 365d @@ -181,7 +181,7 @@ This doesn’t mean number of users. A single user, for a single pageview can op 0 0 - web.page.get[{$SVC_NGINX_HOST},{$SVC_NGINX_STATS_URI},{$NGINX_PORT}] + web.page.get[{$SVC_NGINX_HOST},{$SVC_NGINX_STATS_URI},{$SVC_NGINX_PORT}] @@ -257,7 +257,7 @@ This doesn’t mean number of users. A single user, for a single pageview can op 0 0 - web.page.get[{$SVC_NGINX_HOST},{$SVC_NGINX_STATS_URI},{$NGINX_PORT}] + web.page.get[{$SVC_NGINX_HOST},{$SVC_NGINX_STATS_URI},{$SVC_NGINX_PORT}] @@ -340,7 +340,7 @@ http://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_timeout0 0 - web.page.get[{$SVC_NGINX_HOST},{$SVC_NGINX_STATS_URI},{$NGINX_PORT}] + web.page.get[{$SVC_NGINX_HOST},{$SVC_NGINX_STATS_URI},{$SVC_NGINX_PORT}] @@ -416,7 +416,7 @@ http://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_timeout0 0 - web.page.get[{$SVC_NGINX_HOST},{$SVC_NGINX_STATS_URI},{$NGINX_PORT}] + web.page.get[{$SVC_NGINX_HOST},{$SVC_NGINX_STATS_URI},{$SVC_NGINX_PORT}] @@ -498,7 +498,7 @@ http://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_timeout0 0 - web.page.get[{$SVC_NGINX_HOST},{$SVC_NGINX_STATS_URI},{$NGINX_PORT}] + web.page.get[{$SVC_NGINX_HOST},{$SVC_NGINX_STATS_URI},{$SVC_NGINX_PORT}] @@ -580,7 +580,7 @@ http://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_timeout0 0 - web.page.get[{$SVC_NGINX_HOST},{$SVC_NGINX_STATS_URI},{$NGINX_PORT}] + web.page.get[{$SVC_NGINX_HOST},{$SVC_NGINX_STATS_URI},{$SVC_NGINX_PORT}] @@ -670,7 +670,7 @@ Generally, the parameter value is the same as accepts unless some resource limit 0 0 - web.page.get[{$SVC_NGINX_HOST},{$SVC_NGINX_STATS_URI},{$NGINX_PORT}] + web.page.get[{$SVC_NGINX_HOST},{$SVC_NGINX_STATS_URI},{$SVC_NGINX_PORT}] @@ -737,7 +737,7 @@ Generally, the parameter value is the same as accepts unless some resource limit 7 - proc.mem[{$SVC_NGINX_PROCESS},root,] + proc.mem[{$SVC_NGINX_PROC},root,] 30s 2w 365d @@ -796,7 +796,7 @@ Generally, the parameter value is the same as accepts unless some resource limit 7 - proc.mem[{$SVC_NGINX_PROCESS},{$SVC_NGINX_USER},sum] + proc.mem[{$SVC_NGINX_PROC},{$SVC_NGINX_USER},sum] 30s 2w 365d @@ -855,7 +855,7 @@ Generally, the parameter value is the same as accepts unless some resource limit 7 - proc.mem[{$SVC_NGINX_PROCESS}] + proc.mem[{$SVC_NGINX_PROC}] 30s 2w 365d @@ -914,7 +914,7 @@ Generally, the parameter value is the same as accepts unless some resource limit 7 - proc.num[{$SVC_NGINX_PROCESS},root] + proc.num[{$SVC_NGINX_PROC},root] 1m 2w 365d @@ -973,7 +973,7 @@ Generally, the parameter value is the same as accepts unless some resource limit 7 - proc.num[{$SVC_NGINX_PROCESS},{$SVC_NGINX_USER}] + proc.num[{$SVC_NGINX_PROC},{$SVC_NGINX_USER}] 1m 2w 365d @@ -1091,9 +1091,9 @@ Generally, the parameter value is the same as accepts unless some resource limit 7 - web.page.get[{$SVC_NGINX_HOST},{$SVC_NGINX_STATS_URI},{$NGINX_PORT}] + web.page.get[{$SVC_NGINX_HOST},{$SVC_NGINX_STATS_URI},{$SVC_NGINX_PORT}] 30s - 0d + 0 0 0 4 @@ -1158,7 +1158,7 @@ Generally, the parameter value is the same as accepts unless some resource limit 80 - {$SVC_NGINX_PROCESS} + {$SVC_NGINX_PROC} nginx @@ -1273,7 +1273,7 @@ Generally, the parameter value is the same as accepts unless some resource limit - {Service Nginx:net.tcp.service[{$SVC_NGINX_PROCESS},,{$SVC_NGINX_PORT}].max(#3)}=0 + {Service Nginx:net.tcp.service[{$SVC_NGINX_PROC},,{$SVC_NGINX_PORT}].max(#3)}=0 0 SVC::http tcp/{$SVC_NGINX_PORT} is DOWN @@ -1289,7 +1289,7 @@ Generally, the parameter value is the same as accepts unless some resource limit - {Service Nginx:proc.num[{$SVC_NGINX_PROCESS},root].last()}=0 + {Service Nginx:proc.num[{$SVC_NGINX_PROC},root].last()}=0 0 SVC::nginx::master process is DOWN @@ -1306,7 +1306,7 @@ Please confirm the state. - {Service Nginx:proc.num[{$SVC_NGINX_PROCESS},{$SVC_NGINX_USER}].avg(#3)}=0 + {Service Nginx:proc.num[{$SVC_NGINX_PROC},{$SVC_NGINX_USER}].avg(#3)}=0 0 SVC::nginx::workers DOWN @@ -1322,7 +1322,7 @@ Please confirm the state. SVC::nginx::master process is DOWN - {Service Nginx:proc.num[{$SVC_NGINX_PROCESS},root].last()}=0 + {Service Nginx:proc.num[{$SVC_NGINX_PROC},root].last()}=0 @@ -1425,7 +1425,7 @@ Please confirm the state. 0 Service Nginx - proc.mem[{$SVC_NGINX_PROCESS},root,] + proc.mem[{$SVC_NGINX_PROC},root,] @@ -1437,7 +1437,7 @@ Please confirm the state. 0 Service Nginx - proc.mem[{$SVC_NGINX_PROCESS},{$SVC_NGINX_USER},sum] + proc.mem[{$SVC_NGINX_PROC},{$SVC_NGINX_USER},sum] From 30fa3ad4d4e7269ec74853ffa2b4aaac7a6b2bd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Thu, 12 Sep 2019 13:26:08 +0100 Subject: [PATCH 72/76] Service MySQL: Documented how to setup mysql server to allow monitor it --- README.md | 1 + Service MySQL/README.md | 12 +++++++++--- Service MySQL/Service MySQL.xml | 11 ++++++++--- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c58342f..b8f2261 100644 --- a/README.md +++ b/README.md @@ -105,6 +105,7 @@ This repository provides a set of templates which offers the alternative set of - Triggers: - rename ```SVC::Apache tcp/{$HTTP_SERVICE_PORT} is DOWN``` to ```NET::Apache tcp/{$HTTP_SERVICE_PORT} is DOWN``` - **Service MySQL** + - Documented how to setup mysql server to allow monitor it - Items: - ```PROC::mysqld``` - change hardcoded MySQL process name to the macro ``{$SVC_MYSQL_PROC}``` diff --git a/Service MySQL/README.md b/Service MySQL/README.md index 3cce8e7..94b4c9b 100644 --- a/Service MySQL/README.md +++ b/Service MySQL/README.md @@ -19,10 +19,15 @@ My advice is even to disable show_compatibility_56 to not start by mistake use s * To be able to use this template on a host you need to setup a monitoring account with the proper privileges. * To add such account you can use below queries: ``` -CREATE USER 'monitoring'@'localhost' IDENTIFIED BY 'monitoring'; -GRANT SELECT, INDEX, SHOW DATABASES, REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO 'monitoring'@'localhost'; -FLUSH PRIVILEGES; +mysql -e "CREATE USER 'monitoring'@'localhost' IDENTIFIED BY 'monitoring';" +mysql -e "GRANT SELECT, INDEX, SHOW DATABASES, REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO 'monitoring'@'localhost';" +mysql -e "FLUSH PRIVILEGES;" +mkdir -p /var/lib/zabbix +chwon zabbix:zabbix /var/lib/zabbix +chmod 700 /var/lib/zabbix +su - zabbix -s /bin/bash -c "mysql_config_editor set --login-path=monitoring --user monitoring --password" ``` +and enter as password "monitoring" * MySQL 5.7 documentation: http://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html http://dev.mysql.com/doc/refman/5.7/en/innodb-configuration.html @@ -30,6 +35,7 @@ http://dev.mysql.com/doc/refman/5.7/en/innodb-information-schema.html #### Changelog: - (devel): + - Documented how to setup mysql server to allow monitor it - Items: - make template zabbix 4.0.x ready by remove using $1-$9 macros in items names - ```PROC::mysqld``` diff --git a/Service MySQL/Service MySQL.xml b/Service MySQL/Service MySQL.xml index 6917cc0..b4857b9 100644 --- a/Service MySQL/Service MySQL.xml +++ b/Service MySQL/Service MySQL.xml @@ -32,10 +32,15 @@ My advice is even to disable show_compatibility_56 to not start by mistake use s * To be able to use this template on a host you need to setup a monitoring account with the proper privileges. * To add such account you can use below queries: ``` -CREATE USER 'monitoring'@'localhost' IDENTIFIED BY 'monitoring'; -GRANT SELECT, INDEX, SHOW DATABASES, REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO 'monitoring'@'localhost'; -FLUSH PRIVILEGES; +mysql -e "CREATE USER 'monitoring'@'localhost' IDENTIFIED BY 'monitoring';" +mysql -e "GRANT SELECT, INDEX, SHOW DATABASES, REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO 'monitoring'@'localhost';" +mysql -e "FLUSH PRIVILEGES;" +mkdir -p /var/lib/zabbix +chwon zabbix:zabbix /var/lib/zabbix +chmod 700 /var/lib/zabbix +su - zabbix -s /bin/bash -c "mysql_config_editor set --login-path=monitoring --user monitoring --password" ``` +and enter as password "monitoring" * MySQL 5.7 documentation: http://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html http://dev.mysql.com/doc/refman/5.7/en/innodb-configuration.html From 34581a55784eee0228b63953de8f99c7e33c57b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Fri, 18 Oct 2019 17:10:35 +0100 Subject: [PATCH 73/76] Start standarisation severities of the triggers. Fist rule for triggers like: - Version has changed - Configuration parametr has changed Assigne them as "Not classified" severity. --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index b8f2261..04a08ee 100644 --- a/README.md +++ b/README.md @@ -355,6 +355,15 @@ This repository provides a set of templates which offers the alternative set of * All zabbix agent items should be specified as ```zabbix agent (active)``` items. * All graphs resolution needs to be 1200x300. * All SNMP items should be as SNMPv2 and ```{$SNMP_COMMUNITY}``` as SNMP read community name. +* Trigger severities: + * Disaster: + * High: + * Average: + * Warning: + * Information: + * Not classified: + - Version has changed + - Configuration parametr has changed Reason of use in all templates the same graphs resolution, item types and SNMP protocol version and community name is to provide easy way to change those settings across all templates is someone may need this. From 95cd239e5b84de84e934f999747f8a6d2a81df91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Fri, 18 Oct 2019 17:41:09 +0100 Subject: [PATCH 74/76] Service MySQL, Service Zabbix Agent: change trigger severity about version change Service MySQL: - Triggers: - change "SVC::MySQL::version has changed to {ITEM.LASTVALUE}" to "Not classified" Service Zabbix Agent: - Triggers: - change "SVC::zabbix_agent::version has changed to {ITEM.LASTVALUE}" to "Not classified" --- README.md | 3 +++ Service MySQL/README.md | 1 + Service MySQL/Service MySQL.xml | 2 +- Service Zabbix Agent/README.md | 2 ++ Service Zabbix Agent/Service Zabbix Agent.xml | 4 ++-- 5 files changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 04a08ee..d4f5a80 100644 --- a/README.md +++ b/README.md @@ -115,6 +115,7 @@ This repository provides a set of templates which offers the alternative set of - Triggers: - ```SYS::processes::{$SVC_MYSQL_PROC} is not running``` severity changed to disaster + - change ```SVC::MySQL::version has changed to {ITEM.LASTVALUE}``` to ```Not classified``` - Add use md markups in template description - **Service Nginx** - Macros: @@ -130,6 +131,8 @@ This repository provides a set of templates which offers the alternative set of - new ```HOST::items``` which presents number of host items vs number of unsuppoerted item - Items: - new ```items``` with current counter of total host items (supported/unsupprted/enabled/disabled) + - Triggers: + - change ```SVC::zabbix_agent::Version has changed to {ITEM.LASTVALUE}``` to ```Not classified``` - **Service Zabbix Server** Presentation layer impromements: - Graphs: diff --git a/Service MySQL/README.md b/Service MySQL/README.md index 94b4c9b..ce864ff 100644 --- a/Service MySQL/README.md +++ b/Service MySQL/README.md @@ -46,6 +46,7 @@ http://dev.mysql.com/doc/refman/5.7/en/innodb-information-schema.html - Triggers: - ```SYS::processes::{$SVC_MYSQL_PROC} is not running`` severity changed to disaster + - change ```SVC::MySQL::version has changed to {ITEM.LASTVALUE}``` to ```Not classified``` - Add use md markups in template description - 1.0.4 (2018-06-11): - Applications: diff --git a/Service MySQL/Service MySQL.xml b/Service MySQL/Service MySQL.xml index b4857b9..4057d20 100644 --- a/Service MySQL/Service MySQL.xml +++ b/Service MySQL/Service MySQL.xml @@ -5370,7 +5370,7 @@ max_connections = <new_limit> 0 The MySQL engine version has been changed. 0 - 0 + 1 diff --git a/Service Zabbix Agent/README.md b/Service Zabbix Agent/README.md index d52acd4..a01352e 100644 --- a/Service Zabbix Agent/README.md +++ b/Service Zabbix Agent/README.md @@ -12,6 +12,8 @@ Base zabbix agent monitoring. - Items: - make template zabbix 4.0.x ready by remove using $1-$9 macros in items names - new ```items``` with current counter of total host items (supported/unsupprted/enabled/disabled) + - Triggers: + - change ```SVC::zabbix_agent::Version has changed to {ITEM.LASTVALUE}``` to ```Not classified``` - 1.0.4 (2018-06-11): - minor clenups in template description - 1.0.1 (2017-11-30): diff --git a/Service Zabbix Agent/Service Zabbix Agent.xml b/Service Zabbix Agent/Service Zabbix Agent.xml index 6f705a7..a2b94e5 100644 --- a/Service Zabbix Agent/Service Zabbix Agent.xml +++ b/Service Zabbix Agent/Service Zabbix Agent.xml @@ -318,12 +318,12 @@ Notes: {Service Zabbix Agent:agent.version.diff(0)}>0 0 - SVC::zabbix_agent::Version has changed to {ITEM.LASTVALUE} + SVC::zabbix_agent::version has changed to {ITEM.LASTVALUE} 0 0 - 1 + 0 Version of the zabbix agen has been changed. 0 0 From 27bedb5012ef19dbc2d523b4de6c6d44789c08c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Fri, 18 Oct 2019 17:43:51 +0100 Subject: [PATCH 75/76] Typos. --- README.md | 2 +- Service Nginx/README.md | 4 +-- Service Nginx/Service Nginx.xml | 46 ++++++++++++++++----------------- 3 files changed, 26 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index d4f5a80..1148491 100644 --- a/README.md +++ b/README.md @@ -121,7 +121,7 @@ This repository provides a set of templates which offers the alternative set of - Macros: - Rename ```{$NGINX_*}``` macros to ```{$SVC_NGINX_*}``` - Added ```{$SVC_NGINX_USER}``` macro to allow use this template on Debian/Ubuntu as well - - Rename ```{$SVC_NGINX_PROCESS}`` to ```{$SVC_NGINX_PROC}``` + - Rename ```{$SVC_NGINX_PROCESS}``` to ```{$SVC_NGINX_PROC}``` - Graphs: - new ```SVC::Nginx::reqs_per_conn``` - Items: diff --git a/Service Nginx/README.md b/Service Nginx/README.md index c420ec8..1ecef23 100644 --- a/Service Nginx/README.md +++ b/Service Nginx/README.md @@ -11,7 +11,7 @@ Nginx https service monitoring template. This template is using | :--------------------- | :------------------ | :-------------------------------------------------- | | {$SVC_NGINX_HOST} | localhost | Hostname of the nginx service | | {$SVC_NGINX_PORT} | 80 | TCP port | -| {$SVC_NGINX_PROC} | nginx | nginx non-root user used by workers nginx processes | +| {$SVC_NGINX_PROC} | nginx | nginx processes command line | | {$SVC_NGINX_STATS_URI} | /stub_status | URI adderss of the status_stub page | | {$SVC_NGINX_USER} | nginx | nginx non-root user used by workers nginx processes | @@ -33,7 +33,7 @@ Nginx https service monitoring template. This template is using - Macros: - Rename ```{$NGINX_*}``` macros to ```{$SVC_NGINX_*}``` - Added ```{$SVC_NGINX_USER}``` macro to allow use this template on Debian/Ubuntu as well - - Rename ```{$SVC_NGINX_PROCESS}`` to ```{$SVC_NGINX_PROC}``` + - Rename ```{$SVC_NGINX_PROCESS}``` to ```{$SVC_NGINX_PROC}``` - Graphs: - new ```SVC::Nginx::reqs_per_conn``` - Items: diff --git a/Service Nginx/Service Nginx.xml b/Service Nginx/Service Nginx.xml index 89cb74b..cc4ccd7 100644 --- a/Service Nginx/Service Nginx.xml +++ b/Service Nginx/Service Nginx.xml @@ -1,7 +1,7 @@ 4.2 - 2019-08-12T16:55:11Z + 2019-09-18T11:35:09Z Templates @@ -51,7 +51,7 @@ URL: https://github.com/kloczek/zabbix-templates/tree/master/Service%20Nginx 7 - net.tcp.service[{$SVC_NGINX_PROC},,{$SVC_NGINX_PORT}] + net.tcp.service[http,,{$SVC_NGINX_PORT}] 1m 2w 365d @@ -733,11 +733,11 @@ Generally, the parameter value is the same as accepts unless some resource limit - memory::master + memory 7 - proc.mem[{$SVC_NGINX_PROC},root,] + proc.mem[nginx,,,{$SVC_NGINX_PROC},rss] 30s 2w 365d @@ -760,7 +760,7 @@ Generally, the parameter value is the same as accepts unless some resource limit - Memory nginx process memory usage. + Total RSS memory usage by all nginx processes. 0 @@ -792,11 +792,11 @@ Generally, the parameter value is the same as accepts unless some resource limit - memory::workers + memory::master 7 - proc.mem[{$SVC_NGINX_PROC},{$SVC_NGINX_USER},sum] + proc.mem[nginx,root,,{$SVC_NGINX_PROC}] 30s 2w 365d @@ -819,7 +819,7 @@ Generally, the parameter value is the same as accepts unless some resource limit - Sum of memory of all ngingx worker process. + Memory nginx process memory usage. 0 @@ -851,11 +851,11 @@ Generally, the parameter value is the same as accepts unless some resource limit - memory + memory::workers 7 - proc.mem[{$SVC_NGINX_PROC}] + proc.mem[nginx,{$SVC_NGINX_USER},sum,{$SVC_NGINX_PROC}] 30s 2w 365d @@ -878,7 +878,7 @@ Generally, the parameter value is the same as accepts unless some resource limit - Total memory usage by all nginx processes. + Sum of memory of all ngingx worker process. 0 @@ -914,7 +914,7 @@ Generally, the parameter value is the same as accepts unless some resource limit 7 - proc.num[{$SVC_NGINX_PROC},root] + proc.num[nginx,root,,{$SVC_NGINX_PROC}] 1m 2w 365d @@ -969,11 +969,11 @@ Generally, the parameter value is the same as accepts unless some resource limit - PROC::nginx::workers + PROC::$1::workers 7 - proc.num[{$SVC_NGINX_PROC},{$SVC_NGINX_USER}] + proc.num[nginx,{$SVC_NGINX_USER},,{$SVC_NGINX_PROC}] 1m 2w 365d @@ -1032,7 +1032,7 @@ Generally, the parameter value is the same as accepts unless some resource limit 7 - system.run["/usr/sbin/nginx -v 2>&1|/bin/sed -n 's/nginx version: nginx\/\(.*\)/\1/ p'"] + system.run["{$SVC_NGINX_PROC} -v 2>&1|/bin/sed -n 's/nginx version: nginx\/\(.*\)/\1/ p'"] 1h 2w 0 @@ -1151,7 +1151,7 @@ Generally, the parameter value is the same as accepts unless some resource limit {$SVC_NGINX_HOST} - localhost + 127.0.0.1 {$SVC_NGINX_PORT} @@ -1193,7 +1193,7 @@ Generally, the parameter value is the same as accepts unless some resource limit 0 0 - system.run["/usr/sbin/nginx -v 2>&1|/bin/sed -n 's/nginx version: nginx\/\(.*\)/\1/ p'"] + system.run["{$SVC_NGINX_PROC} -v 2>&1|/bin/sed -n 's/nginx version: nginx\/\(.*\)/\1/ p'"] Service Nginx 3 @@ -1273,7 +1273,7 @@ Generally, the parameter value is the same as accepts unless some resource limit - {Service Nginx:net.tcp.service[{$SVC_NGINX_PROC},,{$SVC_NGINX_PORT}].max(#3)}=0 + {Service Nginx:net.tcp.service[http,,{$SVC_NGINX_PORT}].max(#3)}=0 0 SVC::http tcp/{$SVC_NGINX_PORT} is DOWN @@ -1289,7 +1289,7 @@ Generally, the parameter value is the same as accepts unless some resource limit - {Service Nginx:proc.num[{$SVC_NGINX_PROC},root].last()}=0 + {Service Nginx:proc.num[nginx,root,,{$SVC_NGINX_PROC}].last()}=0 0 SVC::nginx::master process is DOWN @@ -1306,7 +1306,7 @@ Please confirm the state. - {Service Nginx:proc.num[{$SVC_NGINX_PROC},{$SVC_NGINX_USER}].avg(#3)}=0 + {Service Nginx:proc.num[nginx,{$SVC_NGINX_USER},,{$SVC_NGINX_PROC}].avg(#3)}=0 0 SVC::nginx::workers DOWN @@ -1322,7 +1322,7 @@ Please confirm the state. SVC::nginx::master process is DOWN - {Service Nginx:proc.num[{$SVC_NGINX_PROC},root].last()}=0 + {Service Nginx:proc.num[nginx,root,,{$SVC_NGINX_PROC}].last()}=0 @@ -1425,7 +1425,7 @@ Please confirm the state. 0 Service Nginx - proc.mem[{$SVC_NGINX_PROC},root,] + proc.mem[nginx,root,,{$SVC_NGINX_PROC}] @@ -1437,7 +1437,7 @@ Please confirm the state. 0 Service Nginx - proc.mem[{$SVC_NGINX_PROC},{$SVC_NGINX_USER},sum] + proc.mem[nginx,{$SVC_NGINX_USER},sum,{$SVC_NGINX_PROC}] From aa4db00e4dce4ef5434f44538cf82283197c3387 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Fri, 25 Oct 2019 16:25:55 +0100 Subject: [PATCH 76/76] OS Linux: add complete swap monitoring using LLD. Complete swap space monitoring using LLD, so system swap monitoring is added only when the monitored system uses swap device(s). During the implementation of the swap monitoring, I found some difficulties about which you can read on: https://support.zabbix.com/browse/ZBX-16821 This is an excellent example of how to add similar things which add the set of items/triggers/graphs or not depends on the state of some single resource. Monitoring of the swap consists of: - "SWAP:" new LLD It adds prototypes: - items: "in", "total", "out" and "used" with discard unchanged filter - "SWAP" and "SWAP::in/out" graphs - trigger: "SWAP::low space ({$ITEM.VALUE}% used)" the trigger is activated when more the "{$SWAP_HIGH}" percent of the swap is used with default "{$SWAP_HIGH}=80" value - Screens: - "SWAP" added with "SWAP" and "SWAP::in/out" graphs TODO: add similar modification for L2ARC monitoring and MySQL slave databases connections. --- OS Linux/OS Linux.xml | 526 +++++++++++++++++++++++++++++++++++++++++- OS Linux/README.md | 13 ++ README.md | 7 + 3 files changed, 545 insertions(+), 1 deletion(-) diff --git a/OS Linux/OS Linux.xml b/OS Linux/OS Linux.xml index f057406..a297c04 100644 --- a/OS Linux/OS Linux.xml +++ b/OS Linux/OS Linux.xml @@ -45,6 +45,9 @@ URL: https://github.com/kloczek/zabbix-templates/tree/master/OS%20Linux PROC + + SWAP + SYS @@ -1679,7 +1682,14 @@ lowered from 10 -> 5 second updates as characteristics observed are very diff - + + + 20 + 7d + 0 + + + 3s @@ -3698,6 +3708,465 @@ Value is calculated by read number of sectors multiplied by 512. + + SWAP: + 7 + + + vfs.file.contents[/proc/meminfo] + 5m + 0 + + + + 0 + 0 + + 0 + + + + 0 + + + + + + + 0 + + + + {#SIZE} + 0 + 8 + A + + + + 0d + Swap space LLD item. + + + in + 7 + + + system.swap.in[,{#PAGES}] + 30s + 90d + 365d + 0 + 0 + + pages + + + 0 + 0 + + 0 + + + + 0 + + + + + + Pages swapped in. + 0 + + + SWAP + + + + + + + 10 + + 0 + + + + 20 + 7d + 0 + + + + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 + + + + + out + 7 + + + system.swap.out[,{#PAGES}] + 30s + 90d + 365d + 0 + 0 + + pages + + + 0 + 0 + + 0 + + + + 0 + + + + + + Pages swapped out. + 0 + + + SWAP + + + + + + + 10 + + 0 + + + + 20 + 7d + 0 + + + + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 + + + + + {#TOTAL} + 7 + + + system.swap.size[,{#TOTAL}] + 30s + 90d + 365d + 0 + 3 + + B + + + 0 + 0 + + 0 + + + + 0 + + + + + + Total swap space. + 0 + + + SWAP + + + + + + + 20 + 7d + 0 + + + + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 + + + + + {#USED} + 7 + + + system.swap.size[,{#USED}] + 30s + 90d + 365d + 0 + 3 + + B + + + 0 + 0 + + 0 + + + + 0 + + + + + + Used swap space. + 0 + + + SWAP + + + + + + + 20 + 7d + 0 + + + + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + 0 + + + + 0 + 0 + + + + + + + ({OS Linux:system.swap.size[,{#USED}].last()}/{OS Linux:system.swap.size[,{#TOTAL}].last()})*100>{$SWAP_HIGH} + 0 + + {#SWAP}::low space ({$ITEM.VALUE}% used) + 0 + + + 0 + 0 + Swap space low space level. + 0 + 1 + + + + + + + {#SWAP} + 1200 + 300 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 2 + FF4000 + 0 + 7 + 0 + + OS Linux + system.swap.size[,{#TOTAL}] + + + + 1 + 1 + 00FF00 + 0 + 7 + 0 + + OS Linux + system.swap.size[,{#USED}] + + + + + + {#SWAP}:in/out + 1200 + 300 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 2 + 0040FF + 0 + 7 + 0 + + OS Linux + system.swap.in[,{#PAGES}] + + + + 1 + 2 + 00FF00 + 0 + 7 + 0 + + OS Linux + system.swap.out[,{#PAGES}] + + + + + + + + 3s + + + + 200 + 1 + 0 + + + 0 + 0 + 0 + + + + 0 + 0 + + + + 5 + SwapTotal: +([0-9]+) kB +[{"{#SIZE}":\1,"{#SWAP}":"SWAP","{#TOTAL}":"total","{#USED}":"used","{#PAGES}":"pages"}] + 0 + + + + + VOL: 7 @@ -4544,6 +5013,10 @@ Value is calculated by read number of sectors multiplied by 512. {$STEAL_WARN} 20 + + {$SWAP_HIGH} + 80 + diff --git a/OS Linux/README.md b/OS Linux/README.md index 742e442..3506fcc 100644 --- a/OS Linux/README.md +++ b/OS Linux/README.md @@ -3,6 +3,10 @@ #### Description: Base Linux monitoring template. +| Macro | Default value | Description | +| :-- | :-- | :-- | +| {$SWAP_HIGH} | 80 | % threshold on which low swap space trigger is activated | + #### Notes: - compliant with EL7, OL7, Ubuntu (Xenial, Bionic) - documentation: @@ -34,6 +38,14 @@ Base Linux monitoring template. - Graphs: - new graph ```MEM::active vs inactive``` - LLD: + - ```SWAP:``` new LLD with complet swap space monitoring which is added only when swap is used + Swap monitoring consits of prototypes: + - items: ```in```, ```total```, ```out``` and ```used``` with discard unchanged filter + - graphs: ```SWAP``` and ```SWAP::in/out``` + - trigger: ```SWAP::low space ({$ITEM.VALUE}% used)``` + trigger is activated wnen more than ```{$SWAP_HIGH}``` percent of the swap is used with default ```{$SWAP_HIGH}=80``` value + - Screens: + - ```SWAP``` added with ```SWAP``` and ```SWAP::in/out``` graphs - rewrited ```VOL``` triggers to use proper severities and triggers prototypes dependencies - LXC monitoring adaptations: - add in ```VOL:``` LLD filter off all volumes mounted under /var/lib/lxc. If ```OS Linux``` @@ -48,6 +60,7 @@ Base Linux monitoring template. as "Discard unchanged" filter preprocessor cannot be used for now https://support.zabbix.com/browse/ZBX-16456 - Screens: + - ```SWAP``` added with ```SWAP``` and ```SWAP::in/out``` graphs - new ```DSK, NET``` screen added - add to ```MEM``` screen ```MEM::active vs inactive``` graph - Triggers: diff --git a/README.md b/README.md index 1148491..6dd34a6 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,12 @@ This repository provides a set of templates which offers the alternative set of - ```MEM::total``` history period changed to 1h as "Discard unchanged" filter preprocessor cannot be used for now https://support.zabbix.com/browse/ZBX-16456 - LLD: + - ```SWAP:``` new LLD with complet swap space monitoring which is added only when swap is used + Swap monitoring consits of prototypes: + - items: ```in```, ```total```, ```out``` and ```used``` with discard unchanged filter + - ```SWAP``` and ```SWAP::in/out``` graphs + - trigger: ```SWAP::low space ({$ITEM.VALUE}% used)``` + trigger is activated wnen more tha ```{$SWAP_HIGH}``` percent of the swap is used with default ```{$SWAP_HIGH}=80``` value - rewrited ```VOL``` triggers to use proper severities and triggers prototypes dependencies - LXC monitoring adaptations: - add in ```VOL:``` LLD filter off all volumes mounted under /var/lib/lxc. If ```OS Linux``` @@ -61,6 +67,7 @@ This repository provides a set of templates which offers the alternative set of as "Discard unchanged" filter preprocessor cannot be used for now https://support.zabbix.com/browse/ZBX-16456 - Screens: + - ```SWAP``` added with ```SWAP``` and ```SWAP::in/out``` graphs - new ```DSK, NET``` screen added - add to ```MEM``` screen ```MEM::active vs inactive``` graph - Triggers: