From 1ae94407a41bff0f2291f04f48d5fabcd6b76303 Mon Sep 17 00:00:00 2001 From: PierreAdmin Date: Fri, 12 Dec 2025 17:30:45 +0100 Subject: [PATCH 1/4] Template for D-LINK DGS-1510-54XMP --- .../7.0/READ.md | 46 +++++++ .../7.0/template_d-link-dgs-1510-52XMP.yaml | 116 ++++++++++++++++++ 2 files changed, 162 insertions(+) create mode 100644 Network_Devices/D-Link/template_d-link-dgs-1510-52XMP/7.0/READ.md create mode 100644 Network_Devices/D-Link/template_d-link-dgs-1510-52XMP/7.0/template_d-link-dgs-1510-52XMP.yaml diff --git a/Network_Devices/D-Link/template_d-link-dgs-1510-52XMP/7.0/READ.md b/Network_Devices/D-Link/template_d-link-dgs-1510-52XMP/7.0/READ.md new file mode 100644 index 000000000..0636a443a --- /dev/null +++ b/Network_Devices/D-Link/template_d-link-dgs-1510-52XMP/7.0/READ.md @@ -0,0 +1,46 @@ +# Template Zabbix – D-Link DGS-1510 (SNMP v2c) + +## 📌 Description + +Ce template Zabbix permet le monitoring des switches **D-Link DGS-1510** +(testé sur **DGS-1510-52XMP – Build 1.81.004**) via **SNMP v2c**. + +Il est volontairement **simple, stable et orienté production** : +- pas de CPU / RAM (non exposés de manière fiable sur ce modèle) +- uniquement des métriques réellement exploitables + +--- + +## ✅ Fonctionnalités couvertes + +### Supervision générale +- Uptime du switch (sysUpTime) +- Nom du switch (sysName) +- Description système (sysDescr) + +### Interfaces réseau (LLD) +Découverte automatique des interfaces via IF-MIB / IFX-MIB : +- État opérationnel des ports +- Trafic entrant / sortant (bps) +- Filtrage des interfaces internes (CPU, VLAN, rif) + +> ⚠️ Aucun nouvel hôte n’est créé : +> la découverte ajoute uniquement des **items sur le switch existant**. + +--- + +## 🔧 Prérequis + +- Zabbix **6.4 ou supérieur** +- SNMP **v2c activé** sur le switch +- Communauté SNMP configurée (ex. `public`) +- Le switch doit être joignable depuis : + - le serveur Zabbix **ou** + - le proxy Zabbix assigné à l’hôte + +--- + +## 📥 Import du template + +1. Zabbix → **Collecte de données → Modèles → Importer** +2. Sélectionner le fichier : diff --git a/Network_Devices/D-Link/template_d-link-dgs-1510-52XMP/7.0/template_d-link-dgs-1510-52XMP.yaml b/Network_Devices/D-Link/template_d-link-dgs-1510-52XMP/7.0/template_d-link-dgs-1510-52XMP.yaml new file mode 100644 index 000000000..749c1ce00 --- /dev/null +++ b/Network_Devices/D-Link/template_d-link-dgs-1510-52XMP/7.0/template_d-link-dgs-1510-52XMP.yaml @@ -0,0 +1,116 @@ +zabbix_export: + version: '7.4' + + template_groups: + - uuid: 8f1c7b6e2c9e4b5e9a411b5d9c3a8e12 + name: 'Templates/Network devices' + + templates: + - uuid: 2a9c4f6e8b3f4e6abc717e2c5d4f9a10 + template: 'Template Net D-Link DGS-1510 SNMP' + name: 'Template Net D-Link DGS-1510 SNMP' + description: > + D-Link DGS-1510 series (tested on DGS-1510-52XMP Build 1.81.004). + SNMPv2c monitoring: availability, identification, interface discovery, + traffic and errors. CPU/RAM intentionally excluded. + + groups: + - name: 'Templates/Network devices' + + macros: + - macro: '{$SNMP_COMMUNITY}' + type: TEXT + value: 'public' + description: 'SNMP v2c community' + + items: + - uuid: 3c9b1f746a2d4f1c8b719f5a2d4e8c01 + name: 'SNMP: sysUpTime' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.2.1.1.3.0' + key: 'snmp.sysUpTime' + delay: 1m + value_type: FLOAT + units: uptime + history: 7d + trends: 365d + + - uuid: 4d7a2c1e9b844a2f8e5c3f6b1d9a2e11 + name: 'SNMP: sysName' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.2.1.1.5.0' + key: 'snmp.sysName' + delay: 5m + value_type: TEXT + history: 30d + trends: 0 + + - uuid: 5e8b4a2d7c6f4f919a3e1d2b6c5f7e21 + name: 'SNMP: sysDescr' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.2.1.1.1.0' + key: 'snmp.sysDescr' + delay: 1h + value_type: TEXT + history: 30d + trends: 0 + + discovery_rules: + - uuid: 6f1a9c3d2e4b4c7f8a1e5d9b3f2c6a31 + name: 'Network interfaces discovery' + type: SNMP_AGENT + key: 'net.if.discovery' + delay: 10m + snmp_oid: > + discovery[{#IFINDEX},1.3.6.1.2.1.2.2.1.1, + {#IFDESCR},1.3.6.1.2.1.2.2.1.2, + {#IFNAME},1.3.6.1.2.1.31.1.1.1.1] + + filter: + evaltype: AND + conditions: + - formulaid: A + macro: '{#IFDESCR}' + value: '.*(L2VLAN|rif|CPU).*' + operator: NOT_MATCHES_REGEX + + item_prototypes: + - uuid: 7a2c5d4e1f9b4e8c9a3d6b2f1c5e9d41 + name: 'Interface {#IFNAME}: Operational status' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.2.1.2.2.1.8.{#IFINDEX}' + key: 'if.oper.status[{#IFINDEX}]' + delay: 1m + value_type: UNSIGNED + history: 30d + trends: 365d + + - uuid: 8b3f6a5d9c2e4f718d1a5e3c9b2f6a51 + name: 'Interface {#IFNAME}: Inbound traffic' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.2.1.31.1.1.1.6.{#IFINDEX}' + key: 'if.in.bps[{#IFINDEX}]' + delay: 1m + value_type: FLOAT + units: bps + history: 30d + trends: 365d + preprocessing: + - type: CHANGE_PER_SECOND + - type: MULTIPLIER + parameters: ['8'] + + - uuid: 9c5e1d7a4b2f4a6e8c3f2d9b5a6e1c61 + name: 'Interface {#IFNAME}: Outbound traffic' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.2.1.31.1.1.1.10.{#IFINDEX}' + key: 'if.out.bps[{#IFINDEX}]' + delay: 1m + value_type: FLOAT + units: bps + history: 30d + trends: 365d + preprocessing: + - type: CHANGE_PER_SECOND + - type: MULTIPLIER + parameters: ['8'] From 72f95bcb72ce3c4be1e5b9c91b2efd5ef54346aa Mon Sep 17 00:00:00 2001 From: PierreAdmin Date: Fri, 12 Dec 2025 18:08:46 +0100 Subject: [PATCH 2/4] Template for D-LINK DGS-1210-08P --- .../template_d-link-dgs-1210-08P/7.0/READ.md | 55 ++++++ ...1210_SNMP_7.4_FULL_STRICT_uuidv4hex32.yaml | 176 ++++++++++++++++++ 2 files changed, 231 insertions(+) create mode 100644 Network_Devices/D-Link/template_d-link-dgs-1210-08P/7.0/READ.md create mode 100644 Network_Devices/D-Link/template_d-link-dgs-1210-08P/7.0/Template_Net_DLink_DGS1210_SNMP_7.4_FULL_STRICT_uuidv4hex32.yaml diff --git a/Network_Devices/D-Link/template_d-link-dgs-1210-08P/7.0/READ.md b/Network_Devices/D-Link/template_d-link-dgs-1210-08P/7.0/READ.md new file mode 100644 index 000000000..f8a146a0d --- /dev/null +++ b/Network_Devices/D-Link/template_d-link-dgs-1210-08P/7.0/READ.md @@ -0,0 +1,55 @@ +# Zabbix Template – D-Link DGS-1210 (SNMP v2c) + +## 📌 Overview + +This Zabbix template provides monitoring for **D-Link DGS-1210 series switches** +(tested on **DGS-1210-08P**) using **SNMP v2c**. + +The template is designed to be: +- **Stable** +- **Production-ready** +- **Fully compatible with Zabbix 7.4** +- Based only on **reliable SNMP data actually exposed by the device** + +CPU, memory and temperature metrics are intentionally excluded, as they are not +consistently or reliably exposed by this switch model. + +--- + +## ✅ Features + +### General monitoring +- System uptime (`sysUpTime`) +- Device name (`sysName`) +- System description (`sysDescr`) +- Location (`sysLocation`) +- System Object ID (`sysObjectID`) + +### Network interfaces (LLD) +Automatic interface discovery using **IF-MIB / IFX-MIB**: +- Operational status +- Administrative status +- Inbound / outbound traffic (bps) +- Input / output errors +- Automatic exclusion of internal / non-physical interfaces (CPU, VLAN, rif) + +> ⚠️ The discovery **does not create new hosts**. +> It only creates items on the existing switch host. + +--- + +## 🔧 Requirements + +- **Zabbix Server / Proxy 7.4** +- SNMP **v2c enabled** on the switch +- SNMP community configured (e.g. `public`) +- Network connectivity between the switch and: + - Zabbix server **or** + - Assigned Zabbix proxy + +--- + +## 📥 Template Import + +1. Zabbix UI → **Data collection → Templates → Import** +2. Select the file: diff --git a/Network_Devices/D-Link/template_d-link-dgs-1210-08P/7.0/Template_Net_DLink_DGS1210_SNMP_7.4_FULL_STRICT_uuidv4hex32.yaml b/Network_Devices/D-Link/template_d-link-dgs-1210-08P/7.0/Template_Net_DLink_DGS1210_SNMP_7.4_FULL_STRICT_uuidv4hex32.yaml new file mode 100644 index 000000000..a18ad077f --- /dev/null +++ b/Network_Devices/D-Link/template_d-link-dgs-1210-08P/7.0/Template_Net_DLink_DGS1210_SNMP_7.4_FULL_STRICT_uuidv4hex32.yaml @@ -0,0 +1,176 @@ +zabbix_export: + version: '7.4' + + template_groups: + - uuid: '9017d35422104e71a7ddd5fa32f74c80' + name: 'Templates/Network devices' + + templates: + - uuid: 'cc253dec9d63440ab89ca0b08bf4c130' + template: 'Template Net D-Link DGS-1210 SNMP' + name: 'Template Net D-Link DGS-1210 SNMP' + description: > + D-Link DGS-1210-08P (SNMP v2c). Interfaces discovery, traffic, errors and link status. + UUIDs are UUIDv4 (hyphens removed), which Zabbix expects on import. + groups: + - name: 'Templates/Network devices' + + macros: + - macro: '{$SNMP_COMMUNITY}' + type: TEXT + value: 'public' + description: 'SNMP v2c community (override per host)' + + items: + - uuid: '7a5b16e886c94cec8d6c772b892f3628' + name: 'SNMP: sysUpTime' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.2.1.1.3.0' + key: 'snmp.sysUpTime' + delay: 1m + value_type: FLOAT + units: uptime + history: 7d + trends: 365d + + - uuid: '521c97ee3d284a22b6e9a8dc587aac29' + name: 'SNMP: sysName' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.2.1.1.5.0' + key: 'snmp.sysName' + delay: 5m + value_type: TEXT + history: 30d + trends: 0 + + - uuid: '03cfc9d73ef6403a8e98edf5f2f23559' + name: 'SNMP: sysDescr' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.2.1.1.1.0' + key: 'snmp.sysDescr' + delay: 1h + value_type: TEXT + history: 30d + trends: 0 + + - uuid: 'dd7623219e0c4fda893b3517859cb0f6' + name: 'SNMP: sysLocation' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.2.1.1.6.0' + key: 'snmp.sysLocation' + delay: 1h + value_type: TEXT + history: 30d + trends: 0 + + - uuid: '47a6724ff85840e5a669f6e8436641e1' + name: 'SNMP: sysObjectID' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.2.1.1.2.0' + key: 'snmp.sysObjectID' + delay: 1h + value_type: TEXT + history: 30d + trends: 0 + + discovery_rules: + - uuid: '174df32f43db477aaf1e6e09ede6647b' + name: 'Network interfaces discovery' + type: SNMP_AGENT + key: 'net.if.discovery' + delay: 10m + snmp_oid: > + discovery[{#IFINDEX},1.3.6.1.2.1.2.2.1.1, + {#IFDESCR},1.3.6.1.2.1.2.2.1.2, + {#IFTYPE},1.3.6.1.2.1.2.2.1.3, + {#IFNAME},1.3.6.1.2.1.31.1.1.1.1] + + filter: + evaltype: AND + conditions: + - formulaid: A + macro: '{#IFDESCR}' + value: '.*(L2VLAN|rif|CPU).*' + operator: NOT_MATCHES_REGEX + + item_prototypes: + - uuid: '87b99544a55d49db9c6fefe256556cb2' + name: 'Interface {#IFNAME}: Operational status' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.2.1.2.2.1.8.{#IFINDEX}' + key: 'if.oper.status[{#IFINDEX}]' + delay: 1m + value_type: UNSIGNED + history: 30d + trends: 365d + + - uuid: '3de2f5afb27245babd4e6a39b2478516' + name: 'Interface {#IFNAME}: Admin status' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.2.1.2.2.1.7.{#IFINDEX}' + key: 'if.admin.status[{#IFINDEX}]' + delay: 5m + value_type: UNSIGNED + history: 30d + trends: 365d + + - uuid: '15d189a1b62f4b8c9fd174c830ef53cc' + name: 'Interface {#IFNAME}: Inbound traffic' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.2.1.31.1.1.1.6.{#IFINDEX}' + key: 'if.in.bps[{#IFINDEX}]' + delay: 1m + value_type: FLOAT + units: bps + history: 30d + trends: 365d + preprocessing: + - type: CHANGE_PER_SECOND + - type: MULTIPLIER + parameters: ['8'] + + - uuid: '949d5e24877b4f979284d2ee1de22cde' + name: 'Interface {#IFNAME}: Outbound traffic' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.2.1.31.1.1.1.10.{#IFINDEX}' + key: 'if.out.bps[{#IFINDEX}]' + delay: 1m + value_type: FLOAT + units: bps + history: 30d + trends: 365d + preprocessing: + - type: CHANGE_PER_SECOND + - type: MULTIPLIER + parameters: ['8'] + + - uuid: 'f32806ec1a834a548684bdf07e87941b' + name: 'Interface {#IFNAME}: In errors' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.2.1.2.2.1.14.{#IFINDEX}' + key: 'if.in.errors[{#IFINDEX}]' + delay: 2m + value_type: UNSIGNED + history: 30d + trends: 365d + preprocessing: + - type: CHANGE_PER_SECOND + + - uuid: '3e6eaa1f3aa04b2098c1fce79311cf93' + name: 'Interface {#IFNAME}: Out errors' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.2.1.2.2.1.20.{#IFINDEX}' + key: 'if.out.errors[{#IFINDEX}]' + delay: 2m + value_type: UNSIGNED + history: 30d + trends: 365d + preprocessing: + - type: CHANGE_PER_SECOND + + trigger_prototypes: + - uuid: '7823dce1295848f38ec3d7569a38c99d' + name: 'Interface {#IFNAME}: Link down' + expression: 'last(/Template Net D-Link DGS-1210 SNMP/if.admin.status[{#IFINDEX}])=1 and last(/Template Net D-Link DGS-1210 SNMP/if.oper.status[{#IFINDEX}])<>1' + priority: HIGH + manual_close: 'YES' From a0ae7bd4d736fca89fbaf7be78ad6bfd07cff2af Mon Sep 17 00:00:00 2001 From: PierreAdmin Date: Fri, 12 Dec 2025 18:32:48 +0100 Subject: [PATCH 3/4] Templace DXS-1210 --- .../template_d-link-dxs-1210-28/7.0/README.md | 64 +++++ ...DXS1210_SNMP_7.4_no_template_triggers.yaml | 230 ++++++++++++++++++ 2 files changed, 294 insertions(+) create mode 100644 Network_Devices/D-Link/template_d-link-dxs-1210-28/7.0/README.md create mode 100644 Network_Devices/D-Link/template_d-link-dxs-1210-28/7.0/Template_Net_DLink_DXS1210_SNMP_7.4_no_template_triggers.yaml diff --git a/Network_Devices/D-Link/template_d-link-dxs-1210-28/7.0/README.md b/Network_Devices/D-Link/template_d-link-dxs-1210-28/7.0/README.md new file mode 100644 index 000000000..f66f65f78 --- /dev/null +++ b/Network_Devices/D-Link/template_d-link-dxs-1210-28/7.0/README.md @@ -0,0 +1,64 @@ +# Zabbix Template – D-Link DXS-1210 (SNMP v2c) + +## Overview +This template targets **D-Link DXS-1210 series** switches (tested on **DXS-1210-28S**). +It is built for **Zabbix 7.4** and uses **SNMP v2c**. + +It provides: +- Basic system information (SYS-MIB) +- Interface discovery (LLD) using IF-MIB / IFX-MIB +- Traffic (64-bit counters), errors, admin/oper status +- Basic hardware health (temperature, fan, PSU) and memory gauges using D-Link enterprise OIDs + +CPU utilization is **not included** because the available enterprise subtree does not expose an unambiguous CPU load metric in the provided walk. + +## Requirements +- Zabbix Server/Proxy **7.4** +- Switch reachable via SNMP from Zabbix server or assigned proxy +- SNMP v2c enabled on the switch +- Community configured (default macro: `{$SNMP_COMMUNITY}`) + +## Import +1. Zabbix UI → **Data collection → Templates → Import** +2. Import file: `Template_Net_DLink_DXS1210_SNMP_7.4.yaml` +3. Ensure options are enabled to import templates, items, discovery rules, prototypes and triggers. + +Notes: +- UUIDs are **UUIDv4** stored as **32 hex characters** (no dashes), matching the strict validator observed on your Zabbix instance. + +## Host configuration +On the switch host: +- Create/ensure an **SNMP interface** with the switch management IP +- Set macro `{$SNMP_COMMUNITY}` to the correct community +- If you use a proxy, assign the host to the proxy + +## Interface discovery +- Host → **Discovery** → ensure the rule is **enabled** +- Optionally click **Run now** +- Wait a few minutes for LLD to create items/triggers + +LLD filters out non-physical entries such as VLAN interfaces (`L2VLAN`), routing interfaces (`rif`) and any internal CPU pseudo-interfaces. + +## What is monitored +### System +- sysUpTime, sysName, sysDescr, sysLocation, sysContact, sysObjectID + +### Interfaces (LLD) +- Admin/Oper status +- In/Out traffic (bps) +- In/Out errors (per second) + +### Hardware health (enterprise OIDs) +- Temperature (Center) +- Fan status (Right Fan) +- Power supply status (Power 1) +- Memory gauges (raw vendor units) + +## Limitations +- Memory values are kept as **raw vendor gauges** (units not guaranteed by the device) +- CPU utilization not included (no reliable OID found in the provided enterprise subtree) + +## Troubleshooting +- If interface items show `Unsupported`, verify the host has an SNMP interface and that SNMP v2c community is correct. +- If the device returns `OID not increasing` during `snmpwalk`, use: + `snmpwalk -v2c -c -Cc ` diff --git a/Network_Devices/D-Link/template_d-link-dxs-1210-28/7.0/Template_Net_DLink_DXS1210_SNMP_7.4_no_template_triggers.yaml b/Network_Devices/D-Link/template_d-link-dxs-1210-28/7.0/Template_Net_DLink_DXS1210_SNMP_7.4_no_template_triggers.yaml new file mode 100644 index 000000000..22efe584a --- /dev/null +++ b/Network_Devices/D-Link/template_d-link-dxs-1210-28/7.0/Template_Net_DLink_DXS1210_SNMP_7.4_no_template_triggers.yaml @@ -0,0 +1,230 @@ +zabbix_export: + version: '7.4' + template_groups: + - uuid: 99aa1866418341ccafcdd8e272ff8ff3 + name: Templates/Network devices + templates: + - uuid: b52defae908d46449ee34d6d075851a8 + template: Template Net D-Link DXS-1210 SNMP + name: Template Net D-Link DXS-1210 SNMP + description: 'D-Link DXS-1210 series (tested on DXS-1210-28S, sysObjectID 1.3.6.1.4.1.171.10.139.7.1, firmware 1.00.B032). SNMPv2c: system + info, interface LLD (IF-MIB/IFX-MIB), traffic/errors/status, basic hardware health (temperature/fan/PSU) and memory gauges from D-Link enterprise + MIB. (Template-level triggers omitted for schema compatibility; add triggers after import if desired.)' + groups: + - name: Templates/Network devices + macros: + - macro: '{$SNMP_COMMUNITY}' + type: TEXT + value: public + description: SNMP v2c community (override per host) + items: + - uuid: a2c50c348942449cb0201412e2bec271 + name: 'SNMP: sysUpTime' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.1.3.0 + key: snmp.sysUpTime + delay: 1m + value_type: FLOAT + units: uptime + history: 7d + trends: 365d + - uuid: c45836262974481d97015a4d3d77892e + name: 'SNMP: sysName' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.1.5.0 + key: snmp.sysName + delay: 5m + value_type: TEXT + history: 30d + trends: '0' + - uuid: 91c33190cf3c47919a9054f316255c3a + name: 'SNMP: sysDescr' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.1.1.0 + key: snmp.sysDescr + delay: 1h + value_type: TEXT + history: 30d + trends: '0' + - uuid: 88ccd0b91a124d008c76aa661e86a4be + name: 'SNMP: sysLocation' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.1.6.0 + key: snmp.sysLocation + delay: 1h + value_type: TEXT + history: 30d + trends: '0' + - uuid: fbc6502a3caf4ee4bb6384659988b952 + name: 'SNMP: sysContact' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.1.4.0 + key: snmp.sysContact + delay: 1h + value_type: TEXT + history: 30d + trends: '0' + - uuid: e92d23ef136f4d8b917e9e9ce7025ddc + name: 'SNMP: sysObjectID' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.1.2.0 + key: snmp.sysObjectID + delay: 1h + value_type: TEXT + history: 30d + trends: '0' + - uuid: ce1a4cf578534dc7aec23d24fef01cad + name: 'DXS: Temperature (Center)' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.171.14.5.1.1.1.1.4.1.1 + key: dxs.temp.center + delay: 1m + value_type: FLOAT + units: °C + history: 30d + trends: 365d + - uuid: bf248e1bcc864a8c8eeaa386c3e70c49 + name: 'DXS: Fan status (Right Fan)' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.171.14.5.1.1.2.1.4.1.7 + key: dxs.fan.right.status + delay: 1m + value_type: UNSIGNED + history: 30d + trends: 365d + - uuid: a35bffe1a19641c1b933c7254d9038d6 + name: 'DXS: Power supply status (Power 1)' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.171.14.5.1.1.3.1.6.1.1 + key: dxs.psu.1.status + delay: 1m + value_type: UNSIGNED + history: 30d + trends: 365d + - uuid: b465e52ffa324ba2b2e1dbc3733a05b1 + name: 'DXS: Memory total (raw)' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.171.14.5.1.4.1.3.1.1 + key: dxs.mem.total + delay: 5m + value_type: UNSIGNED + history: 30d + trends: 365d + - uuid: def3526e0286486d9c104fa03bdb1ec2 + name: 'DXS: Memory free (raw)' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.171.14.5.1.4.1.3.1.2 + key: dxs.mem.free + delay: 5m + value_type: UNSIGNED + history: 30d + trends: 365d + - uuid: d85eaa13514f4fa9b4c04202d1955060 + name: 'DXS: Memory used (raw)' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.171.14.5.1.4.1.4.1.1 + key: dxs.mem.used + delay: 5m + value_type: UNSIGNED + history: 30d + trends: 365d + - uuid: 481995ca198345eca233f17184f89def + name: 'DXS: Memory used 2 (raw)' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.171.14.5.1.4.1.4.1.2 + key: dxs.mem.used2 + delay: 5m + value_type: UNSIGNED + history: 30d + trends: 365d + discovery_rules: + - uuid: f1a357ff52eb4237a0f6a8fb5240563c + name: Network interfaces discovery + type: SNMP_AGENT + key: net.if.discovery + delay: 10m + snmp_oid: discovery[{#IFINDEX},1.3.6.1.2.1.2.2.1.1,{#IFDESCR},1.3.6.1.2.1.2.2.1.2,{#IFTYPE},1.3.6.1.2.1.2.2.1.3,{#IFNAME},1.3.6.1.2.1.31.1.1.1.1] + filter: + evaltype: AND + conditions: + - formulaid: A + macro: '{#IFDESCR}' + value: .*(L2VLAN|rif|CPU).* + operator: NOT_MATCHES_REGEX + item_prototypes: + - uuid: 67f5fcacfa4a494381fc1fd91a5c0b7b + name: 'Interface {#IFNAME}: Operational status' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.2.2.1.8.{#IFINDEX} + key: if.oper.status[{#IFINDEX}] + delay: 1m + value_type: UNSIGNED + history: 30d + trends: 365d + - uuid: 7f03274908ce4bc3ab6d5a66f1dd89c8 + name: 'Interface {#IFNAME}: Admin status' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.2.2.1.7.{#IFINDEX} + key: if.admin.status[{#IFINDEX}] + delay: 5m + value_type: UNSIGNED + history: 30d + trends: 365d + - uuid: 31b63a663ba64948807a8eb6f9a39f8e + name: 'Interface {#IFNAME}: Inbound traffic' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.31.1.1.1.6.{#IFINDEX} + key: if.in.bps[{#IFINDEX}] + delay: 1m + value_type: FLOAT + units: bps + history: 30d + trends: 365d + preprocessing: + - type: CHANGE_PER_SECOND + - type: MULTIPLIER + parameters: + - '8' + - uuid: 14985c9da2f34a14b1713cd2da43d06b + name: 'Interface {#IFNAME}: Outbound traffic' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.31.1.1.1.10.{#IFINDEX} + key: if.out.bps[{#IFINDEX}] + delay: 1m + value_type: FLOAT + units: bps + history: 30d + trends: 365d + preprocessing: + - type: CHANGE_PER_SECOND + - type: MULTIPLIER + parameters: + - '8' + - uuid: e8e5940738e344e3a2dfe656e8dca349 + name: 'Interface {#IFNAME}: In errors' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.2.2.1.14.{#IFINDEX} + key: if.in.errors[{#IFINDEX}] + delay: 2m + value_type: UNSIGNED + history: 30d + trends: 365d + preprocessing: + - type: CHANGE_PER_SECOND + - uuid: c81f3cdd21624c35974d0f98b08ae45f + name: 'Interface {#IFNAME}: Out errors' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.2.2.1.20.{#IFINDEX} + key: if.out.errors[{#IFINDEX}] + delay: 2m + value_type: UNSIGNED + history: 30d + trends: 365d + preprocessing: + - type: CHANGE_PER_SECOND + trigger_prototypes: + - uuid: 5ed35c5abdfa4b49a3f78343451de9b0 + name: 'Interface {#IFNAME}: Link down' + expression: last(/Template Net D-Link DXS-1210 SNMP/if.admin.status[{#IFINDEX}])=1 and last(/Template Net D-Link DXS-1210 SNMP/if.oper.status[{#IFINDEX}])<>1 + priority: HIGH + manual_close: 'YES' From 0c5de2c6d4db62fd60f70a0762520b838a030420 Mon Sep 17 00:00:00 2001 From: PierreAdmin Date: Sun, 14 Dec 2025 21:41:21 +0100 Subject: [PATCH 4/4] Change name file in conformity of repo rules --- .../7.0 => template_d-link_dgs-1210-08P/7.0/files}/READ.md | 0 .../7.0/template_d-link_dgs1210-08p.yaml} | 0 .../7.0 => template_d-link_dgs-1510-52XMP/7.0/files}/READ.md | 0 .../7.0/template_d-link_dgs-1510-52XMP.yaml} | 0 .../7.0 => template_d-link_dxs-1210-28/7.0/files}/README.md | 0 .../7.0/template_d-link_dxs-1210.yaml} | 0 6 files changed, 0 insertions(+), 0 deletions(-) rename Network_Devices/D-Link/{template_d-link-dgs-1210-08P/7.0 => template_d-link_dgs-1210-08P/7.0/files}/READ.md (100%) rename Network_Devices/D-Link/{template_d-link-dgs-1210-08P/7.0/Template_Net_DLink_DGS1210_SNMP_7.4_FULL_STRICT_uuidv4hex32.yaml => template_d-link_dgs-1210-08P/7.0/template_d-link_dgs1210-08p.yaml} (100%) rename Network_Devices/D-Link/{template_d-link-dgs-1510-52XMP/7.0 => template_d-link_dgs-1510-52XMP/7.0/files}/READ.md (100%) rename Network_Devices/D-Link/{template_d-link-dgs-1510-52XMP/7.0/template_d-link-dgs-1510-52XMP.yaml => template_d-link_dgs-1510-52XMP/7.0/template_d-link_dgs-1510-52XMP.yaml} (100%) rename Network_Devices/D-Link/{template_d-link-dxs-1210-28/7.0 => template_d-link_dxs-1210-28/7.0/files}/README.md (100%) rename Network_Devices/D-Link/{template_d-link-dxs-1210-28/7.0/Template_Net_DLink_DXS1210_SNMP_7.4_no_template_triggers.yaml => template_d-link_dxs-1210-28/7.0/template_d-link_dxs-1210.yaml} (100%) diff --git a/Network_Devices/D-Link/template_d-link-dgs-1210-08P/7.0/READ.md b/Network_Devices/D-Link/template_d-link_dgs-1210-08P/7.0/files/READ.md similarity index 100% rename from Network_Devices/D-Link/template_d-link-dgs-1210-08P/7.0/READ.md rename to Network_Devices/D-Link/template_d-link_dgs-1210-08P/7.0/files/READ.md diff --git a/Network_Devices/D-Link/template_d-link-dgs-1210-08P/7.0/Template_Net_DLink_DGS1210_SNMP_7.4_FULL_STRICT_uuidv4hex32.yaml b/Network_Devices/D-Link/template_d-link_dgs-1210-08P/7.0/template_d-link_dgs1210-08p.yaml similarity index 100% rename from Network_Devices/D-Link/template_d-link-dgs-1210-08P/7.0/Template_Net_DLink_DGS1210_SNMP_7.4_FULL_STRICT_uuidv4hex32.yaml rename to Network_Devices/D-Link/template_d-link_dgs-1210-08P/7.0/template_d-link_dgs1210-08p.yaml diff --git a/Network_Devices/D-Link/template_d-link-dgs-1510-52XMP/7.0/READ.md b/Network_Devices/D-Link/template_d-link_dgs-1510-52XMP/7.0/files/READ.md similarity index 100% rename from Network_Devices/D-Link/template_d-link-dgs-1510-52XMP/7.0/READ.md rename to Network_Devices/D-Link/template_d-link_dgs-1510-52XMP/7.0/files/READ.md diff --git a/Network_Devices/D-Link/template_d-link-dgs-1510-52XMP/7.0/template_d-link-dgs-1510-52XMP.yaml b/Network_Devices/D-Link/template_d-link_dgs-1510-52XMP/7.0/template_d-link_dgs-1510-52XMP.yaml similarity index 100% rename from Network_Devices/D-Link/template_d-link-dgs-1510-52XMP/7.0/template_d-link-dgs-1510-52XMP.yaml rename to Network_Devices/D-Link/template_d-link_dgs-1510-52XMP/7.0/template_d-link_dgs-1510-52XMP.yaml diff --git a/Network_Devices/D-Link/template_d-link-dxs-1210-28/7.0/README.md b/Network_Devices/D-Link/template_d-link_dxs-1210-28/7.0/files/README.md similarity index 100% rename from Network_Devices/D-Link/template_d-link-dxs-1210-28/7.0/README.md rename to Network_Devices/D-Link/template_d-link_dxs-1210-28/7.0/files/README.md diff --git a/Network_Devices/D-Link/template_d-link-dxs-1210-28/7.0/Template_Net_DLink_DXS1210_SNMP_7.4_no_template_triggers.yaml b/Network_Devices/D-Link/template_d-link_dxs-1210-28/7.0/template_d-link_dxs-1210.yaml similarity index 100% rename from Network_Devices/D-Link/template_d-link-dxs-1210-28/7.0/Template_Net_DLink_DXS1210_SNMP_7.4_no_template_triggers.yaml rename to Network_Devices/D-Link/template_d-link_dxs-1210-28/7.0/template_d-link_dxs-1210.yaml