zabbix_export: version: '6.0' date: '2021-11-25T12:36:35Z' groups: - uuid: 45e2939d7a9b4c2b8e7c0dd7a4193a59 name: AS400 - uuid: 7df96b18c230490a9a0a9e2307226338 name: Templates templates: - uuid: 29faeb6410e24c959b92967f466750e6 template: 'App Zabbix Agent' name: 'App Zabbix Agent' groups: - name: Templates items: - uuid: 1f436557772f4629a425ef311b306a70 name: 'Host name of zabbix_agentd running' key: agent.hostname delay: '3600' history: 7d trends: '0' value_type: CHAR tags: - tag: Application value: 'Zabbix agent' triggers: - uuid: ed938d0e260647ab99ee603f69afea90 expression: '(last(/App Zabbix Agent/agent.hostname,#1)<>last(/App Zabbix Agent/agent.hostname,#2))>0' name: 'Host name of zabbix_agentd was changed on {HOST.NAME}' priority: INFO - uuid: bf419e8cb21342e596cd3727af5b3ebf name: 'Agent ping' key: agent.ping delay: '60' history: 7d description: 'The agent always returns 1 for this item. It could be used in combination with nodata() for availability check.' valuemap: name: 'Zabbix agent ping status' tags: - tag: Application value: 'Zabbix agent' triggers: - uuid: 43555408eeab4ee2bd0d2b059dcd488f expression: 'nodata(/App Zabbix Agent/agent.ping,5m)=1' name: 'Zabbix agent on {HOST.NAME} is unreachable for 5 minutes' priority: AVERAGE - uuid: 848edd2ec1cf4a279f65db59e2b83039 name: 'Version of zabbix_agent(d) running' key: agent.version delay: '3600' history: 7d trends: '0' value_type: CHAR tags: - tag: Application value: 'Zabbix agent' triggers: - uuid: b4663ca19dc54caa8ced01bf0fc84c1d expression: '(last(/App Zabbix Agent/agent.version,#1)<>last(/App Zabbix Agent/agent.version,#2))>0' name: 'Version of zabbix_agent(d) was changed on {HOST.NAME}' priority: INFO valuemaps: - uuid: 2bbdd800972b4752b18d300712301e9d name: 'Zabbix agent ping status' mappings: - value: '1' newvalue: Up - uuid: 57bae283594f409c9a1e279ba04ed07c template: AS400 name: AS400 templates: - name: 'App Zabbix Agent' groups: - name: AS400 - name: Templates items: - uuid: 04459d59270c422fa5999e451cbbd906 name: 'Size of output queue $1 in library $2' type: ZABBIX_ACTIVE key: 'as400.outputqueue.size[QEZDEBUG,QUSRSYS]' delay: '900' history: 7d tags: - tag: Application value: 'Output Queue' triggers: - uuid: c877eabd824441b19164b2047657f47c expression: 'last(/AS400/as400.outputqueue.size[QEZDEBUG,QUSRSYS])>{$MAX_QEZ_SIZE}' name: 'Output queue QEZDEBUG has a lot of spool files' priority: WARNING - uuid: 94e59423fbaa4c2c95e6f0d0f6d67ab4 expression: 'count(/AS400/as400.outputqueue.size[QEZDEBUG,QUSRSYS],20m)>1 and change(/AS400/as400.outputqueue.size[QEZDEBUG,QUSRSYS])>{$MAX_QEZ_INCREASE}' name: 'Output queue QEZDEBUG is growing too fast' priority: WARNING - uuid: 3b2599c1cb6d411fb392f0f8845f9752 name: 'Size of output queue $1 in library $2' type: ZABBIX_ACTIVE key: 'as400.outputqueue.size[QEZJOBLOG,QUSRSYS]' delay: '900' history: 7d tags: - tag: Application value: 'Output Queue' triggers: - uuid: 22303c537b414f1bb528664f838019be expression: 'last(/AS400/as400.outputqueue.size[QEZJOBLOG,QUSRSYS])>{$MAX_QEZ_SIZE}' name: 'Output queue QEZJOBLOG has a lot of spool files' priority: WARNING - uuid: 67d58e9039f94dc6ad71746d27a100eb expression: 'count(/AS400/as400.outputqueue.size[QEZJOBLOG,QUSRSYS],20m)>1 and change(/AS400/as400.outputqueue.size[QEZJOBLOG,QUSRSYS])>{$MAX_QEZ_INCREASE}' name: 'Output queue QEZJOBLOG is growing too fast' priority: WARNING - uuid: b736bcc3383542d1bcd26fd53abe8a49 name: 'Size of output queue $1 in library $2' type: ZABBIX_ACTIVE key: 'as400.outputqueue.size[QPRINT,QGPL]' delay: '900' history: 7d tags: - tag: Application value: 'Output Queue' triggers: - uuid: 880a0e9d6c7a45f68febab61f30e90c8 expression: 'last(/AS400/as400.outputqueue.size[QPRINT,QGPL])>{$MAX_QPRINT_SIZE}' name: 'Output queue QPRINT has a lot of spool files' priority: WARNING - uuid: d4fa6e96400348dcae97e3eb82ba504c name: 'Services availability' type: ZABBIX_ACTIVE key: as400.services delay: '300' history: 7d tags: - tag: Application value: Generic - uuid: f1d7b255d6354338a4ff65f19fc31757 name: 'Messages in the queue QSYSOPR (errors)' type: ZABBIX_ACTIVE key: 'eventlog[QSYSOPR,,70,,,100,skip]' delay: '20' history: 7d trends: '0' value_type: LOG tags: - tag: Application value: 'Message Queue' triggers: - uuid: b0058ea4de314361ba9904109428ffe6 expression: 'nodata(/AS400/eventlog[QSYSOPR,,70,,,100,skip],3d)<>1 and find(/AS400/eventlog[QSYSOPR,,70,,,100,skip],,"regexp","^(CPPEA02|CPI0949) ")=1' name: 'New critical message in AS400 message queue' priority: HIGH type: MULTIPLE - uuid: 98ea32d9a2d640879a6c2cb160ab912f expression: 'nodata(/AS400/eventlog[QSYSOPR,,70,,,100,skip],7s)<>1 and (find(/AS400/eventlog[QSYSOPR,,70,,,100,skip],,"regexp","^CPPEA33 ")=1 or (logsource(/AS400/eventlog[QSYSOPR,,70,,,100,skip],,"^#OVERRIDE")=0 and find(/AS400/eventlog[QSYSOPR,,70,,,100,skip],,"regexp","^(CPI2401|CPA5201|BRM1472|BRM1392|CPA7025|CPI096E|CPI5906|CPPEA33|CPF8198|CPF9E7E|CPF9E7D) ")=0) )' name: 'New error message in AS400 message queue' priority: AVERAGE type: MULTIPLE - uuid: 62652999d19e4d62a2ccd71f53b36ae2 expression: 'nodata(/AS400/eventlog[QSYSOPR,,70,,,100,skip],7s)<>1 and (find(/AS400/eventlog[QSYSOPR,,70,,,100,skip],,"regexp","^BRM1392 ")=1 or logsource(/AS400/eventlog[QSYSOPR,,70,,,100,skip],,"QCLNSYSLOG")=0 and find(/AS400/eventlog[QSYSOPR,,70,,,100,skip],,"regexp","^CPA7025 ")=1)' name: 'New warning message in AS400 message queue' priority: WARNING type: MULTIPLE - uuid: d98a6a7d63314b8d98dd8cf91f789f09 name: 'CPU Usage for all process' type: ZABBIX_ACTIVE key: 'proc.cpu.util[,,total,,,]' delay: '60' history: 7d value_type: FLOAT units: '%' tags: - tag: Application value: Generic - uuid: 7b50db9709be4213aceb5756b7b50512 name: 'Number of jobs in state $3' type: ZABBIX_ACTIVE key: 'proc.num[,,LCKW,]' delay: '300' history: 7d tags: - tag: Application value: Generic triggers: - uuid: d6e9ed0bcde94d6ea6d23817a1780fcd expression: 'min(/AS400/proc.num[,,LCKW,],#2)>0' name: 'There are jobs in state LCKW' priority: WARNING - uuid: ac998561a3bd4775b4042359a958de04 name: 'Number of running jobs (total)' type: ZABBIX_ACTIVE key: 'proc.num[,,run]' delay: '300' history: 7d tags: - tag: Application value: Generic - uuid: 8bd47ca14ad84c0abbfc2a1d4d1688e1 name: 'System information' key: system.uname delay: '120' history: 7d trends: '0' value_type: TEXT tags: - tag: Application value: Generic - uuid: a6447c8487774c3e9c7ee7098a32f846 name: 'Number of users' type: ZABBIX_ACTIVE key: system.users.num delay: '60' history: 7d tags: - tag: Application value: Generic triggers: - uuid: b911ce4a45784268bd62d0b6e61212ac expression: 'nodata(/AS400/system.users.num,{$MAX_AGENT_UNAVAILABLE})=1' name: 'Zabbix agent (active mode) on {HOST.NAME} is unreachable' priority: AVERAGE discovery_rules: - uuid: 2e78c089ce034725a266f91ef3ba9083 name: 'Disks discovery' type: ZABBIX_ACTIVE key: as400.disk.discovery delay: '3600' lifetime: 7d item_prototypes: - uuid: 459b5182aedf46f9a916ab5a1b44e819 name: 'Disk {#DSK_ID}: {#DSK_NAME} free space' type: ZABBIX_ACTIVE key: 'as400.disk.size[{#DSK_SN},free]' delay: '300' history: 7d units: B tags: - tag: Application value: Disks - uuid: 5a59f56030e84ecaae3d4063a56fe307 name: 'Disk {#DSK_ID}: {#DSK_NAME} free space, %' type: ZABBIX_ACTIVE key: 'as400.disk.size[{#DSK_SN},pfree]' delay: '300' history: 7d value_type: FLOAT units: '%' tags: - tag: Application value: Disks - uuid: 1039b3237ab64c97b4b6628bffd2d6ab name: 'Disk {#DSK_ID}: {#DSK_NAME} used space, %' type: ZABBIX_ACTIVE key: 'as400.disk.size[{#DSK_SN},pused]' delay: '300' history: 7d value_type: FLOAT units: '%' tags: - tag: Application value: Disks - uuid: 932a0a29a2e64c87851bf2acc776f0c2 name: 'Disk {#DSK_ID}: {#DSK_NAME} capacity' type: ZABBIX_ACTIVE key: 'as400.disk.size[{#DSK_SN},total]' delay: '3600' history: 7d units: B tags: - tag: Application value: Disks - uuid: 92cddcec15374c45af41da8891b6aa95 name: 'Disk {#DSK_ID}: {#DSK_NAME} used space' type: ZABBIX_ACTIVE key: 'as400.disk.size[{#DSK_SN},used]' delay: '300' history: 7d units: B tags: - tag: Application value: Disks - uuid: d9f1316f86e94a8f8343c88f31ad4298 name: 'Disk {#DSK_ID}: {#DSK_NAME} ({#DSK_TYPE} {#DSK_MODEL}, {#DSK_SN}) status' type: ZABBIX_ACTIVE key: 'as400.disk.state[{#DSK_SN}]' delay: '300' history: 7d valuemap: name: 'AS400 disk status' tags: - tag: Application value: Disks trigger_prototypes: - uuid: 55384371735b4bb6828aa241af5ea992 expression: 'last(/AS400/as400.disk.state[{#DSK_SN}])<>1 and last(/AS400/as400.disk.state[{#DSK_SN}])<>4294967295' name: 'Disk {#DSK_ID}: {#DSK_NAME} ({#DSK_TYPE} {#DSK_MODEL}, {#DSK_SN}) failed' priority: AVERAGE - uuid: 3e7c9f1a10fe4bf1912f8ee30515c581 name: 'Processes discovery' type: ZABBIX_ACTIVE key: 'proc.cpu.util.discovery[{$MAX_CPU_FOR_DISCOVERY}]' delay: '60' lifetime: '0' item_prototypes: - uuid: e2919f665cf04d18930fbdccddab56c9 name: 'CPU Usage by process $6/$2/$1' type: ZABBIX_ACTIVE key: 'proc.cpu.util[{#NAME},{#USER},total,,avg1,{#NUM}]' delay: '60' history: 7d value_type: FLOAT units: '%' tags: - tag: Application value: 'CPU Usage by process' trigger_prototypes: - uuid: 92c48d0ca2544fadbc7a9135b1707151 expression: 'count(/AS400/proc.cpu.util[{#NAME},{#USER},total,,avg1,{#NUM}],#6,"ge","{$MAX_CPU_PER_PROCESS_PUSED}")=6' name: 'Job {#NUM}/{#USER}/{#NAME} has large CPU usage (>{$MAX_CPU_PER_PROCESS_PUSED}%)' priority: WARNING - uuid: eb9ac6647dd247bc87598b09581002d5 name: 'ASP discovery' type: ZABBIX_ACTIVE key: vfs.fs.discovery delay: '3600' lifetime: 7d item_prototypes: - uuid: 84fdedd06c5c48f190e3a520045cc7e0 name: 'ASP{#FSNAME} free' type: ZABBIX_ACTIVE key: 'vfs.fs.size[{#FSNAME},free]' delay: '300' history: 7d units: B tags: - tag: Application value: ASP - uuid: 0e5dfad4907942a3bf5e48815c297862 name: 'ASP{#FSNAME} free, %' type: ZABBIX_ACTIVE key: 'vfs.fs.size[{#FSNAME},pfree]' delay: '300' history: 7d value_type: FLOAT units: '%' tags: - tag: Application value: ASP - uuid: 795d43de85e54f63b1fd3eb9b7700ad2 name: 'ASP{#FSNAME} pused, %' type: ZABBIX_ACTIVE key: 'vfs.fs.size[{#FSNAME},pused]' delay: '300' history: 7d value_type: FLOAT units: '%' tags: - tag: Application value: ASP - uuid: 9f3d6a38c9de49a0962a58a810d1620c name: 'ASP{#FSNAME} capacity' type: ZABBIX_ACTIVE key: 'vfs.fs.size[{#FSNAME},total]' delay: '3600' history: 7d units: B tags: - tag: Application value: ASP - uuid: 9c1c849e100f424db2acff986bc29ced name: 'ASP{#FSNAME} used' type: ZABBIX_ACTIVE key: 'vfs.fs.size[{#FSNAME},used]' delay: '300' history: 7d units: B tags: - tag: Application value: ASP - uuid: b7b2f618765b46c1ac68eee4f933a03c name: 'ASP{#FSNAME} status' type: ZABBIX_ACTIVE key: 'vfs.fs.state[{#FSNAME}]' delay: '300' history: 7d valuemap: name: 'AS400 ASP status' tags: - tag: Application value: ASP trigger_prototypes: - uuid: 872941c8e49f41c9a99456ad0500388b expression: 'min(/AS400/vfs.fs.size[{#FSNAME},pused],#2)>{$MAX_DISK_PUSED:"{#FSNAME}"} and count(/AS400/vfs.fs.state[{#FSNAME}],#2,,"1")=0 and count(/AS400/vfs.fs.state[{#FSNAME}],#2,,"2")=0' name: 'ASP{#FSNAME} used more than {$MAX_DISK_PUSED:"{#FSNAME}"}%' priority: AVERAGE macros: - macro: '{$MAX_CPU_FOR_DISCOVERY}' value: '30' - macro: '{$MAX_CPU_PER_PROCESS_PUSED}' value: '20' - macro: '{$MAX_DISK_PUSED}' value: '65' - macro: '{$MAX_QEZ_INCREASE}' value: '400' - macro: '{$MAX_QEZ_SIZE}' value: '50000' - macro: '{$MAX_QPRINT_SIZE}' value: '15000' valuemaps: - uuid: 71e976cbdcd64277be9db27ab4b775e3 name: 'AS400 ASP status' mappings: - value: '0' newvalue: 'no status' - value: '1' newvalue: varyoff - value: '2' newvalue: varyon - value: '3' newvalue: active - value: '4' newvalue: available - uuid: 7416eff1e3d04616a5acfa6d66ac2648 name: 'AS400 disk status' mappings: - value: '0' newvalue: 'There is no unit control value' - value: '1' newvalue: 'The disk unit is active' - value: '2' newvalue: 'The disk unit has failed' - value: '3' newvalue: 'Some other disk unit in the disk subsystem has failed' - value: '4' newvalue: 'Hardware failure (affects performance, but not the function)' - value: '5' newvalue: 'Hardware failure (does not affect the function or performance)' - value: '6' newvalue: 'The disk unit''s parity protection is being rebuilt' - value: '7' newvalue: 'The disk unit is not ready' - value: '8' newvalue: 'The disk unit is write protected' - value: '9' newvalue: 'The disk unit is busy' - value: '10' newvalue: 'The disk unit is not operational' - value: '11' newvalue: 'The disk unit has returned a status that is not recognizable' - value: '12' newvalue: 'The disk unit cannot be accessed' - value: '13' newvalue: 'The disk unit is read/write protected' - value: '4294967295' newvalue: 'Not configured or not attached'