zabbix_export:
  version: '6.0'
  date: '2025-02-25T15:29:42Z'
  groups:
    - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6
      name: Templates/Applications
  templates:
    - uuid: 353fe05d7a124e0ca11f940def73cd1b
      template: 'WNAM Server by http'
      name: 'WNAM Server by http'
      groups:
        - name: Templates/Applications
      items:
        - uuid: 5083c214e32944e8a5334d872bfcb724
          name: 'Активных точек доступа'
          type: DEPENDENT
          key: wnam_activeAccessPoints
          delay: '0'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.statistic.activeAccessPoints
          master_item:
            key: wnam_get_statistic
          tags:
            - tag: Application
              value: WNAMServer
        - uuid: a3688efd1ccc424181728a90abb7fca8
          name: 'Количество активных пользователей'
          type: DEPENDENT
          key: wnam_active_customerCount
          delay: '0'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.statistic.activeCustomerCount
          master_item:
            key: wnam_get_statistic
          tags:
            - tag: Application
              value: WNAMServer
        - uuid: 1467427130094287b448287e85f88a40
          name: 'Количество сесий'
          type: DEPENDENT
          key: wnam_active_sessionCount
          delay: '0'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.statistic.sessionCount
          master_item:
            key: wnam_get_statistic
          tags:
            - tag: Application
              value: WNAMServer
        - uuid: f82217cc7f704a81842cdbf6c2d673b2
          name: 'Количество пользователей'
          type: DEPENDENT
          key: wnam_customerCount
          delay: '0'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.statistic.customerCount
          master_item:
            key: wnam_get_statistic
          tags:
            - tag: Application
              value: WNAMServer
        - uuid: bc867c958b404bf690cc6b6293114640
          name: 'Количество подключенных доменов AD/FreeIPA'
          type: DEPENDENT
          key: wnam_domainCount
          delay: '0'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.statistic.domainCount
          master_item:
            key: wnam_get_statistic
          tags:
            - tag: Application
              value: WNAMServer
        - uuid: 684b0d3ad4c54808921c8011780de47f
          name: 'Получение статистики'
          type: HTTP_AGENT
          key: wnam_get_statistic
          delay: 5m
          trends: '0'
          value_type: TEXT
          url: 'http://{HOST.CONN}/api/statistic?json'
          tags:
            - tag: Application
              value: WNAMServer
          triggers:
            - uuid: 2412614d272c497aaec139677682ffac
              expression: 'nodata(/WNAM Server by http/wnam_get_statistic,10m)=1'
              name: 'WNAM service down'
              priority: HIGH
        - uuid: a2b9054ef91b4b9aba6265fb53698af4
          name: 'Коэфициент авторизации через смс'
          type: CALCULATED
          key: wnam_k_sms
          delay: 5m
          value_type: FLOAT
          params: '(max(//wnam_smsCountV,1h)-min(//wnam_smsCountV,1h)+1)/(max(//wnam_smsCountS,1h)-min(//wnam_smsCountS,1h)+1)'
          tags:
            - tag: Application
              value: WNAMServer
            - tag: sms
        - uuid: fb46f5c71cfc4a488b047211064baefb
          name: 'Количество активных коннекторов LDAP'
          type: DEPENDENT
          key: wnam_ldapConnectorsCount
          delay: '0'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.statistic.ldapConnectorsCount
          master_item:
            key: wnam_get_statistic
          tags:
            - tag: Application
              value: WNAMServer
        - uuid: 14c50512e1fd4d4c871502b1fedac98b
          name: 'Время работы mongo сервера'
          type: DEPENDENT
          key: wnam_mongoUptimeRaw
          delay: '0'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.statistic.mongoUptimeRaw
          master_item:
            key: wnam_get_statistic
          tags:
            - tag: Application
              value: WNAMServer
        - uuid: 930ae6a27e76488babbe88d3b6ac1956
          name: 'Количество активных коннекторов NTLM'
          type: DEPENDENT
          key: wnam_ntlmConnectorsCount
          delay: '0'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.statistic.ntlmConnectorsCount
          master_item:
            key: wnam_get_statistic
          tags:
            - tag: Application
              value: WNAMServer
        - uuid: 894849d3d36a4b29976476414509c653
          name: 'Время ответа RADIUS сервера'
          type: DEPENDENT
          key: wnam_radiusResponseRaw
          delay: '0'
          value_type: FLOAT
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.statistic.radiusResponseRaw
          master_item:
            key: wnam_get_statistic
          tags:
            - tag: Application
              value: WNAMServer
        - uuid: 94bfdab85a6a4f7f9e0d0e137b580ebe
          name: 'Количество серверов доступа'
          type: DEPENDENT
          key: wnam_serverCount
          delay: '0'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.statistic.serverCount
          master_item:
            key: wnam_get_statistic
          tags:
            - tag: Application
              value: WNAMServer
        - uuid: 4088f04f3b9e48ecbffcb908c2412179
          name: 'Количество площадок'
          type: DEPENDENT
          key: wnam_siteCount
          delay: '0'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.statistic.siteCount
          master_item:
            key: wnam_get_statistic
          tags:
            - tag: Application
              value: WNAMServer
        - uuid: 7d6ded9c24a2436b9fd25a918cd62cc8
          name: 'SMS отправлено'
          type: DEPENDENT
          key: wnam_smsCountS
          delay: '0'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.statistic.smsCountS
          master_item:
            key: wnam_get_statistic
          tags:
            - tag: Application
              value: WNAMServer
            - tag: sms
        - uuid: a2000e9b6b984124ae9a7f3764949f0c
          name: 'SMS авторизовано'
          type: DEPENDENT
          key: wnam_smsCountV
          delay: '0'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.statistic.smsCountV
          master_item:
            key: wnam_get_statistic
          tags:
            - tag: Application
              value: WNAMServer
            - tag: sms
        - uuid: 2458ad3ea0c44943b6a25ac75293ed1a
          name: 'Время работы сервера'
          type: DEPENDENT
          key: wnam_uptimeRaw
          delay: '0'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.statistic.uptimeRaw
          master_item:
            key: wnam_get_statistic
          tags:
            - tag: Application
              value: WNAMServer
      dashboards:
        - uuid: 3a770adc9082410ba7f5f0542761dbbd
          name: 'Статистика сервера WNAM'
          pages:
            - widgets:
                - type: ITEM
                  width: '3'
                  hide_header: 'YES'
                  fields:
                    - type: INTEGER
                      name: adv_conf
                      value: '1'
                    - type: INTEGER
                      name: decimal_places
                      value: '0'
                    - type: INTEGER
                      name: decimal_size
                      value: '15'
                    - type: ITEM
                      name: itemid
                      value:
                        host: 'WNAM Server by http'
                        key: wnam_uptimeRaw
                    - type: INTEGER
                      name: show
                      value: '1'
                    - type: INTEGER
                      name: show
                      value: '2'
                    - type: STRING
                      name: units
                      value: uptime
                    - type: INTEGER
                      name: units_bold
                      value: '0'
                    - type: INTEGER
                      name: value_size
                      value: '30'
                - type: ITEM
                  'y': '2'
                  width: '3'
                  hide_header: 'YES'
                  fields:
                    - type: INTEGER
                      name: adv_conf
                      value: '1'
                    - type: INTEGER
                      name: decimal_places
                      value: '0'
                    - type: INTEGER
                      name: decimal_size
                      value: '15'
                    - type: ITEM
                      name: itemid
                      value:
                        host: 'WNAM Server by http'
                        key: wnam_activeAccessPoints
                    - type: INTEGER
                      name: show
                      value: '1'
                    - type: INTEGER
                      name: show
                      value: '2'
                    - type: STRING
                      name: units
                      value: '!шт'
                    - type: INTEGER
                      name: units_bold
                      value: '0'
                    - type: INTEGER
                      name: units_size
                      value: '25'
                    - type: INTEGER
                      name: value_size
                      value: '30'
                - type: GRAPH_CLASSIC
                  'y': '4'
                  width: '12'
                  height: '6'
                  fields:
                    - type: GRAPH
                      name: graphid
                      value:
                        host: 'WNAM Server by http'
                        name: Пользователи
                - type: ITEM
                  x: '3'
                  width: '3'
                  hide_header: 'YES'
                  fields:
                    - type: INTEGER
                      name: adv_conf
                      value: '1'
                    - type: INTEGER
                      name: decimal_places
                      value: '0'
                    - type: INTEGER
                      name: decimal_size
                      value: '15'
                    - type: STRING
                      name: description
                      value: 'Время работы mongo'
                    - type: ITEM
                      name: itemid
                      value:
                        host: 'WNAM Server by http'
                        key: wnam_mongoUptimeRaw
                    - type: INTEGER
                      name: show
                      value: '1'
                    - type: INTEGER
                      name: show
                      value: '2'
                    - type: STRING
                      name: units
                      value: uptime
                    - type: INTEGER
                      name: units_bold
                      value: '0'
                    - type: INTEGER
                      name: value_size
                      value: '30'
                - type: ITEM
                  x: '3'
                  'y': '2'
                  width: '3'
                  hide_header: 'YES'
                  fields:
                    - type: INTEGER
                      name: adv_conf
                      value: '1'
                    - type: INTEGER
                      name: decimal_places
                      value: '0'
                    - type: INTEGER
                      name: decimal_size
                      value: '15'
                    - type: ITEM
                      name: itemid
                      value:
                        host: 'WNAM Server by http'
                        key: wnam_active_sessionCount
                    - type: INTEGER
                      name: show
                      value: '1'
                    - type: INTEGER
                      name: show
                      value: '2'
                    - type: STRING
                      name: units
                      value: '!шт'
                    - type: INTEGER
                      name: units_bold
                      value: '0'
                    - type: INTEGER
                      name: units_size
                      value: '25'
                    - type: INTEGER
                      name: value_size
                      value: '30'
                - type: ITEM
                  x: '6'
                  width: '3'
                  hide_header: 'YES'
                  fields:
                    - type: INTEGER
                      name: adv_conf
                      value: '1'
                    - type: INTEGER
                      name: decimal_places
                      value: '0'
                    - type: INTEGER
                      name: decimal_size
                      value: '25'
                    - type: STRING
                      name: description
                      value: 'Количество NAS'
                    - type: ITEM
                      name: itemid
                      value:
                        host: 'WNAM Server by http'
                        key: wnam_serverCount
                    - type: INTEGER
                      name: show
                      value: '1'
                    - type: INTEGER
                      name: show
                      value: '2'
                    - type: STRING
                      name: units
                      value: '!шт'
                    - type: INTEGER
                      name: units_bold
                      value: '0'
                    - type: INTEGER
                      name: units_size
                      value: '25'
                    - type: INTEGER
                      name: value_size
                      value: '35'
                - type: ITEM
                  x: '6'
                  'y': '2'
                  width: '3'
                  hide_header: 'YES'
                  fields:
                    - type: INTEGER
                      name: adv_conf
                      value: '1'
                    - type: INTEGER
                      name: decimal_size
                      value: '15'
                    - type: STRING
                      name: description
                      value: |
                        Коэффициент авторизации
                        через sms
                    - type: ITEM
                      name: itemid
                      value:
                        host: 'WNAM Server by http'
                        key: wnam_k_sms
                    - type: INTEGER
                      name: show
                      value: '1'
                    - type: INTEGER
                      name: show
                      value: '2'
                    - type: INTEGER
                      name: units_bold
                      value: '0'
                    - type: INTEGER
                      name: units_show
                      value: '0'
                    - type: INTEGER
                      name: value_size
                      value: '30'
                - type: ITEM
                  x: '9'
                  width: '3'
                  hide_header: 'YES'
                  fields:
                    - type: INTEGER
                      name: adv_conf
                      value: '1'
                    - type: INTEGER
                      name: decimal_places
                      value: '0'
                    - type: INTEGER
                      name: decimal_size
                      value: '25'
                    - type: ITEM
                      name: itemid
                      value:
                        host: 'WNAM Server by http'
                        key: wnam_siteCount
                    - type: INTEGER
                      name: show
                      value: '1'
                    - type: INTEGER
                      name: show
                      value: '2'
                    - type: STRING
                      name: units
                      value: '!шт'
                    - type: INTEGER
                      name: units_bold
                      value: '0'
                    - type: INTEGER
                      name: units_size
                      value: '25'
                    - type: INTEGER
                      name: value_size
                      value: '30'
                - type: ITEM
                  x: '9'
                  'y': '2'
                  width: '3'
                  hide_header: 'YES'
                  fields:
                    - type: INTEGER
                      name: adv_conf
                      value: '1'
                    - type: INTEGER
                      name: decimal_places
                      value: '0'
                    - type: INTEGER
                      name: decimal_size
                      value: '15'
                    - type: STRING
                      name: description
                      value: |
                        Количество активных
                        пользователей
                    - type: ITEM
                      name: itemid
                      value:
                        host: 'WNAM Server by http'
                        key: wnam_active_customerCount
                    - type: INTEGER
                      name: show
                      value: '1'
                    - type: INTEGER
                      name: show
                      value: '2'
                    - type: STRING
                      name: units
                      value: '!шт'
                    - type: INTEGER
                      name: units_bold
                      value: '0'
                    - type: INTEGER
                      name: units_size
                      value: '25'
                    - type: INTEGER
                      name: value_size
                      value: '30'
                - type: GRAPH_CLASSIC
                  x: '12'
                  width: '12'
                  height: '4'
                  fields:
                    - type: GRAPH
                      name: graphid
                      value:
                        host: 'WNAM Server by http'
                        name: 'Время ответа RADIUS сервера'
                - type: GRAPH_CLASSIC
                  x: '12'
                  'y': '4'
                  width: '12'
                  height: '6'
                  fields:
                    - type: GRAPH
                      name: graphid
                      value:
                        host: 'WNAM Server by http'
                        name: 'Обработка sms'
  graphs:
    - uuid: 641eface04bb4ba2857b47f731f719af
      name: 'Время ответа RADIUS сервера'
      graph_items:
        - color: 1A7C11
          calc_fnc: ALL
          item:
            host: 'WNAM Server by http'
            key: wnam_radiusResponseRaw
    - uuid: 5bc1702701854bbc9b67cf4b7f467236
      name: 'Обработка sms'
      graph_items:
        - color: 1A7C11
          calc_fnc: ALL
          item:
            host: 'WNAM Server by http'
            key: wnam_smsCountV
        - sortorder: '1'
          color: '274482'
          yaxisside: RIGHT
          calc_fnc: ALL
          item:
            host: 'WNAM Server by http'
            key: wnam_smsCountS
    - uuid: 85249c0195d140c994c95499d6c73bf4
      name: Пользователи
      graph_items:
        - color: 1A7C11
          calc_fnc: ALL
          item:
            host: 'WNAM Server by http'
            key: wnam_active_customerCount
        - sortorder: '1'
          color: '274482'
          yaxisside: RIGHT
          calc_fnc: ALL
          item:
            host: 'WNAM Server by http'
            key: wnam_customerCount
