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

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristaps Naglis <kristaps.naglis@zabbix.com>2022-10-24 15:41:38 +0300
committerKristaps Naglis <kristaps.naglis@zabbix.com>2022-10-24 15:41:38 +0300
commit1b7572dbb93baac09c88190106a95c272f73e684 (patch)
treebfd48fee2eb8564cdc8fa66096b4647e6ab52946 /templates
parent526988bcced9842beeefeca18c3ac268b6678241 (diff)
.........T [ZBXNEXT-8035] added override for file system discovery trigger in f5 template
Diffstat (limited to 'templates')
-rw-r--r--templates/net/f5_bigip_snmp/README.md9
-rw-r--r--templates/net/f5_bigip_snmp/template_net_f5_bigip_snmp.yaml28
2 files changed, 29 insertions, 8 deletions
diff --git a/templates/net/f5_bigip_snmp/README.md b/templates/net/f5_bigip_snmp/README.md
index 37a4cefa049..173720e3c17 100644
--- a/templates/net/f5_bigip_snmp/README.md
+++ b/templates/net/f5_bigip_snmp/README.md
@@ -3,7 +3,7 @@
## Overview
-For Zabbix version: 6.2 and higher
+For Zabbix version: 6.2 and higher.
https://www.f5.com/products/big-ip-services
## Setup
@@ -27,6 +27,7 @@ No specific Zabbix configuration is required.
|{$BIGIP.FS.FREE.WARN.MIN} |<p>The warning threshold of the file system utilization in %.</p> |`10` |
|{$BIGIP.LLD.FILTER.PART.NAME.MATCHES} |<p>Filter of discoverable mount point names.</p> |`.*` |
|{$BIGIP.LLD.FILTER.PART.NAME.NOT_MATCHES} |<p>Filter to exclude discovered by mount point names.</p> |`CHANGE_IF_NEEDED` |
+|{$BIGIP.LLD.OVERRIDE.PART.FILTER_LOW_SPACE_TRIGGER} |<p>Partitions which low free space trigger should ignore</p> |`^/usr$` |
|{$BIGIP.MEMORY.UTIL.WARN.MAX} |<p>The warning threshold of the memory utilization in %.</p> |`85` |
|{$BIGIP.MEMORY.UTIL.WARN.MIN} |<p>The recovery threshold of the memory utilization in %.</p> |`65` |
|{$BIGIP.SWAP.UTIL.WARN.MAX} |<p>The warning threshold of the swap utilization in %.</p> |`85` |
@@ -51,7 +52,7 @@ There are no template links in this template.
|Chassis temperature discovery |<p>A table containing information of chassis temperature of the system</p> |SNMP |bigip.chassis.temp.discovery<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
|CPU discovery |<p>A table containing entries of system CPU usage information for a system.</p> |SNMP |bigip.cpu.discovery<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
|CPU sensor discovery |<p>A table containing information of CPU sensor status on the system.</p> |SNMP |bigip.cpu.sensor.discovery<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
-|File system discovery |<p>A table containing entries of system disk usage information.</p> |SNMP |bigip.disktable.discovery<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p><p>**Filter**:</p>AND <p>- {#PART.NAME} MATCHES_REGEX `{$BIGIP.LLD.FILTER.PART.NAME.MATCHES}`</p><p>- {#PART.NAME} NOT_MATCHES_REGEX `{$BIGIP.LLD.FILTER.PART.NAME.NOT_MATCHES}`</p> |
+|File system discovery |<p>A table containing entries of system disk usage information.</p> |SNMP |bigip.disktable.discovery<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p><p>**Filter**:</p>AND <p>- {#PART.NAME} MATCHES_REGEX `{$BIGIP.LLD.FILTER.PART.NAME.MATCHES}`</p><p>- {#PART.NAME} NOT_MATCHES_REGEX `{$BIGIP.LLD.FILTER.PART.NAME.NOT_MATCHES}`</p><p>**Overrides:**</p><p>Skip trigger for defined filesystems<br> - {#PART.NAME} MATCHES_REGEX `{$BIGIP.LLD.OVERRIDE.PART.FILTER_LOW_SPACE_TRIGGER}`<br> - TRIGGER_PROTOTYPE REGEXP `^F5 BIG-IP: Low free space in file system`<br> - NO_DISCOVER</p> |
|Memory discovery |<p>Containing system statistics information of the memory usage</p> |SNMP |bigip.memory.discovery<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
|Module discovery |<p>Resource allocation information about modules on the system</p> |SNMP |bigip.module.discovery<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
|Network interface discovery |<p>A table containing statistic information of the interfaces on the device.</p> |SNMP |bigip.net.discovery<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
@@ -200,11 +201,11 @@ There are no template links in this template.
|F5 BIG-IP: Power supply [{#POWER.INDEX}] is not present |<p>Please check the power supply unit</p> |`last(/F5 Big-IP SNMP/bigip.chassis.power.status[{#POWER.INDEX}])=2` |INFO | |
|F5 BIG-IP: Certificate expires ({#CERT.NAME}) |<p>Please check certificate</p> |`last(/F5 Big-IP SNMP/bigip.cert.expiration.date[{#CERT.NAME}]) - 86400 * {$BIGIP.CERT.MIN} < now()` |WARNING | |
|F5 BIG-IP: No SNMP data collection |<p>SNMP is not available for polling. Please check device connectivity and SNMP settings.</p> |`max(/F5 Big-IP SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | |
-|F5 BIG-IP: has been restarted |<p>Uptime is less than 10 minutes.</p> |`last(/F5 Big-IP SNMP/bigip.uptime)<10m` |INFO |<p>Manual close: YES</p> |
+|F5 BIG-IP: Host has been restarted |<p>Uptime is less than 10 minutes.</p> |`last(/F5 Big-IP SNMP/bigip.uptime)<10m` |INFO |<p>Manual close: YES</p> |
|F5 BIG-IP: Chassis temperature |<p>-</p> |`last(/F5 Big-IP SNMP/bigip.chassis.temp.value[{#TEMP.INDEX}])>{$BIGIP.TEMP.HIGH}` |HIGH | |
|F5 BIG-IP: Chassis temperature |<p>-</p> |`last(/F5 Big-IP SNMP/bigip.chassis.temp.value[{#TEMP.INDEX}])>{$BIGIP.TEMP.WARN}` |WARNING |<p>**Depends on**:</p><p>- F5 BIG-IP: Chassis temperature</p> |
## Feedback
-Please report any issues with the template at https://support.zabbix.com
+Please report any issues with the template at https://support.zabbix.com.
diff --git a/templates/net/f5_bigip_snmp/template_net_f5_bigip_snmp.yaml b/templates/net/f5_bigip_snmp/template_net_f5_bigip_snmp.yaml
index 8a4e71f926f..60fe168596a 100644
--- a/templates/net/f5_bigip_snmp/template_net_f5_bigip_snmp.yaml
+++ b/templates/net/f5_bigip_snmp/template_net_f5_bigip_snmp.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '6.2'
- date: '2022-06-07T19:33:20Z'
+ date: '2022-10-20T11:23:52Z'
template_groups:
-
uuid: 36bff6c29af64692839d077febfc7079
@@ -16,7 +16,7 @@ zabbix_export:
F5-BIGIP-LOCAL-MIB
F5-BIGIP-SYSTEM-MIB
- Template tooling version used: 0.41
+ Template tooling version used: 0.42
groups:
-
name: 'Templates/Network devices'
@@ -466,8 +466,8 @@ zabbix_export:
-
uuid: 551fd3b77d144ed58f138865e4862901
expression: 'last(/F5 Big-IP SNMP/bigip.uptime)<10m'
- name: 'F5 BIG-IP: has been restarted'
- event_name: 'F5 BIG-IP: has been restarted (uptime < 10m)'
+ name: 'F5 BIG-IP: Host has been restarted'
+ event_name: 'F5 BIG-IP: {HOST.NAME} has been restarted (uptime < 10m)'
priority: INFO
description: 'Uptime is less than 10 minutes.'
manual_close: 'YES'
@@ -1957,6 +1957,22 @@ zabbix_export:
type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
+ overrides:
+ -
+ name: 'Skip trigger for defined filesystems'
+ step: '1'
+ filter:
+ conditions:
+ -
+ macro: '{#PART.NAME}'
+ value: '{$BIGIP.LLD.OVERRIDE.PART.FILTER_LOW_SPACE_TRIGGER}'
+ formulaid: A
+ operations:
+ -
+ operationobject: TRIGGER_PROTOTYPE
+ operator: REGEXP
+ value: '^F5 BIG-IP: Low free space in file system'
+ discover: NO_DISCOVER
-
uuid: 8aeb7920d1fe4ba4884f92e45e711228
name: 'Memory discovery'
@@ -3774,6 +3790,10 @@ zabbix_export:
value: CHANGE_IF_NEEDED
description: 'Filter to exclude discovered by mount point names.'
-
+ macro: '{$BIGIP.LLD.OVERRIDE.PART.FILTER_LOW_SPACE_TRIGGER}'
+ value: ^/usr$
+ description: 'Partitions which low free space trigger should ignore'
+ -
macro: '{$BIGIP.MEMORY.UTIL.WARN.MAX}'
value: '85'
description: 'The warning threshold of the memory utilization in %.'