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:
authorDenis Rasihov <denis.rasihov@zabbix.com>2022-08-16 14:54:30 +0300
committerDenis Rasihov <denis.rasihov@zabbix.com>2022-08-16 16:02:08 +0300
commit2663e49d7f4ebbf9535dc6400527ca468e506aea (patch)
tree49565cfbdb4a67cdc2189ea263615c94a1337a0d /templates/net/zyxel_snmp/zyxel_ies-6000_snmp/template_net_zyxel_ies-6000_snmp.yaml
parent4624059bb61e52c3d411c7e9582091d42a94eaf5 (diff)
.........T [ZBX-15984] added hardware uptime in SNMP templates
Diffstat (limited to 'templates/net/zyxel_snmp/zyxel_ies-6000_snmp/template_net_zyxel_ies-6000_snmp.yaml')
-rw-r--r--templates/net/zyxel_snmp/zyxel_ies-6000_snmp/template_net_zyxel_ies-6000_snmp.yaml66
1 files changed, 49 insertions, 17 deletions
diff --git a/templates/net/zyxel_snmp/zyxel_ies-6000_snmp/template_net_zyxel_ies-6000_snmp.yaml b/templates/net/zyxel_snmp/zyxel_ies-6000_snmp/template_net_zyxel_ies-6000_snmp.yaml
index 5735f27cd6b..1ef0c3df499 100644
--- a/templates/net/zyxel_snmp/zyxel_ies-6000_snmp/template_net_zyxel_ies-6000_snmp.yaml
+++ b/templates/net/zyxel_snmp/zyxel_ies-6000_snmp/template_net_zyxel_ies-6000_snmp.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '6.2'
- date: '2022-06-07T19:38:05Z'
+ date: '2022-08-16T10:57:05Z'
template_groups:
-
uuid: 36bff6c29af64692839d077febfc7079
@@ -15,6 +15,7 @@ zabbix_export:
MIBs used:
RFC1213-MIB
+ HOST-RESOURCES-MIB
ADSL-LINE-MIB
ZYXEL-IES5000-MIB
IF-MIB
@@ -27,7 +28,7 @@ zabbix_export:
You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/422668-discussion-thread-for-official-zabbix-templates-for-zyxel
- Template tooling version used: 0.41
+ Template tooling version used: 0.42
groups:
-
name: 'Templates/Network devices'
@@ -87,6 +88,37 @@ zabbix_export:
tag: component
value: inventory
-
+ uuid: 006a65489cfc4231acad12cdb501a55c
+ name: 'ZYXEL IES-6000: Uptime (hardware)'
+ type: SNMP_AGENT
+ snmp_oid: .1.3.6.1.2.1.25.1.1.0
+ key: zyxel.ies6000.hw.uptime
+ delay: 30s
+ history: 2w
+ trends: 0d
+ units: uptime
+ description: |
+ MIB: HOST-RESOURCES-MIB
+ The amount of time since this host was last initialized.
+ Note that this is different from sysUpTime in the SNMPv2-MIB
+ [RFC1907] because sysUpTime is the uptime of the
+ network management portion of the system.
+ preprocessing:
+ -
+ type: CHECK_NOT_SUPPORTED
+ parameters:
+ - ''
+ error_handler: CUSTOM_VALUE
+ error_handler_params: '0'
+ -
+ type: MULTIPLIER
+ parameters:
+ - '0.01'
+ tags:
+ -
+ tag: component
+ value: system
+ -
uuid: 631f2bc2963c4abb8d01b5cca6179d77
name: 'ZYXEL IES-6000: Location'
type: SNMP_AGENT
@@ -203,10 +235,10 @@ zabbix_export:
value: inventory
-
uuid: e79a790f3ca54943997f1d0b3e74943d
- name: 'ZYXEL IES-6000: Uptime'
+ name: 'ZYXEL IES-6000: Uptime (network)'
type: SNMP_AGENT
snmp_oid: .1.3.6.1.2.1.1.3.0
- key: zyxel.ies6000.uptime
+ key: zyxel.ies6000.net.uptime
delay: 30s
history: 2w
trends: 0d
@@ -225,19 +257,6 @@ zabbix_export:
-
tag: component
value: system
- triggers:
- -
- uuid: 7a52520cc3dc4350bd7aa14260899f1c
- expression: 'last(/ZYXEL IES-6000 SNMP/zyxel.ies6000.uptime)<10m'
- name: 'ZYXEL IES-6000: has been restarted'
- event_name: 'ZYXEL IES-6000: has been restarted (uptime < 10m)'
- priority: INFO
- description: 'Uptime is less than 10 minutes.'
- manual_close: 'YES'
- tags:
- -
- tag: scope
- value: notice
discovery_rules:
-
uuid: 6023c8a68b5547dcab838414cbf544ea
@@ -2602,3 +2621,16 @@ zabbix_export:
-
value: '7'
newvalue: lowerLayerDown
+ triggers:
+ -
+ uuid: 7a52520cc3dc4350bd7aa14260899f1c
+ expression: '(last(/ZYXEL IES-6000 SNMP/zyxel.ies6000.hw.uptime)>0 and last(/ZYXEL IES-6000 SNMP/zyxel.ies6000.hw.uptime)<10m) or (last(/ZYXEL IES-6000 SNMP/zyxel.ies6000.hw.uptime)=0 and last(/ZYXEL IES-6000 SNMP/zyxel.ies6000.net.uptime)<10m)'
+ name: 'ZYXEL IES-6000: Host has been restarted'
+ event_name: 'ZYXEL IES-6000: {HOST.NAME} has been restarted (uptime < 10m)'
+ priority: INFO
+ description: 'Uptime is less than 10 minutes.'
+ manual_close: 'YES'
+ tags:
+ -
+ tag: scope
+ value: notice