ncc.zabbix_templates

Yohn Y. 2023-12-09 Parent:d9c6b29affc6 Child:2f44c629bc15

16:0caa9b17e6f5 Browse Files

+ Контроль версии для Linux * Увеличиваем интервал проверки связности для сайтов. Проверка была черезмерно интенсивоной

HTTP/zbx_export_templates.yaml Linux.common/res/zabbix_agent_config/aw_linux_mon.conf Linux.common/zbx_export_templates.yaml

     1.1 --- a/HTTP/zbx_export_templates.yaml	Sat Dec 09 12:55:01 2023 +0300
     1.2 +++ b/HTTP/zbx_export_templates.yaml	Sat Dec 09 14:06:19 2023 +0300
     1.3 @@ -1,6 +1,6 @@
     1.4  zabbix_export:
     1.5    version: '6.0'
     1.6 -  date: '2023-09-30T19:28:07Z'
     1.7 +  date: '2023-12-09T11:04:11Z'
     1.8    groups:
     1.9      - uuid: 22941f4e01294888a9bed3aae15f6ef9
    1.10        name: Templates/AWNET
    1.11 @@ -8,6 +8,7 @@
    1.12      - uuid: c40bb45aea654661ad8d08af056cc7fd
    1.13        template: 'Monitoring HTTP AWNET'
    1.14        name: 'Мониторинг HTTP AWNET'
    1.15 +      description: 'Версия: v0.r202312.1'
    1.16        groups:
    1.17          - name: Templates/AWNET
    1.18        items:
    1.19 @@ -15,6 +16,7 @@
    1.20            name: 'Потеря пакетов'
    1.21            type: SIMPLE
    1.22            key: 'icmppingloss["{HOST.CONN}",100,700,1000,5000]'
    1.23 +          delay: 3m
    1.24            value_type: FLOAT
    1.25            tags:
    1.26              - tag: Application
    1.27 @@ -142,6 +144,7 @@
    1.28      - uuid: 0f6efdd37f094f65bf3c53fd6f1f551c
    1.29        template: 'Monitoring HTTP AWNET - PHP'
    1.30        name: 'Мониторинг HTTP AWNET - PHP'
    1.31 +      description: 'Версия: v0.r202312.1'
    1.32        templates:
    1.33          - name: 'Monitoring HTTP AWNET'
    1.34        groups:
     2.1 --- a/Linux.common/res/zabbix_agent_config/aw_linux_mon.conf	Sat Dec 09 12:55:01 2023 +0300
     2.2 +++ b/Linux.common/res/zabbix_agent_config/aw_linux_mon.conf	Sat Dec 09 14:06:19 2023 +0300
     2.3 @@ -1,3 +1,5 @@
     2.4 +# devel.a0fs.ru -- ncc.mon.linux.common:agent/aw_linux_mon.conf -- v0.r202312.1
     2.5  Timeout=30
     2.6  UserParameter=aw.linux.apt.updatable,sudo apt list --upgradable
     2.7 -UserParameter=aw.linux.journalctl[*],sudo journalctl -p err -S "$1 minutes ago"
     2.8 \ No newline at end of file
     2.9 +UserParameter=aw.linux.journalctl[*],sudo journalctl -p err -S "$1 minutes ago"
    2.10 +UserParameter=aw.linux.version,/usr/bin/lsb_release -sd
     3.1 --- a/Linux.common/zbx_export_templates.yaml	Sat Dec 09 12:55:01 2023 +0300
     3.2 +++ b/Linux.common/zbx_export_templates.yaml	Sat Dec 09 14:06:19 2023 +0300
     3.3 @@ -1,6 +1,6 @@
     3.4  zabbix_export:
     3.5    version: '6.0'
     3.6 -  date: '2023-12-02T09:43:45Z'
     3.7 +  date: '2023-12-09T10:22:25Z'
     3.8    groups:
     3.9      - uuid: 22941f4e01294888a9bed3aae15f6ef9
    3.10        name: Templates/AWNET
    3.11 @@ -8,6 +8,7 @@
    3.12      - uuid: d9ed1ecc0bc14cafb7fcbd309ad9a944
    3.13        template: 'AWNET Linux Template'
    3.14        name: 'AWNET Linux Template'
    3.15 +      description: 'Версия: v0.r202312.1'
    3.16        groups:
    3.17          - name: Templates/AWNET
    3.18        items:
    3.19 @@ -123,3 +124,12 @@
    3.20                name: 'Ошибки в системном журнале'
    3.21                opdata: '{ITEM.VALUE}'
    3.22                priority: WARNING
    3.23 +        - uuid: a7879de7638a4333993b90f0db757619
    3.24 +          name: 'Версия ОС'
    3.25 +          key: aw.linux.version
    3.26 +          trends: '0'
    3.27 +          value_type: TEXT
    3.28 +          preprocessing:
    3.29 +            - type: DISCARD_UNCHANGED
    3.30 +              parameters:
    3.31 +                - ''