zabbix_export: version: '5.4' date: '2021-11-21T21:27:36Z' groups: - uuid: 7df96b18c230490a9a0a9e2307226338 name: Templates templates: - uuid: 1c0a99c7584542709bf4247824ee59e6 template: B593 name: B593 description: | ## Overview Template for Huawei B593u-12 LTE Router. Does not apply on B593s-12 or B593s-22 (should be ok with B593u-91). A custom firmware is needed to get Zabbix agent, please follow the link. groups: - name: Templates items: - uuid: c948222a275d48f7b4f2e6a338a998c3 name: 'CPU idle time' key: cpu.idle delay: '120' history: 7d value_type: FLOAT units: '%' description: 'The time the CPU has spent doing nothing.' tags: - tag: Application value: CPU triggers: - uuid: cd8252ea35964393bdfabd34a7d34eaa expression: last(/B593/cpu.idle)<20 name: 'High CPU usage on {HOST.NAME}' priority: WARNING - uuid: 698cc9d99b394b0fb7263574e0f41113 name: 'CPU iowait time' key: cpu.io delay: '120' history: 7d value_type: FLOAT units: '%' description: 'Amount of time the CPU has been waiting for I/O to complete.' tags: - tag: Application value: CPU - uuid: 0a8a0afd3b0d4ad484df825630400411 name: 'CPU irq time' key: cpu.irq delay: '120' history: 7d trends: 60d value_type: FLOAT units: '%' tags: - tag: Application value: CPU - uuid: 777c8facd9294d338ffcf32c66cf6ea3 name: 'Processor load (1 min)' key: cpu.load1 delay: '60' history: 7d value_type: FLOAT description: 'The processor load is calculates as system CPU load divided by number of CPU cores.' tags: - tag: Application value: CPU triggers: - uuid: b0c84d7d50ef4bfaa2f955565fccdc4c expression: last(/B593/cpu.load1)>5 name: 'Processor load is too high on {HOST.NAME}' priority: WARNING - uuid: b1693dd12f9e48f1a662d1bb013f5114 name: 'Processor load (5 min)' key: cpu.load5 delay: '60' history: 7d value_type: FLOAT description: 'The processor load is calculates as system CPU load divided by number of CPU cores.' tags: - tag: Application value: CPU - uuid: 9b254fa5863045d2b8e8d46656748e43 name: 'Processor load (15 min)' key: cpu.load15 delay: '60' history: 7d value_type: FLOAT description: 'The processor load is calculates as system CPU load divided by number of CPU cores.' tags: - tag: Application value: CPU - uuid: 41ef894098ff4e208515a7118d314d6a name: 'CPU nice time' key: cpu.nice delay: '120' history: 7d trends: 60d value_type: FLOAT units: '%' tags: - tag: Application value: CPU - uuid: 219b1b3a8904490399d596123e5805fb name: 'CPU softirq time' key: cpu.softirq delay: '120' history: 7d trends: 60d value_type: FLOAT units: '%' tags: - tag: Application value: CPU - uuid: 51a9d1846bd749359bd377379b18256d name: 'CPU sys time' key: cpu.sys delay: '120' history: 7d value_type: FLOAT units: '%' description: 'The time the CPU has spent running the kernel and its processes.' tags: - tag: Application value: CPU - uuid: 5d3fb8ca6cf1419884bc13f516fdfde4 name: 'CPU user time' key: cpu.user delay: '120' history: 7d value_type: FLOAT units: '%' description: 'The time the CPU has spent running users'' processes that are not niced.' tags: - tag: Application value: CPU - uuid: d16aade1542f4fd6acebee7109e42770 name: 'Disk upgflash free' key: disk.free.usb delay: '900' history: 7d value_type: FLOAT units: MB preprocessing: - type: MULTIPLIER parameters: - '0.000976563' tags: - tag: Application value: Filesystems triggers: - uuid: b88a255294ad4f5e8c398252fd00eec6 expression: last(/B593/disk.free.usb)<15 name: 'Low space in /upgflash on {HOST.NAME}' priority: HIGH - uuid: 036f47ef630b4f12a1e7b8ba7c4f577a name: 'Disk upgflash used' key: disk.used.usb delay: '900' history: 7d value_type: FLOAT units: MB preprocessing: - type: MULTIPLIER parameters: - '0.000976563' tags: - tag: Application value: Filesystems - uuid: f9277766558a45b0a1d0a6d312249661 name: 'Maximum number of opened files' key: kernel.maxfiles delay: '86400' history: 7d trends: 30d description: 'It could be increased by using sysctrl utility or modifying file /etc/sysctl.conf.' tags: - tag: Application value: OS - uuid: 5baac9f9fae042beb65a8d918ab0734e name: 'Maximum number of processes' key: kernel.maxproc delay: '86400' history: 7d trends: 30d description: 'It could be increased by using sysctrl utility or modifying file /etc/sysctl.conf.' tags: - tag: Application value: OS - uuid: fac58272c88444b48b8c9c7182d18d35 name: 'Cached memory' key: mem.cached delay: '300' history: 7d value_type: FLOAT units: MB preprocessing: - type: MULTIPLIER parameters: - '0.000976563' tags: - tag: Application value: Memory - uuid: cafb6346947646f9bba17d997d264413 name: 'Free memory' key: mem.free delay: '300' history: 7d value_type: FLOAT units: MB preprocessing: - type: MULTIPLIER parameters: - '0.000976563' tags: - tag: Application value: Memory triggers: - uuid: 86b21d3f7a854e78ba1cddc86d942d74 expression: last(/B593/mem.free)<15 name: 'High memory usage on {HOST.NAME}' priority: HIGH - uuid: 0409da46863042d6833426bc295570c0 name: 'Total memory' key: mem.total delay: '86400' history: 1d trends: 7d value_type: FLOAT units: MB preprocessing: - type: MULTIPLIER parameters: - '0.000976563' tags: - tag: Application value: Memory - uuid: e40dc26b40854227b73246fe10d13bea name: 'Used memory' key: mem.used delay: '300' history: 7d value_type: FLOAT units: MB preprocessing: - type: MULTIPLIER parameters: - '0.000976563' tags: - tag: Application value: Memory - uuid: 000938fe88f149af889a5b4cbb8ded84 name: 'Zabbix memory usage' key: mem.zbxagent delay: '600' history: 7d trends: 60d value_type: FLOAT units: MB preprocessing: - type: MULTIPLIER parameters: - '0.000976563' tags: - tag: Application value: Memory triggers: - uuid: 6bdef515bb3c46d593f93c8e1b13cf20 expression: last(/B593/mem.zbxagent)>10 name: 'Zabbix agent memory usage on {HOST.NAME}' priority: WARNING - uuid: ea30869467b541f3bc4fb9719164bad9 name: 'Number of running processes' key: 'proc.num[,,run]' delay: '180' history: 7d status: DISABLED description: 'Number of processes in running state.' tags: - tag: Application value: Processes - uuid: 0820a496163c4d078b19207d66d83307 name: 'Number of processes' key: 'proc.num[]' delay: '180' history: 7d description: 'Total number of processes in any state.' tags: - tag: Application value: Processes triggers: - uuid: ed22d41a5cc64ed88d4ce72a0ff8ce88 expression: 'last(/B593/proc.num[])>100' name: 'Too many processes on {HOST.NAME}' priority: WARNING - uuid: 943b9375becb4b9196c585d136b46a45 name: 'LTE bandwidth' type: CALCULATED key: sum.hed0 delay: '120' status: DISABLED units: B params: 'sum(//net.if.total[hed0],120s)+last(//sum.hed0)' tags: - tag: Application value: 'Network interfaces' triggers: - uuid: 564e15c4f9f34aa09bb5242a1e441917 expression: last(/B593/sum.hed0)>50000000000 name: 'High LTE bandwidth consumption on {HOST.NAME}' priority: WARNING - uuid: 1b1a6a4cc91940ba8cdc4505e6133583 name: 'Host boot time' key: system.boottime delay: '600' history: 7d status: DISABLED units: unixtime tags: - tag: Application value: OS - uuid: 3a2e801493cf47af8e7813e681fffd3d name: 'Interrupts per second' key: system.cpu.intr delay: '120' history: 7d units: ips preprocessing: - type: CHANGE_PER_SECOND parameters: - '' tags: - tag: Application value: CPU - uuid: 5c9e81c795414ee1b8e8fa923ec9cb92 name: 'Context switches per second' key: system.cpu.switches delay: '120' history: 7d units: sps preprocessing: - type: CHANGE_PER_SECOND parameters: - '' tags: - tag: Application value: CPU - uuid: 3988033380e54669886903649653aeef name: 'Host name' key: system.hostname delay: '3600' history: 7d trends: '0' value_type: CHAR description: 'System host name.' inventory_link: NAME tags: - tag: Application value: OS triggers: - uuid: 818bd0c53f8c4aabb9c6efb07d419413 expression: '(last(/B593/system.hostname,#1)<>last(/B593/system.hostname,#2))>0' name: 'Hostname was changed on {HOST.NAME}' priority: INFO - uuid: d99508657b9f405aa80162343951473f name: 'Host local time' key: system.localtime delay: '300' history: 7d units: unixtime tags: - tag: Application value: OS triggers: - uuid: acaeb70ef584458baff63b8cce474cc6 expression: 'fuzzytime(/B593/system.localtime,600s)=0' name: 'Clock sync problem on {HOST.NAME}' priority: INFO - uuid: 94a0bcfb699f47db9e2d9dfa046bbcb5 name: 'System information' key: system.uname delay: '86400' history: 7d trends: '0' value_type: CHAR description: 'The information as normally returned by ''uname -a''.' inventory_link: OS tags: - tag: Application value: OS - uuid: ef59f459abb242e9843570f84ea2ad0f name: 'System uptime' key: system.uptime delay: '900' history: 7d units: uptime tags: - tag: Application value: OS triggers: - uuid: 6e6ff0f51cbf49bcbd43caee25d581b2 expression: change(/B593/system.uptime)<0 name: '{HOST.NAME} has just been restarted' priority: INFO - uuid: dea3bd2f58e94bd7a781589aa4bed8bb name: 'Number of logged in users' key: system.users.num delay: '600' history: 7d description: 'Number of users who are currently logged in.' tags: - tag: Application value: OS discovery_rules: - uuid: 494df4e1a5cd4cbfa686b80323d8a0a7 name: 'Network interface discovery' key: net.if.discovery delay: '900' filter: conditions: - macro: '{#IFNAME}' value: '@Network interfaces for discovery' formulaid: A description: 'Get interfaces from B593' item_prototypes: - uuid: 39fc3a8090e84c8e8550d92597539a94 name: 'Incoming network traffic on $1' key: 'net.if.in[{#IFNAME}]' delay: '120' units: B preprocessing: - type: SIMPLE_CHANGE parameters: - '' tags: - tag: Application value: 'Network interfaces' - uuid: 04a1f0628470457899a80c51eaf8a60f name: 'Outgoing network traffic on $1' key: 'net.if.out[{#IFNAME}]' delay: '120' units: B preprocessing: - type: SIMPLE_CHANGE parameters: - '' tags: - tag: Application value: 'Network interfaces' - uuid: 6dcdf4cf1db4416aa9004f5a3d685fb5 name: 'Total network traffic on $1' key: 'net.if.total[{#IFNAME}]' delay: '120' units: B preprocessing: - type: SIMPLE_CHANGE parameters: - '' tags: - tag: Application value: 'Network interfaces' httptests: - uuid: 5f479391d99849919fc1f8bb04ecc7ac name: Admin delay: '600' steps: - name: Index url: 'http://192.168.1.1' follow_redirects: 'NO' timeout: '15' required: B593 status_codes: '200' tags: - tag: Application value: HTTP