Files
zabbix-templates/app/t2med/template_app_t2med_active.yaml
T

171 lines
6.3 KiB
YAML
Raw Normal View History

2026-03-10 19:18:38 +01:00
zabbix_export:
version: '7.0'
template_groups:
- uuid: cd6848345eb04289b2d5260c10e0d269
name: devloop
- uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6
name: Templates/Applications
templates:
- uuid: b4f713883e6f4b8fb9d54e751551a441
template: 'Template App T2MED by Zabbix agent active'
name: 'Template App T2MED by Zabbix agent active'
vendor:
name: devloop
version: '1.0'
groups:
- name: devloop
- name: Templates/Applications
items:
- uuid: 11214746ee3449b690f68bce8c36a6a0
name: 'T2MED MDNS Port'
type: ZABBIX_ACTIVE
key: 'net.udp.listen[5353]'
delay: 10m
history: 90d
tags:
- tag: Application
value: T2MED
- tag: ApplicationType
value: Medical
triggers:
- uuid: df374da0ab904fec899569268b592866
expression: 'max(/Template App T2MED by Zabbix agent active/net.udp.listen[5353],30m)<>1'
name: 'T2MED MDNS Port unavailable'
priority: INFO
- uuid: a5234a306d204033b0f6ce432f41e7d7
name: 'T2MED Java APS Process Count'
type: ZABBIX_ACTIVE
key: 'proc.num[java,,,aps.jar]'
history: 90d
tags:
- tag: Application
value: T2MED
- tag: ApplicationType
value: Medical
triggers:
- uuid: 6b518fdbbb294ddebcbce00ca22d29c7
expression: 'last(/Template App T2MED by Zabbix agent active/proc.num[java,,,aps.jar])<1'
name: 'T2MED Java APS Process not available'
priority: DISASTER
- uuid: bd6da87b7fc3413bbc194754df01a42c
name: 'T2MED Java CDN Process Count'
type: ZABBIX_ACTIVE
key: 'proc.num[java,,,cdn.jar]'
history: 90d
tags:
- tag: Application
value: T2MED
- tag: ApplicationType
value: Medical
triggers:
- uuid: ccae819ec5b2440d87672b8b5bb58e90
expression: 'last(/Template App T2MED by Zabbix agent active/proc.num[java,,,cdn.jar])<1'
name: 'T2MED Java CDN Process not available'
priority: DISASTER
- uuid: 542fd3297e8b4882bf6e5d0cb7885881
name: 'T2MED Java IMPFDOC Process Count'
type: ZABBIX_ACTIVE
key: 'proc.num[java,,,impfdoc-server.war]'
history: 90d
tags:
- tag: Application
value: T2MED
- tag: ApplicationType
value: Medical
triggers:
- uuid: 3dc6fa6b2d5c4b769ca1543216b69835
expression: 'last(/Template App T2MED by Zabbix agent active/proc.num[java,,,impfdoc-server.war])<1'
name: 'T2MED Java IMPFDOC Process not available'
priority: DISASTER
- uuid: ed9aff13df31485c9f42ae24e3053461
name: 'T2MED Java AMTS Process Count'
type: ZABBIX_ACTIVE
key: 'proc.num[java,,,mmi-amts.jar]'
history: 90d
tags:
- tag: Application
value: T2MED
- tag: ApplicationType
value: Medical
triggers:
- uuid: 0907642a93184e3e9a27842db87bb771
expression: 'last(/Template App T2MED by Zabbix agent active/proc.num[java,,,mmi-amts.jar])<1'
name: 'T2MED Java AMTS Process not available'
priority: DISASTER
- uuid: d33f4746a9b84eb4825c2822a19700a1
name: 'T2MED Java MMI Process Count'
type: ZABBIX_ACTIVE
key: 'proc.num[java,,,mmi-pharmindex-pro-server.jar]'
history: 90d
tags:
- tag: Application
value: T2MED
- tag: ApplicationType
value: Medical
triggers:
- uuid: 4a9c540eba794114b537cee201a1388f
expression: 'last(/Template App T2MED by Zabbix agent active/proc.num[java,,,mmi-pharmindex-pro-server.jar])<1'
name: 'T2MED Java MMI Process not available'
priority: DISASTER
- uuid: d346017b1fbd402c96a42a20518b3ef3
name: 'T2MED mariadbd Process Count'
type: ZABBIX_ACTIVE
key: 'proc.num[mariadbd]'
history: 90d
tags:
- tag: Application
value: T2MED
- tag: ApplicationType
value: Medical
- uuid: 5a95d8d70e894b92a3d7831cb64dbfdf
name: 'T2MED postgres Process Count'
type: ZABBIX_ACTIVE
key: 'proc.num[postgres]'
history: 90d
tags:
- tag: Application
value: T2MED
- tag: ApplicationType
value: Medical
- uuid: a79ddb6e2de645949db058bbf211a6ca
name: 'T2MED internal Backup Log File 24h'
type: ZABBIX_ACTIVE
key: 'vfs.dir.get[{$T2MED.BACKUP.DIR},,,file,,0,100K,,,24h,]'
delay: 4h
history: 90d
preprocessing:
- type: JSONPATH
parameters:
- '$[0].basename'
error_handler: CUSTOM_VALUE
error_handler_params: '0'
- type: REGEX
parameters:
- '^[0-9]{4}-[0-9]{2}-[0-9]{2}_[0-9]{2}[0-9]{2}[0-9]{2}_OK.log'
- '1'
error_handler: CUSTOM_VALUE
error_handler_params: '0'
tags:
- tag: Application
value: T2MED
- tag: ApplicationType
value: Medical
triggers:
- uuid: 036643bad4704cb0b15c70291a35a26b
expression: 'last(/Template App T2MED by Zabbix agent active/vfs.dir.get[{$T2MED.BACKUP.DIR},,,file,,0,100K,,,24h,],#2)<>1'
name: 'T2MED internal Backup Failed'
priority: AVERAGE
tags:
- tag: Application
value: T2MED
- tag: ApplicationType
value: Medical
macros:
- macro: '{$T2MED.BACKUP.DIR}'
value: /mnt/backup/backups
triggers:
- uuid: b84b1546d8da4633b6e2a15b57e6a5a4
expression: 'last(/Template App T2MED by Zabbix agent active/proc.num[mariadbd])<>1 or last(/Template App T2MED by Zabbix agent active/proc.num[postgres])<20'
name: 'T2MED Database Processes unavailable'
priority: DISASTER