ncc.zabbix_templates
ncc.zabbix_templates/FreeBSD.common/zbx_export_templates.yaml
* Исправляем не работающий мониторинг логов ошибок
1.1 --- a/FreeBSD.common/zbx_export_templates.yaml Fri Oct 13 22:46:09 2023 +0300 1.2 +++ b/FreeBSD.common/zbx_export_templates.yaml Sun Oct 15 23:20:17 2023 +0300 1.3 @@ -1,6 +1,6 @@ 1.4 zabbix_export: 1.5 version: '6.0' 1.6 - date: '2023-09-30T19:25:24Z' 1.7 + date: '2023-10-15T20:18:04Z' 1.8 groups: 1.9 - uuid: 22941f4e01294888a9bed3aae15f6ef9 1.10 name: Templates/AWNET 1.11 @@ -39,7 +39,7 @@ 1.12 - uuid: 21140a98f99b4eadb62a632adc76fcf0 1.13 name: 'Ошибки в системном журнале' 1.14 type: ZABBIX_ACTIVE 1.15 - key: 'logrt["/var/log/warning_msg\.log","@FreeBSD syslog file warning filter",uft-8]' 1.16 + key: 'logrt["/var/log/warning_msg\.log$","@FreeBSD syslog file warning filter",uft-8]' 1.17 trends: '0' 1.18 value_type: LOG 1.19 tags: 1.20 @@ -47,7 +47,7 @@ 1.21 value: 'Системный журнал' 1.22 triggers: 1.23 - uuid: a9049f62969a465ca9e7dcaa5de8a988 1.24 - expression: 'nodata(/AWNET FreeBSD Template/logrt["/var/log/warning_msg\.log","@FreeBSD syslog file warning filter",uft-8],2m)=0' 1.25 + expression: 'nodata(/AWNET FreeBSD Template/logrt["/var/log/warning_msg\.log$","@FreeBSD syslog file warning filter",uft-8],2m)=0' 1.26 name: 'Ошибки в системном журнале' 1.27 opdata: '{ITEM.VALUE}' 1.28 priority: WARNING