diff options
author | Denis Rasihov <denis.rasihov@zabbix.com> | 2022-08-16 14:54:30 +0300 |
---|---|---|
committer | Denis Rasihov <denis.rasihov@zabbix.com> | 2022-08-16 16:02:08 +0300 |
commit | 2663e49d7f4ebbf9535dc6400527ca468e506aea (patch) | |
tree | 49565cfbdb4a67cdc2189ea263615c94a1337a0d /templates/net/zyxel_snmp/zyxel_ies1248-51_snmp/template_net_zyxel_ies1248-51_snmp.yaml | |
parent | 4624059bb61e52c3d411c7e9582091d42a94eaf5 (diff) |
.........T [ZBX-15984] added hardware uptime in SNMP templates
Diffstat (limited to 'templates/net/zyxel_snmp/zyxel_ies1248-51_snmp/template_net_zyxel_ies1248-51_snmp.yaml')
-rw-r--r-- | templates/net/zyxel_snmp/zyxel_ies1248-51_snmp/template_net_zyxel_ies1248-51_snmp.yaml | 110 |
1 files changed, 71 insertions, 39 deletions
diff --git a/templates/net/zyxel_snmp/zyxel_ies1248-51_snmp/template_net_zyxel_ies1248-51_snmp.yaml b/templates/net/zyxel_snmp/zyxel_ies1248-51_snmp/template_net_zyxel_ies1248-51_snmp.yaml index 7a13ab817d3..3c9dd2899e5 100644 --- a/templates/net/zyxel_snmp/zyxel_ies1248-51_snmp/template_net_zyxel_ies1248-51_snmp.yaml +++ b/templates/net/zyxel_snmp/zyxel_ies1248-51_snmp/template_net_zyxel_ies1248-51_snmp.yaml @@ -1,6 +1,6 @@ zabbix_export: version: '6.2' - date: '2022-06-07T19:38:05Z' + date: '2022-08-16T10:57:06Z' template_groups: - uuid: 36bff6c29af64692839d077febfc7079 @@ -15,6 +15,7 @@ zabbix_export: MIBs used: RFC1213-MIB + HOST-RESOURCES-MIB ADSL-LINE-MIB ZYXEL-IESCOMMON-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' @@ -121,6 +122,37 @@ zabbix_export: tag: scope value: notice - + uuid: 4b55d1aaee3b441bab6edaaf738065e4 + name: 'ZYXEL IES1248-51: Uptime (hardware)' + type: SNMP_AGENT + snmp_oid: .1.3.6.1.2.1.25.1.1.0 + key: zyxel.ies1248.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: 600e6a8b9dd549b69f64f1a536bce7de name: 'ZYXEL IES1248-51: Location' type: SNMP_AGENT @@ -236,6 +268,30 @@ zabbix_export: tag: component value: inventory - + uuid: ba41848140394ac29fe9b77e77627f20 + name: 'ZYXEL IES1248-51: Uptime (network)' + type: SNMP_AGENT + snmp_oid: .1.3.6.1.2.1.1.3.0 + key: zyxel.ies1248.net.uptime + delay: 30s + history: 2w + trends: 0d + units: uptime + description: | + MIB: RFC1213-MIB + The time (in hundredths of a second) since the + network management portion of the system was last + re-initialized. + preprocessing: + - + type: MULTIPLIER + parameters: + - '0.01' + tags: + - + tag: component + value: system + - uuid: 0d30380bb9a24bd1939d16287d5d0711 name: 'ZYXEL IES1248-51: Hardware serial number' type: SNMP_AGENT @@ -352,43 +408,6 @@ zabbix_export: - tag: scope value: notice - - - uuid: ba41848140394ac29fe9b77e77627f20 - name: 'ZYXEL IES1248-51: Uptime' - type: SNMP_AGENT - snmp_oid: .1.3.6.1.2.1.1.3.0 - key: zyxel.ies1248.uptime - delay: 30s - history: 2w - trends: 0d - units: uptime - description: | - MIB: RFC1213-MIB - The time (in hundredths of a second) since the - network management portion of the system was last - re-initialized. - preprocessing: - - - type: MULTIPLIER - parameters: - - '0.01' - tags: - - - tag: component - value: system - triggers: - - - uuid: bbccceac3dc24b9ab76a820fe5be4788 - expression: 'last(/ZYXEL IES1248-51 SNMP/zyxel.ies1248.uptime)<10m' - name: 'ZYXEL IES1248-51: has been restarted' - event_name: 'ZYXEL IES1248-51: 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: 9ffacb42c2fe4abd9e8d10e4b8803fc2 @@ -1374,3 +1393,16 @@ zabbix_export: - value: '7' newvalue: lowerLayerDown + triggers: + - + uuid: bbccceac3dc24b9ab76a820fe5be4788 + expression: '(last(/ZYXEL IES1248-51 SNMP/zyxel.ies1248.hw.uptime)>0 and last(/ZYXEL IES1248-51 SNMP/zyxel.ies1248.hw.uptime)<10m) or (last(/ZYXEL IES1248-51 SNMP/zyxel.ies1248.hw.uptime)=0 and last(/ZYXEL IES1248-51 SNMP/zyxel.ies1248.net.uptime)<10m)' + name: 'ZYXEL IES1248-51: Host has been restarted' + event_name: 'ZYXEL IES1248-51: {HOST.NAME} has been restarted (uptime < 10m)' + priority: INFO + description: 'Uptime is less than 10 minutes.' + manual_close: 'YES' + tags: + - + tag: scope + value: notice |