zabbix_export: version: '7.0' template_groups: - uuid: 7df96b18c230490a9a0a9e2307226338 name: Templates templates: - uuid: 8be56e3efd1743afaafe548da825f692 template: 'Port Monitoring LLD' name: 'Port Monitoring LLD' groups: - name: Templates macros: - macro: '{$PORTS}' value: '21,22,80,443,3389' discovery_rules: - uuid: 530db6c3a273484994bd45362fb69d4d name: 'Port discovery' type: ZABBIX_PASSIVE key: 'port.discovery["{$PORTS}"]' delay: 3600s item_prototypes: - uuid: 9a60f075b88942c0b7ea4b9eda36e500 name: 'Port {#PORT} listening' type: ZABBIX_PASSIVE key: 'net.tcp.listen[{#PORT}]' delay: 30s history: 7d trends: 30d value_type: UNSIGNED trigger_prototypes: - uuid: 1b51da0f009e40f39f4819dad39474ee expression: 'min(/Port Monitoring LLD/net.tcp.listen[{#PORT}],2m)=0' name: 'Puerto {#PORT} caĆ­do en {HOST.NAME}' priority: HIGH