zabbix_export: version: '6.0' date: '2021-11-21T21:29:50Z' groups: - uuid: 7df96b18c230490a9a0a9e2307226338 name: Templates templates: - uuid: 65859d7d6b0c4a53a7b8f0b0c09653ad template: 'App Logstash' name: 'App Logstash' description: | ## Overview This method uses python protobix library, and check metrics from logstash JSON file. More informations and download script on: https://github.com/fredprod/logstash-zabbix ## Author fredprod groups: - name: Templates items: - uuid: 31006b0730c84accbb3723cc9994f0d4 name: 'Logstash check' type: ZABBIX_ACTIVE key: logstash.check history: 15d tags: - tag: Application value: Logstash triggers: - uuid: 36757f84d72044feb7312f59153e99e2 expression: 'min(/App Logstash/logstash.check,3m)>0' name: 'Logstash check failed' priority: AVERAGE - uuid: 9127e2f57cf445e98d213ff08d51376f name: 'Logstash discovery' type: ZABBIX_ACTIVE key: logstash.discovery delay: 1h history: 15d tags: - tag: Application value: Logstash triggers: - uuid: 98cc4e965c4e4e2682b9dc6ec5f467eb expression: 'last(/App Logstash/logstash.discovery)>0' name: 'Logstash discovery failed' priority: WARNING - uuid: f89d004284c646e9b844c89f38da6bea name: 'Logstash JVM gc collectors old collection count' type: TRAP key: logstash.jvm.gc.collectors.old.collection_count delay: '0' history: 30d value_type: FLOAT tags: - tag: Application value: 'Logstash Node JVM' - uuid: a186dbc9157d4b66a82e720cbcb8cb52 name: 'Logstash JVM gc collectors old collection time' type: TRAP key: logstash.jvm.gc.collectors.old.collection_time_in_millis delay: '0' history: 30d value_type: FLOAT units: ms tags: - tag: Application value: 'Logstash Node JVM' - uuid: 35c43687fcf549e69199eb29d561185a name: 'Logstash JVM gc collectors young collection count' type: TRAP key: logstash.jvm.gc.collectors.young.collection_count delay: '0' history: 30d value_type: FLOAT tags: - tag: Application value: 'Logstash Node JVM' - uuid: 74d27f2094a0458586456cd6ca724d13 name: 'Logstash JVM gc collectors young collection time' type: TRAP key: logstash.jvm.gc.collectors.young.collection_time_in_millis delay: '0' history: 30d value_type: FLOAT units: ms tags: - tag: Application value: 'Logstash Node JVM' - uuid: f0ee1d0ded7f46f5bd4f17a40138d2f1 name: 'Logstash JVM Mem heap committed' type: TRAP key: logstash.jvm.mem.heap_committed_in_bytes delay: '0' history: 30d value_type: FLOAT units: B tags: - tag: Application value: 'Logstash Node JVM' - uuid: e6b981d4e1f345b1b71c139021cb7b80 name: 'Logstash JVM Mem heap max' type: TRAP key: logstash.jvm.mem.heap_max_in_bytes delay: '0' history: 30d value_type: FLOAT units: B tags: - tag: Application value: 'Logstash Node JVM' - uuid: 920efc7a753d4baa835369107a56cc93 name: 'Logstash JVM Mem heap used' type: TRAP key: logstash.jvm.mem.heap_used_in_bytes delay: '0' history: 30d value_type: FLOAT units: B tags: - tag: Application value: 'Logstash Node JVM' - uuid: 11687e4163b04b7dab1f802afe24b8fd name: 'Logstash JVM Percent Mem heap used' type: TRAP key: logstash.jvm.mem.heap_used_percent delay: '0' history: 30d value_type: FLOAT units: '%' tags: - tag: Application value: 'Logstash Node JVM' triggers: - uuid: 7d3a3ee623294ba3b2dc47f9dbaa81e0 expression: 'avg(/App Logstash/logstash.jvm.mem.heap_used_percent,30m)>75' name: 'Logstash JVM Heap used percent is high' priority: AVERAGE description: 'JVM heap used percent average is above 75% for 30m.' dependencies: - name: 'Logstash JVM Heap used percent is TOO HIGH' expression: 'avg(/App Logstash/logstash.jvm.mem.heap_used_percent,30m)>85' - uuid: 0c10795edcba4ecba589ad6c8de27f8b expression: 'avg(/App Logstash/logstash.jvm.mem.heap_used_percent,30m)>85' name: 'Logstash JVM Heap used percent is TOO HIGH' priority: HIGH description: 'JVM heap used percent average is above 90% during 30m.' - uuid: 55029a950b8c425e9b120b072307dca2 name: 'Logstash JVM Mem non heap committed' type: TRAP key: logstash.jvm.mem.non_heap_committed_in_bytes delay: '0' history: 30d value_type: FLOAT units: B tags: - tag: Application value: 'Logstash Node JVM' - uuid: 50e40871a585461795f7af5b91e67884 name: 'Logstash JVM Mem non heap used' type: TRAP key: logstash.jvm.mem.non_heap_used_in_bytes delay: '0' history: 30d value_type: FLOAT units: B tags: - tag: Application value: 'Logstash Node JVM' - uuid: f97ade69a9d04dd3991d80655f59ddea name: 'Logstash JVM Mem pools old committed' type: TRAP key: logstash.jvm.mem.pools.old.committed_in_bytes delay: '0' history: 30d value_type: FLOAT units: B tags: - tag: Application value: 'Logstash Node JVM' - uuid: 69e6171d815c4b5eb9559e57e33f2118 name: 'Logstash JVM Mem pools old max' type: TRAP key: logstash.jvm.mem.pools.old.max_in_bytes delay: '0' history: 30d value_type: FLOAT units: B tags: - tag: Application value: 'Logstash Node JVM' - uuid: 0df3899d03714a489a9338b3332bcf28 name: 'Logstash JVM Mem pools old peak max' type: TRAP key: logstash.jvm.mem.pools.old.peak_max_in_bytes delay: '0' history: 30d value_type: FLOAT units: B tags: - tag: Application value: 'Logstash Node JVM' - uuid: 65ef445a3e444878b749a39fde78bb11 name: 'Logstash JVM Mem pools old peak used' type: TRAP key: logstash.jvm.mem.pools.old.peak_used_in_bytes delay: '0' history: 30d value_type: FLOAT units: B tags: - tag: Application value: 'Logstash Node JVM' - uuid: 0eb339158393469f922019663c3ef8e9 name: 'Logstash JVM Mem pools old used' type: TRAP key: logstash.jvm.mem.pools.old.used_in_bytes delay: '0' history: 30d value_type: FLOAT units: B tags: - tag: Application value: 'Logstash Node JVM' - uuid: 8670d29ef5734f4caab90152830c4c87 name: 'Logstash JVM Mem pools survivor committed' type: TRAP key: logstash.jvm.mem.pools.survivor.committed_in_bytes delay: '0' history: 30d value_type: FLOAT units: B tags: - tag: Application value: 'Logstash Node JVM' - uuid: 214c362375d24e52814488c0107e3782 name: 'Logstash JVM Mem pools survivor max' type: TRAP key: logstash.jvm.mem.pools.survivor.max_in_bytes delay: '0' history: 30d value_type: FLOAT units: B tags: - tag: Application value: 'Logstash Node JVM' - uuid: eb0c0155a18d4b8ab2a73f50dcc08419 name: 'Logstash JVM Mem pools survivor peak max' type: TRAP key: logstash.jvm.mem.pools.survivor.peak_max_in_bytes delay: '0' history: 30d value_type: FLOAT units: B tags: - tag: Application value: 'Logstash Node JVM' - uuid: c77a453856be4e81b42013d047b42c1c name: 'Logstash JVM Mem pools survivor peak used' type: TRAP key: logstash.jvm.mem.pools.survivor.peak_used_in_bytes delay: '0' history: 30d value_type: FLOAT units: B tags: - tag: Application value: 'Logstash Node JVM' - uuid: 0546ccc75c414871a5fc84810aa1397b name: 'Logstash JVM Mem pools survivor used' type: TRAP key: logstash.jvm.mem.pools.survivor.used_in_bytes delay: '0' history: 30d value_type: FLOAT units: B tags: - tag: Application value: 'Logstash Node JVM' - uuid: 5e5565fc219e4a7b9f5aa956b3f64318 name: 'Logstash JVM Mem pools young committed' type: TRAP key: logstash.jvm.mem.pools.young.committed_in_bytes delay: '0' history: 30d value_type: FLOAT units: B tags: - tag: Application value: 'Logstash Node JVM' - uuid: 081472cc06b64dc88ea19144271b31b9 name: 'Logstash JVM Mem pools young max' type: TRAP key: logstash.jvm.mem.pools.young.max_in_bytes delay: '0' history: 30d value_type: FLOAT units: B tags: - tag: Application value: 'Logstash Node JVM' - uuid: 78c88dbe2dff499d8bb39f0271d0e85c name: 'Logstash JVM Mem pools young peak max' type: TRAP key: logstash.jvm.mem.pools.young.peak_max_in_bytes delay: '0' history: 30d value_type: FLOAT units: B tags: - tag: Application value: 'Logstash Node JVM' - uuid: a85ba4eacf7946548d15d0ed890eeee7 name: 'Logstash JVM Mem pools young peak used' type: TRAP key: logstash.jvm.mem.pools.young.peak_used_in_bytes delay: '0' history: 30d value_type: FLOAT units: B tags: - tag: Application value: 'Logstash Node JVM' - uuid: 5a6f3c1587b24966953f7b4f86e9b87e name: 'Logstash JVM Mem pools young used' type: TRAP key: logstash.jvm.mem.pools.young.used_in_bytes delay: '0' history: 30d value_type: FLOAT units: B tags: - tag: Application value: 'Logstash Node JVM' - uuid: 94815bb4e70f414f96172565ebe3f201 name: 'Logstash JVM Threads count' type: TRAP key: logstash.jvm.threads.count delay: '0' history: 30d value_type: FLOAT tags: - tag: Application value: 'Logstash Node JVM' - uuid: 2cb32a2ec218486badd0a323c162bcc2 name: 'Logstash JVM Threads peak count' type: TRAP key: logstash.jvm.threads.peak_count delay: '0' history: 30d value_type: FLOAT tags: - tag: Application value: 'Logstash Node JVM' - uuid: 79286249e6864566b102d21c48c347c1 name: 'Logstash JVM uptime' type: TRAP key: logstash.jvm.uptime_in_millis delay: '0' history: 30d value_type: FLOAT units: ms tags: - tag: Application value: 'Logstash Node JVM' - uuid: 2bb11d2bd50245eb8223e4ed1c111bf2 name: 'Logstash Pipeline Events duration' type: TRAP key: logstash.pipeline.events.duration_in_millis delay: '0' history: 30d value_type: FLOAT units: ms tags: - tag: Application value: 'Logstash Pipeline Events' - uuid: 7c4af4cd409e4f0fb17e6485e1c6271b name: 'Logstash Pipeline Events filtered' type: TRAP key: logstash.pipeline.events.filtered delay: '0' history: 30d tags: - tag: Application value: 'Logstash Pipeline Events' - uuid: aa405aaea24c4fadab111b81cd90b6a2 name: 'Logstash Pipeline Events in' type: TRAP key: logstash.pipeline.events.in delay: '0' history: 30d tags: - tag: Application value: 'Logstash Pipeline Events' - uuid: 1d4edb14f3594e639a5e8f6e22045d1c name: 'Logstash Pipeline Events out' type: TRAP key: logstash.pipeline.events.out delay: '0' history: 30d tags: - tag: Application value: 'Logstash Pipeline Events' - uuid: ce3ff292c5544d8581b4e2424967dc70 name: 'Logstash Process CPU load 1' type: TRAP key: logstash.process.cpu.load_average.1m delay: '0' history: 15d value_type: FLOAT tags: - tag: Application value: 'Logstash Process CPU' - uuid: 916a9f805993429fa99affd33b8cb1d0 name: 'Logstash Process CPU load 5' type: TRAP key: logstash.process.cpu.load_average.5m delay: '0' history: 15d value_type: FLOAT tags: - tag: Application value: 'Logstash Process CPU' - uuid: c1a4e453b7d2492e9acfff44418c2ecc name: 'Logstash Process CPU load 15' type: TRAP key: logstash.process.cpu.load_average.15m delay: '0' history: 15d value_type: FLOAT tags: - tag: Application value: 'Logstash Process CPU' - uuid: 9a0912450f4543829197606d83deff1a name: 'Logstash Process CPU' type: TRAP key: logstash.process.cpu.percent delay: '0' history: 30d units: '%' tags: - tag: Application value: 'Logstash Process CPU' - uuid: 10a1b0f67f784a46844c87c2dc85e7e6 name: 'Logstash Process CPU Total in ms' type: TRAP key: logstash.process.cpu.total_in_millis delay: '0' history: 30d units: ms tags: - tag: Application value: 'Logstash Process CPU' - uuid: 72358133f6454578a72da8b5b25b8603 name: 'Logstash Process Max File descriptors' type: TRAP key: logstash.process.max_file_descriptors delay: '0' history: 30d tags: - tag: Application value: 'Logstash Process File Descriptors' - uuid: 31f09fa1bf244a47ab23b948ee11c801 name: 'Logstash Mem Total Virtual' type: TRAP key: logstash.process.mem.total_virtual_in_bytes delay: '0' history: 30d units: B tags: - tag: Application value: 'Logstash Memory' - uuid: 1d2704bd03054a61b72ae73523a09422 name: 'Logstash Process Open File descriptors' type: TRAP key: logstash.process.open_file_descriptors delay: '0' history: 30d tags: - tag: Application value: 'Logstash Process File Descriptors' - uuid: b34da34410e24890b35dd5a4fc26718b name: 'Logstash Process Peak File descriptors' type: TRAP key: logstash.process.peak_open_file_descriptors delay: '0' history: 30d tags: - tag: Application value: 'Logstash Process File Descriptors' - uuid: 68202307af70476dabbdbedfe6448431 name: 'Logstash zabbix script version' type: TRAP key: logstash.zbx_version delay: '0' history: 15d trends: '0' value_type: TEXT tags: - tag: Application value: Logstash triggers: - uuid: 45a13eef9de54102ba7ebb082c2c98d1 expression: 'nodata(/App Logstash/logstash.zbx_version,10m)=1' recovery_mode: RECOVERY_EXPRESSION recovery_expression: 'nodata(/App Logstash/logstash.zbx_version,1m)<>1' name: 'Logstash heartbeat' priority: WARNING - uuid: 885560113a3348d3a83897803cf09dbd expression: 'find(/App Logstash/logstash.zbx_version,,"regexp","0.0.1")=0' name: 'Logstash Template and Script version mismatched' priority: INFO discovery_rules: - uuid: 02bcf2252dc6437ba7e10e0a213bb6a7 name: 'Logstash discovery' type: TRAP key: logstash.node.discovery delay: '0' filter: conditions: - macro: '{#NODENAME}' value: '.*' formulaid: A lifetime: 3d macros: - macro: '{$ZBX_TPL_VERSION}' value: 0.0.1