zabbix_export: version: '5.4' date: '2021-11-21T22:00:40Z' groups: - uuid: 7df96b18c230490a9a0a9e2307226338 name: Templates templates: - uuid: ac1f5e6e0257436a96ebed33f3dad6cc template: LANTRONIX-UDS1100 name: LANTRONIX-UDS1100 description: | ## Description Simple LANTRONIX-UDS1100 template by Federico Coppola ## Overview It is a very simple template to monitor Lantronix UDS1100 device. Using this template you can monitor: * Ethernet port status * Input/output bytes * Operational mode * Admin console and web console service This template create graphs about this checks. I have created and tested it using Zabbix 4.0.5 ## Author Federico Coppola groups: - name: Templates items: - uuid: d773eaaa6b8349068947b5dcf756635b name: 'Ethernet Input Bytes' type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.2.2.1.10.1 key: eth.input.bytes delay: 60s description: 'Counter input bytes (received bytes)' - uuid: 5ffa57a1315d42a49860b15182d75472 name: 'Ethernet Interface Status' type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.2.2.1.7.1 key: eth.int.status delay: 30s description: | Ethernet Interface status Value = 1 (UP) Value = 0 (DOWN) triggers: - uuid: 6847e5a8b80443f592cdd53663d7c026 expression: last(/LANTRONIX-UDS1100/eth.int.status)=0 recovery_mode: RECOVERY_EXPRESSION recovery_expression: last(/LANTRONIX-UDS1100/eth.int.status)=1 name: 'Lantronix - Ethernet Interface Status is down' priority: HIGH description: '{LANTRONIX-UDS1100:eth.int.status.last()}=0' manual_close: 'YES' dependencies: - name: 'Lantronix - Admin Console not reacheable' expression: 'last(/LANTRONIX-UDS1100/net.tcp.service[tcp,,9999])=0' recovery_expression: 'last(/LANTRONIX-UDS1100/net.tcp.service[tcp,,9999])=1' - uuid: 7aa49d4fc86c4310ac0d95ab529cd88e name: 'Ethernet Operational Status' type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.2.2.1.8.1 key: eth.operational.status delay: 30s description: | Operational Interface Status Value = 1 (UP) Value = 0 (DOWN) triggers: - uuid: 9090963de81b40439d9a23e6dfb20a72 expression: last(/LANTRONIX-UDS1100/eth.operational.status)=0 recovery_mode: RECOVERY_EXPRESSION recovery_expression: last(/LANTRONIX-UDS1100/eth.operational.status)=1 name: 'Lantronix - Ethernet Operation Status is down' priority: HIGH description: 'Ethernet Lantronix interface is not operational' manual_close: 'YES' dependencies: - name: 'Lantronix - Admin Console not reacheable' expression: 'last(/LANTRONIX-UDS1100/net.tcp.service[tcp,,9999])=0' recovery_expression: 'last(/LANTRONIX-UDS1100/net.tcp.service[tcp,,9999])=1' - uuid: 637d4c92366545f7a47b67197b116b25 name: 'Ethernet Output Bytes' type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.2.2.1.16.1 key: eth.output.bytes delay: 60s description: 'Counter output bytes (transmitted bytes)' - uuid: ac33364074b948cc8d0a500376666bb5 name: 'HTTP Check TCP 80' type: SIMPLE key: 'net.tcp.service[http]' delay: 60s description: 'HTTP Web Server Check' tags: - tag: Application value: 'HTTP Lantronix Check' triggers: - uuid: e929f29b30e64c71b52e51caa0b80fc4 expression: 'last(/LANTRONIX-UDS1100/net.tcp.service[http])=0' recovery_mode: RECOVERY_EXPRESSION recovery_expression: 'last(/LANTRONIX-UDS1100/net.tcp.service[http])=1' name: 'Lantronix - Web Console not reacheable' priority: AVERAGE description: 'Web console check HTTP (TCP-80)' manual_close: 'YES' - uuid: a781ee017ebb49f1aa94563456d0f50d name: 'TELNET Check TCP 9999' type: SIMPLE key: 'net.tcp.service[tcp,,9999]' delay: 60s description: 'Check admin console Telnet TCP-9999' tags: - tag: Application value: 'Telnet Lantronix Check' triggers: - uuid: 94803d7b59b44caf857d263e85fedb13 expression: 'last(/LANTRONIX-UDS1100/net.tcp.service[tcp,,9999])=0' recovery_mode: RECOVERY_EXPRESSION recovery_expression: 'last(/LANTRONIX-UDS1100/net.tcp.service[tcp,,9999])=1' name: 'Lantronix - Admin Console not reacheable' priority: DISASTER description: 'Check CLI Admin Console (TCP-9999)' manual_close: 'YES' - uuid: e98954005eb54c039816a86d4b97e4d7 name: 'SNMP Check UDP 161' type: SIMPLE key: 'net.udp.service[ntp,,161]' delay: 30s tags: - tag: Application value: 'SNMP Lantronix Check' - uuid: 768ec4c76f8e444fb9266e77d628701c name: 'Operational Mode' type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.4.1.0 key: operational.mode delay: 30s description: | Operational modality Value: forwarding (1), --> acting as a router Value: notForwarding(2) --> NOT acting as a router Usually value for Lantronix is 2 triggers: - uuid: 2049a34029e744a9a56495c7ddfd443b expression: last(/LANTRONIX-UDS1100/operational.mode)<>2 recovery_mode: RECOVERY_EXPRESSION recovery_expression: last(/LANTRONIX-UDS1100/operational.mode)=2 name: 'Lantronix - Change operational status' priority: AVERAGE description: 'Lantronix usually works as notForwaring (no router)' manual_close: 'YES' macros: - macro: '{$SNMP_COMMUNITY}' value: public graphs: - uuid: 269a32b017344f4b9b045b635f601936 name: 'Lantronix Graph - Admin Console Availability' graph_items: - color: 1A7C11 item: host: LANTRONIX-UDS1100 key: 'net.tcp.service[tcp,,9999]' - uuid: 38d4d0d9fa8a41d589b2e94ea13e0d8e name: 'Lantronix Graph - Ethernet interface status and operational status' graph_items: - color: 1A7C11 item: host: LANTRONIX-UDS1100 key: eth.int.status - sortorder: '1' color: F63100 item: host: LANTRONIX-UDS1100 key: eth.operational.status - uuid: 66146b11a3434c49b21ab7d0154ba1f8 name: 'Lantronix Graph - HTTP Console Availability' graph_items: - color: 1A7C11 item: host: LANTRONIX-UDS1100 key: 'net.tcp.service[http]' - uuid: 6059b251a7e1486aa8f516fdac01c03c name: 'Lantronix Graph - Traffic (bytes)' graph_items: - color: 1A7C11 item: host: LANTRONIX-UDS1100 key: eth.input.bytes - sortorder: '1' color: F63100 item: host: LANTRONIX-UDS1100 key: eth.output.bytes