zabbix_export:
  version: '6.0'
  date: '2023-06-09T19:41:54Z'
  groups:
    -
      uuid: 7df96b18c230490a9a0a9e2307226338
      name: Templates
  templates:
    -
      uuid: 3133c7b604ad4c89b1bd91b4b3b69632
      template: 'MT4 Template senhasegura'
      name: 'MT4 Template senhasegura'
      groups:
        -
          name: Templates
      items:
        -
          uuid: bf3d2006ac234662afc980fb47aee75e
          name: 'Host name of Zabbix agent running'
          key: agent.hostname
          delay: 1h
          history: 7d
          trends: '0'
          value_type: CHAR
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          tags:
            -
              tag: Application
              value: 'Monitoring agent'
        -
          uuid: 9279800847654848a9bdd38f4fa52f81
          name: 'Zabbix agent ping'
          key: agent.ping
          history: 7d
          description: 'The agent always returns 1 for this item. It could be used in combination with nodata() for availability check.'
          valuemap:
            name: 'Zabbix agent ping status'
          tags:
            -
              tag: Application
              value: 'Monitoring agent'
        -
          uuid: 09252d860ab14dea9856132aff0b6514
          name: 'Version of Zabbix agent running'
          key: agent.version
          delay: 1h
          history: 7d
          trends: '0'
          value_type: CHAR
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          tags:
            -
              tag: Application
              value: 'Monitoring agent'
        -
          uuid: fe77e1ac0e7f47298bf177a2c4944ded
          name: 'Maximum number of open file descriptors'
          key: kernel.maxfiles
          delay: 1h
          history: 7d
          description: 'It could be increased by using sysctrl utility or modifying file /etc/sysctl.conf.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          tags:
            -
              tag: Application
              value: General
          triggers:
            -
              uuid: b251af241df1414ebc4318956700ac02
              expression: 'last(/MT4 Template senhasegura/kernel.maxfiles)<{$KERNEL.MAXFILES.MIN}'
              name: 'Configured max number of open filedescriptors is too low (< {$KERNEL.MAXFILES.MIN})'
              priority: INFO
        -
          uuid: 76faf0d0c99345129ec1cb7bd7512d0f
          name: 'Maximum number of processes'
          key: kernel.maxproc
          delay: 1h
          history: 7d
          description: 'It could be increased by using sysctrl utility or modifying file /etc/sysctl.conf.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          tags:
            -
              tag: Application
              value: General
          triggers:
            -
              uuid: 7ba9ccc832f14df8a1125a72519feea4
              expression: 'last(/MT4 Template senhasegura/kernel.maxproc)<{$KERNEL.MAXPROC.MIN}'
              name: 'Configured max number of processes is too low (< {$KERNEL.MAXPROC.MIN})'
              priority: INFO
              dependencies:
                -
                  name: 'Getting closer to process limit (over 80% used)'
                  expression: 'last(/MT4 Template senhasegura/proc.num)/last(/MT4 Template senhasegura/kernel.maxproc)*100>80'
        -
          uuid: a48b335542e147f4a42d8b5a3526e95e
          name: 'Connections: Aborted clients per second'
          type: DEPENDENT
          key: mysql.aborted_clients.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: 'The number of connections that were aborted because the client died without closing the connection properly.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Aborted_clients'']/field[@name=''Value'']/text()'
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: 6d9c0e52f895482f8678bc007ef65145
          name: 'Connections: Aborted connections per second'
          type: DEPENDENT
          key: mysql.aborted_connects.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: 'The number of failed attempts to connect to the MySQL server.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Aborted_connects'']/field[@name=''Value'']/text()'
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
          triggers:
            -
              uuid: c17202bf105f4766a981503e5af5e34a
              expression: 'min(/MT4 Template senhasegura/mysql.aborted_connects.rate,5m)>{$MYSQL.ABORTED_CONN.MAX.WARN}'
              name: 'MySQL: Server has aborted connections (over {$MYSQL.ABORTED_CONN.MAX.WARN} for 5m)'
              priority: AVERAGE
              description: "The number of failed attempts to connect to the MySQL server is more than\_{$MYSQL.ABORTED_CONN.MAX.WARN} in the last 5 minutes."
              dependencies:
                -
                  name: 'MySQL: Refused connections (max_connections limit reached)'
                  expression: 'last(/MT4 Template senhasegura/mysql.connection_errors_max_connections.rate)>0'
        -
          uuid: 6174ef19a7b14221b876948e0e2ce843
          name: 'Performance: Buffer pool efficiency'
          type: CALCULATED
          key: mysql.buffer_pool_efficiency
          history: 7d
          status: DISABLED
          value_type: FLOAT
          units: '%'
          params: 'last(//mysql.innodb_buffer_pool_reads) / ( last(//mysql.innodb_buffer_pool_read_requests) + ( last(//mysql.innodb_buffer_pool_read_requests) = 0 ) ) * 100 * ( last(//mysql.innodb_buffer_pool_read_requests) > 0 )'
          description: 'The item shows how effectively the buffer pool is serving reads.'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: 41c357c4e7314143985c10dd8ab5b91c
          name: 'Performance: Buffer pool utilization'
          type: CALCULATED
          key: mysql.buffer_pool_utilization
          history: 7d
          status: DISABLED
          value_type: FLOAT
          units: '%'
          params: '( last(//mysql.innodb_buffer_pool_pages_total) - last(//mysql.innodb_buffer_pool_pages_free) ) / ( last(//mysql.innodb_buffer_pool_pages_total) + ( last(//mysql.innodb_buffer_pool_pages_total) = 0 ) ) * 100 *( last(//mysql.innodb_buffer_pool_pages_total) > 0 )'
          description: 'Ratio of used to total pages in the buffer pool.'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: 63eb108faaeb49b6accd559aa7d9bc30
          name: 'Throughput: Bytes received'
          type: DEPENDENT
          key: mysql.bytes_received.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          units: Bps
          description: 'The number of bytes received from all clients.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Bytes_received'']/field[@name=''Value'']/text()'
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: f989ac57463b493ea03e10e370e76cd3
          name: 'Throughput: Bytes sent'
          type: DEPENDENT
          key: mysql.bytes_sent.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          units: Bps
          description: 'The number of bytes sent to all clients.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Bytes_sent'']/field[@name=''Value'']/text()'
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: d24706a0bddc4ddca488207c754f9e81
          name: 'Throughput: Command Delete per second'
          type: DEPENDENT
          key: mysql.com_delete.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: 'The Com_delete counter variable indicates the number of times the delete statement has been executed.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Com_delete'']/field[@name=''Value'']/text()'
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: bb1e903b1b0b402387236e520023b227
          name: 'Throughput: Command Insert per second'
          type: DEPENDENT
          key: mysql.com_insert.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: 'The Com_insert counter variable indicates the number of times the insert statement has been executed.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Com_insert'']/field[@name=''Value'']/text()'
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: 397af6475097457c872a37286f238352
          name: 'Throughput: Command Select per second'
          type: DEPENDENT
          key: mysql.com_select.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: 'The Com_select counter variable indicates the number of times the select statement has been executed.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Com_select'']/field[@name=''Value'']/text()'
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: 96103d26d192423eb3ecbab6bcac32fd
          name: 'Throughput: Command Update per second'
          type: DEPENDENT
          key: mysql.com_update.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: 'The Com_update counter variable indicates the number of times the update statement has been executed.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Com_update'']/field[@name=''Value'']/text()'
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: cf9bae75e6b9465f928e4df3ecc3b8e7
          name: 'Connections: Connections per second'
          type: DEPENDENT
          key: mysql.connections.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: 'The number of connection attempts (successful or not) to the MySQL server.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Connections'']/field[@name=''Value'']/text()'
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: e96d37a0950b4ac2a1fbccd03491565f
          name: 'Connections: Connection errors accept per second'
          type: DEPENDENT
          key: mysql.connection_errors_accept.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: 'Number of errors that occurred during calls to accept() on the listening port.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Connection_errors_accept'']/field[@name=''Value'']/text()'
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: e27b677813c448588d5cdf58d7c6d3e0
          name: 'Connections: Connection errors internal per second'
          type: DEPENDENT
          key: mysql.connection_errors_internal.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: 'Number of refused connections due to internal server errors, for example out of memory errors, or failed thread starts.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Connection_errors_internal'']/field[@name=''Value'']/text()'
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: fb1180b18ccc440d8c75f14a30fa4048
          name: 'Connections: Connection errors max connections per second'
          type: DEPENDENT
          key: mysql.connection_errors_max_connections.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: 'Number of refused connections due to the max_connections limit being reached.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Connection_errors_max_connections'']/field[@name=''Value'']/text()'
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
          triggers:
            -
              uuid: 5d4fbaaad08c487a8ccad42ed694247b
              expression: 'last(/MT4 Template senhasegura/mysql.connection_errors_max_connections.rate)>0'
              name: 'MySQL: Refused connections (max_connections limit reached)'
              priority: AVERAGE
              description: 'Number of refused connections due to the max_connections limit being reached.'
        -
          uuid: 2d7194238a204285a40d2f0c58c3ea97
          name: 'Connections: Connection errors peer address per second'
          type: DEPENDENT
          key: mysql.connection_errors_peer_address.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: 'Number of errors while searching for the connecting client IP address.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Connection_errors_peer_address'']/field[@name=''Value'']/text()'
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: bc8c19c94f5e42138d0d0a0854f334b0
          name: 'Connections: Connection errors select per second'
          type: DEPENDENT
          key: mysql.connection_errors_select.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: 'Number of errors during calls to select() or poll() on the listening port. The client would not necessarily have been rejected in these cases.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Connection_errors_select'']/field[@name=''Value'']/text()'
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: 6a5e6f42123f47bdb5068d7320c9d51c
          name: 'Connections: Connection errors tcpwrap per second'
          type: DEPENDENT
          key: mysql.connection_errors_tcpwrap.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: 'Number of connections the libwrap library refused.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Connection_errors_tcpwrap'']/field[@name=''Value'']/text()'
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: 187f08b7118344a49eefce039cc702ba
          name: 'Performance: Created tmp tables on disk'
          type: DEPENDENT
          key: mysql.created_tmp_disk_tables
          delay: '0'
          history: 7d
          description: 'The number of internal on-disk temporary tables created by the server while executing statements.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Created_tmp_disk_tables'']/field[@name=''Value'']/text()'
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: 8e0b5587285a4b7aa3ba0d1f770136f4
          name: 'Performance: Created tmp files on disk'
          type: DEPENDENT
          key: mysql.created_tmp_files
          delay: '0'
          history: 7d
          description: 'How many temporary files mysqld has created.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Created_tmp_files'']/field[@name=''Value'']/text()'
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: e6f691c6cd764b4ba7b35dbf40b9bf8b
          name: 'Performance: Created tmp tables on memory'
          type: DEPENDENT
          key: mysql.created_tmp_tables
          delay: '0'
          history: 7d
          description: 'The number of internal temporary tables created by the server while executing statements.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Created_tmp_tables'']/field[@name=''Value'']/text()'
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: f8e2b2c3b6004660be3169d4a0d1ea7c
          name: 'Availability: Get status variables'
          key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          history: 1h
          trends: '0'
          status: DISABLED
          value_type: TEXT
          description: 'The item gets server global status information.'
          tags:
            -
              tag: Application
              value: 'Zabbix raw items'
          triggers:
            -
              uuid: 318275ac71e14f04b362c2f53cf76b1e
              expression: 'nodata(/MT4 Template senhasegura/mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"],30m)=1'
              name: 'MySQL: Failed to get items (no data for 30m)'
              priority: WARNING
              description: 'Zabbix has not received data for items for the last 30 minutes.'
              dependencies:
                -
                  name: 'MySQL: Service is down'
                  expression: 'last(/MT4 Template senhasegura/mysql.ping["{$MYSQL.HOST}","{$MYSQL.PORT}"])=0'
        -
          uuid: 88df73aac8a54d2ab0a4255baf844f7f
          name: 'Performance: InnoDB buffer pool pages free'
          type: DEPENDENT
          key: mysql.innodb_buffer_pool_pages_free
          delay: '0'
          history: 7d
          description: 'The total size of the InnoDB buffer pool, in pages.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Innodb_buffer_pool_pages_free'']/field[@name=''Value'']/text()'
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: 901ac77716e84d508e8b465e43de4d8d
          name: 'Performance: InnoDB buffer pool pages total'
          type: DEPENDENT
          key: mysql.innodb_buffer_pool_pages_total
          delay: '0'
          history: 7d
          description: 'The total size of the InnoDB buffer pool, in pages.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Innodb_buffer_pool_pages_total'']/field[@name=''Value'']/text()'
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: 4545c6e3efa84e41b283a0d271467d5c
          name: 'Performance: InnoDB buffer pool reads'
          type: DEPENDENT
          key: mysql.innodb_buffer_pool_reads
          delay: '0'
          history: 7d
          description: 'The number of logical reads that InnoDB could not satisfy from the buffer pool, and had to read directly from disk.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Innodb_buffer_pool_reads'']/field[@name=''Value'']/text()'
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: 770aba91e9154471a4a6f2fb6508aef4
          name: 'Performance: InnoDB buffer pool read requests'
          type: DEPENDENT
          key: mysql.innodb_buffer_pool_read_requests
          delay: '0'
          history: 7d
          description: 'The number of logical read requests.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Innodb_buffer_pool_read_requests'']/field[@name=''Value'']/text()'
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: ed7a1e00e0b0461d988d66356ccc5824
          name: 'Performance: InnoDB row lock time'
          type: DEPENDENT
          key: mysql.innodb_row_lock_time
          delay: '0'
          history: 7d
          value_type: FLOAT
          units: s
          description: 'The total time spent in acquiring row locks for InnoDB tables, in milliseconds.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Innodb_row_lock_time'']/field[@name=''Value'']/text()'
            -
              type: MULTIPLIER
              parameters:
                - '0.001'
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: 4d8f6c8ae86b45c6a9aa8f5fa4eec697
          name: 'Performance: InnoDB row lock time max'
          type: DEPENDENT
          key: mysql.innodb_row_lock_time_max
          delay: '0'
          history: 7d
          value_type: FLOAT
          units: s
          description: 'The maximum time to acquire a row lock for InnoDB tables, in milliseconds.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Innodb_row_lock_time_max'']/field[@name=''Value'']/text()'
            -
              type: MULTIPLIER
              parameters:
                - '0.001'
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: 171595e54b7a4e3a99029362176d9cc6
          name: 'Performance: InnoDB row lock waits'
          type: DEPENDENT
          key: mysql.innodb_row_lock_waits
          delay: '0'
          history: 7d
          description: 'The number of times operations on InnoDB tables had to wait for a row lock.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Innodb_row_lock_waits'']/field[@name=''Value'']/text()'
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: 2369734829d8461b908439d83381f03b
          name: 'Connections: Max used connections'
          type: DEPENDENT
          key: mysql.max_used_connections
          delay: '0'
          history: 7d
          description: 'The maximum number of connections that have been in use simultaneously since the server started.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Max_used_connections'']/field[@name=''Value'']/text()'
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: d61e075e3e964dd483ae6a300dcac6c9
          name: 'Availability: MySQL status'
          key: 'mysql.ping["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          history: 7d
          status: DISABLED
          valuemap:
            name: 'Service state'
          preprocessing:
            -
              type: JAVASCRIPT
              parameters:
                - 'return value.search(/is alive/)>0?1:0'
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: Application
              value: MySQL
          triggers:
            -
              uuid: 3e70d799a7c6454db562009d912c8880
              expression: 'last(/MT4 Template senhasegura/mysql.ping["{$MYSQL.HOST}","{$MYSQL.PORT}"])=0'
              name: 'MySQL: Service is down'
              priority: HIGH
        -
          uuid: 1077821888d74668a0628fdecf213a9c
          name: 'Throughput: Queries per second'
          type: DEPENDENT
          key: mysql.queries.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: 'The number of statements executed by the server. This variable includes statements executed within stored programs, unlike the Questions variable.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Queries'']/field[@name=''Value'']/text()'
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: c4d56860cec84cdbbd9cfe4916e23647
          name: 'Throughput: Questions per second'
          type: DEPENDENT
          key: mysql.questions.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: 'The number of statements executed by the server. This includes only statements sent to the server by clients and not statements executed within stored programs, unlike the Queries variable.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Questions'']/field[@name=''Value'']/text()'
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: c288fc7251324509b08b899ae1cd25a9
          name: 'Performance: Slow queries per second'
          type: DEPENDENT
          key: mysql.slow_queries.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: 'The number of queries that have taken more than long_query_time seconds.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Slow_queries'']/field[@name=''Value'']/text()'
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
          triggers:
            -
              uuid: 6238e467706645debb4b287d12856d4b
              expression: 'min(/MT4 Template senhasegura/mysql.slow_queries.rate,5m)>{$MYSQL.SLOW_QUERIES.MAX.WARN}'
              name: 'MySQL: Server has slow queries (over {$MYSQL.SLOW_QUERIES.MAX.WARN} for 5m)'
              priority: WARNING
              description: "The number of slow queries is more than\_{$MYSQL.SLOW_QUERIES.MAX.WARN} in the last 5 minutes."
        -
          uuid: d6fb67dc793d400ea564dd059ecca713
          name: 'Connections: Threads cached'
          type: DEPENDENT
          key: mysql.threads_cached
          delay: '0'
          history: 7d
          description: 'The number of threads in the thread cache.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Threads_cached'']/field[@name=''Value'']/text()'
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: c41d1244a0254966b30375700bd53324
          name: 'Connections: Threads connected'
          type: DEPENDENT
          key: mysql.threads_connected
          delay: '0'
          history: 7d
          description: 'The number of currently open connections.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Threads_connected'']/field[@name=''Value'']/text()'
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: f3fb63b67ab34b4b8e5de6fa5e7b1e1c
          name: 'Connections: Threads created'
          type: DEPENDENT
          key: mysql.threads_created
          delay: '0'
          history: 7d
          description: 'The number of threads created to handle connections. If Threads_created is big, you may want to increase the thread_cache_size value. The cache miss rate can be calculated as Threads_created/Connections.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Threads_created'']/field[@name=''Value'']/text()'
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: 5013ce0d1e4744ab86a3a75b8667e6f6
          name: 'Connections: Threads running'
          type: DEPENDENT
          key: mysql.threads_running
          delay: '0'
          history: 7d
          description: 'The number of threads that are not sleeping.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Threads_running'']/field[@name=''Value'']/text()'
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
        -
          uuid: 6d43179ee9cf4b33b2f86236acd54f1d
          name: 'Info: Uptime'
          type: DEPENDENT
          key: mysql.uptime
          delay: '0'
          history: 7d
          units: uptime
          description: 'The number of seconds that the server has been up.'
          preprocessing:
            -
              type: XMLPATH
              parameters:
                - '/resultset/row[field/text()=''Uptime'']/field[@name=''Value'']/text()'
          master_item:
            key: 'mysql.get_status_variables["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          tags:
            -
              tag: Application
              value: MySQL
          triggers:
            -
              uuid: f29ab2cea1e94068a60c56cf8c9b579f
              expression: 'last(/MT4 Template senhasegura/mysql.uptime)<10m'
              name: 'MySQL: Service has been restarted (uptime < 10m)'
              priority: INFO
              description: 'MySQL uptime is less than 10 minutes.'
        -
          uuid: cfa0654afb69485daf08cf470ffdc038
          name: 'Info: MySQL version'
          key: 'mysql.version["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          delay: 15m
          history: 7d
          trends: '0'
          status: DISABLED
          value_type: CHAR
          preprocessing:
            -
              type: REGEX
              parameters:
                - '(Server version)\s+(.+)'
                - \2
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          tags:
            -
              tag: Application
              value: MySQL
          triggers:
            -
              uuid: 35d93d5b379e4127bc600de785aaf870
              expression: '(last(/MT4 Template senhasegura/mysql.version["{$MYSQL.HOST}","{$MYSQL.PORT}"],#1)<>last(/MT4 Template senhasegura/mysql.version["{$MYSQL.HOST}","{$MYSQL.PORT}"],#2))=1 and  length(last(/MT4 Template senhasegura/mysql.version["{$MYSQL.HOST}","{$MYSQL.PORT}"]))>0'
              name: 'MySQL: Version has changed (new version value received: {ITEM.VALUE})'
              priority: INFO
              description: 'MySQL version has changed. Ack to close.'
              manual_close: 'YES'
        -
          uuid: abbc15ab37984ef0ac4fd32ba179262b
          name: 'Listener do sshd'
          key: 'net.tcp.listen[22]'
          delay: 30s
          tags:
            -
              tag: Application
              value: sshd
          triggers:
            -
              uuid: 6ac896fe7e3e4e0fba86f238f2fe2ec2
              expression: 'last(/MT4 Template senhasegura/net.tcp.listen[22])=0'
              name: 'Listener do sshd não encontrado {HOST.NAME}'
              priority: HIGH
        -
          uuid: 776075315df74edc836c8b8c731f5c90
          name: 'Listener do MariaDB'
          key: 'net.tcp.listen[3306]'
          delay: '30'
          valuemap:
            name: 'Service state'
          tags:
            -
              tag: Application
              value: MariaDB
          triggers:
            -
              uuid: a281056b2afb4780b234d608826183f0
              expression: 'last(/MT4 Template senhasegura/net.tcp.listen[3306])=0'
              name: 'Listener do MariaDB não encontrado {HOST.NAME}'
              priority: HIGH
              description: 'O Listener do MariaDB não foi encontrado, isso significa que o processo de inicialização do MariaDB está em execução.'
              dependencies:
                -
                  name: 'MariaDB não está em execução em {HOST.NAME}'
                  expression: 'last(/MT4 Template senhasegura/proc.num[mysqld, mysql])=0'
        -
          uuid: e70be9883983405880ac30ce7e6efc9b
          name: 'Listener do XRDP'
          key: 'net.tcp.listen[3389]'
          delay: '30'
          valuemap:
            name: 'Service state'
          tags:
            -
              tag: Application
              value: XRDP
          triggers:
            -
              uuid: e9e69d0fee424182a6bd4829f1bf94fb
              expression: 'last(/MT4 Template senhasegura/net.tcp.listen[3389])=0'
              name: 'Listener do XRDP não encontrado {HOST.NAME}'
              priority: HIGH
              description: 'O Listener do XRDP não foi encontrado, conexões RDP com destino ao senhasegura não serão respondidas.'
              dependencies:
                -
                  name: 'MariaDB não está em execução em {HOST.NAME}'
                  expression: 'last(/MT4 Template senhasegura/proc.num[mysqld, mysql])=0'
        -
          uuid: 905472ac66c241719c080bfa2eac7d3f
          name: 'Listener do Guacamole'
          key: 'net.tcp.listen[4822]'
          delay: '120'
          valuemap:
            name: 'Service state'
          tags:
            -
              tag: Application
              value: Fajita
          triggers:
            -
              uuid: b6194bb6b0a54b48bed052a93adbd128
              expression: 'last(/MT4 Template senhasegura/net.tcp.listen[4822])=0'
              name: 'Listener do Guacamole não encontrado {HOST.NAME}'
              priority: DISASTER
              description: 'O Listener do Guacamole em localhost não foi encontrado.'
        -
          uuid: 3e78f1641fe84c6ab146dcb32dbd4675
          name: 'Listener do Tomcat'
          key: 'net.tcp.listen[8080]'
          delay: 30s
          tags:
            -
              tag: Application
              value: Tomcat
          triggers:
            -
              uuid: 4e61c2798be74f8e8348ba1f4cc5cace
              expression: 'last(/MT4 Template senhasegura/net.tcp.listen[8080])=0'
              name: 'Listener do Tomcat não encontrado {HOST.NAME}'
              priority: HIGH
        -
          uuid: a50cba6cefc740329c803e5fd53b0f21
          name: 'Conexão HTTPS em localhost'
          key: 'net.tcp.service[https,127.0.0.1]'
          delay: '50'
          history: 30d
          trends: 90d
          valuemap:
            name: 'Service state'
          tags:
            -
              tag: Application
              value: Nginx
          triggers:
            -
              uuid: 2325b9238d3147f89e6eab3e23417ffb
              expression: 'last(/MT4 Template senhasegura/net.tcp.service[https,127.0.0.1])=0'
              name: 'Não foi possível validar a conexão HTTPS com {HOST.NAME}'
              priority: HIGH
              description: 'Não foi possível validar a resposta HTTPS de {HOST.NAME}, a consulta é realizada pelo zabbix-agent utilizando o endereço 127.0.0.1 na porta 443.'
              dependencies:
                -
                  name: 'Nginx não está em execução em {HOST.NAME}'
                  expression: 'last(/MT4 Template senhasegura/proc.num[nginx, root])=0'
        -
          uuid: 35b5b3d215704b54a3e44d5647d36ab1
          name: 'Number of processes'
          key: proc.num
          history: 7d
          tags:
            -
              tag: Application
              value: General
        -
          uuid: d7d738cb4c21466c94702baf5ff8b57f
          name: 'Processo do Docker'
          key: 'proc.num[,,,dockerd]'
          delay: '30'
          history: 30d
          trends: 90d
          valuemap:
            name: 'Service state'
          tags:
            -
              tag: Application
              value: PHP5-FPM
          triggers:
            -
              uuid: 605ec93d6dbd4a75bdb0b5096b952cbd
              expression: 'last(/MT4 Template senhasegura/proc.num[,,,dockerd])=0'
              name: 'Docker não está em execução em {HOST.NAME}'
              priority: DISASTER
              description: 'Não foram encontrados nenhum processo do guacamole (guacd) em execução.'
            -
              uuid: d67172a2ccc34316a9d37423bce05398
              expression: 'last(/MT4 Template senhasegura/proc.num[,,,dockerd])=0'
              name: 'PHP não está em execução em {HOST.NAME}'
              priority: DISASTER
              description: 'Não foi possível encontrar o processo do PHP5-FPM, execuções de códigos PHP através da página Web estão indisponíveis.'
        -
          uuid: d09ed110152546259c5864a3df1f72e4
          name: 'Processo do Elasticsearch'
          key: 'proc.num[,,,elasticsearch]'
          delay: '30'
          history: 30d
          trends: 90d
          valuemap:
            name: 'Service state'
          tags:
            -
              tag: Application
              value: PHP5-FPM
          triggers:
            -
              uuid: 31cb673b87964eb28ba27805297ab140
              expression: 'last(/MT4 Template senhasegura/proc.num[,,,elasticsearch])=0'
              name: 'Elasticsearch não está em execução em {HOST.NAME}'
              priority: DISASTER
              description: 'Não foram encontrados nenhum processo do guacamole (guacd) em execução.'
        -
          uuid: 5d27b76611df406cac00b3654255275e
          name: 'Processo do Tomcat'
          key: 'proc.num[,,,tomcat7]'
          delay: 30s
          tags:
            -
              tag: Application
              value: Tomcat
          triggers:
            -
              uuid: d51b4d1eb5e34577ad86e633c291050e
              expression: 'last(/MT4 Template senhasegura/proc.num[,,,tomcat7])=0'
              name: 'Tomcat não está em execução em {HOST.NAME}'
              priority: DISASTER
        -
          uuid: e0464ba7e0094b37ad3bda376372f4d8
          name: 'Number of running processes'
          key: 'proc.num[,,run]'
          history: 7d
          tags:
            -
              tag: Application
              value: General
        -
          uuid: 550ac1655a504bc3a8fa8efd34761a10
          name: 'Processos do CRON'
          key: 'proc.num[cron, root]'
          delay: '90'
          history: 30d
          trends: 90d
          valuemap:
            name: 'Service state'
          tags:
            -
              tag: Application
              value: CRON
          triggers:
            -
              uuid: c193c2ea30a84a4095d1fe71c6a44178
              expression: 'last(/MT4 Template senhasegura/proc.num[cron, root])=0'
              name: 'Nenhum processo do CRON ou originado do CRON encontrado em {HOST.NAME}'
              priority: HIGH
              description: 'Não foram encontrados processos do CRON (Main) e processos filhos (Robôs, etc) em execução no servidor {HOST.NAME}'
        -
          uuid: 7d30889aab9346d18b64d6c2c0ebe87a
          name: 'Processo do Guacamole'
          key: 'proc.num[guacd, fajita]'
          delay: '120'
          history: 30d
          trends: 90d
          valuemap:
            name: 'Service state'
          tags:
            -
              tag: Application
              value: Fajita
          triggers:
            -
              uuid: 3a8e5a7d3f634ad794ebeeb113e0f508
              expression: 'last(/MT4 Template senhasegura/proc.num[guacd, fajita])=0'
              name: 'Guacamole não está em execução em {HOST.NAME}'
              priority: DISASTER
              description: 'Não foram encontrados nenhum processo do guacamole (guacd) em execução.'
        -
          uuid: b55f7d6e83c84742ae609137c237656a
          name: 'Processo do MariaDB'
          key: 'proc.num[mysqld, mysql]'
          delay: '30'
          history: 30d
          trends: 90d
          valuemap:
            name: 'Service state'
          tags:
            -
              tag: Application
              value: MariaDB
          triggers:
            -
              uuid: aebe29b3d6424a4c968eff9d99e6d490
              expression: 'last(/MT4 Template senhasegura/proc.num[mysqld, mysql])=0'
              name: 'MariaDB não está em execução em {HOST.NAME}'
              priority: DISASTER
              description: 'Não foi possível encontrar o processo do MariaDB (mysqld), conexões com o banco de dados estão indisponíveis.'
        -
          uuid: 119b9c13f31a46098f2ee6e4c39aeffc
          name: 'Processo do Nginx'
          key: 'proc.num[nginx, root]'
          delay: '30'
          history: 30d
          trends: 90d
          description: 'Busca pelo processo master do Nginx'
          valuemap:
            name: 'Service state'
          tags:
            -
              tag: Application
              value: Nginx
          triggers:
            -
              uuid: 7a1c4a01e836477f86f53dc41cb755cb
              expression: 'last(/MT4 Template senhasegura/proc.num[nginx, root])=0'
              name: 'Nginx não está em execução em {HOST.NAME}'
              priority: DISASTER
              description: 'Não foi possível encontrar o processo master do Nginx, requisições HTTP não serão respondidas.'
        -
          uuid: 3924e8c8e4d543b3b7b347bfac2640c7
          name: 'Processo do OSSEC'
          key: 'proc.num[ossec-execd,root]'
          delay: 5s
          tags:
            -
              tag: Application
              value: OSSEC
          triggers:
            -
              uuid: c4cc0a425cca447797957af5bd15cf75
              expression: 'last(/MT4 Template senhasegura/proc.num[ossec-execd,root])=0'
              name: 'OSSEC não está operando'
              priority: HIGH
        -
          uuid: 0e0c4492b8884355adac2764ec4055b5
          name: 'Processo do Rsyslog'
          key: 'proc.num[rsyslogd, root]'
          delay: '300'
          history: 30d
          trends: 90d
          valuemap:
            name: 'Service state'
          tags:
            -
              tag: Application
              value: Syslog
          triggers:
            -
              uuid: 84db916647834a88ac6c9a057873773e
              expression: 'last(/MT4 Template senhasegura/proc.num[rsyslogd, root])=0'
              name: 'Rsyslog não está em execução em {HOST.NAME}'
              priority: AVERAGE
              description: 'O processo do rsyslogd não foi encontrado em {HOST.NAME}, o envio de logs para servidores remotos pode não funcionar corretamente.'
        -
          uuid: d8bb2df945aa4568b0c71f7472c297c2
          name: 'Processo do sshd'
          key: 'proc.num[sshd, root]'
          delay: 30s
          tags:
            -
              tag: Application
              value: sshd
          triggers:
            -
              uuid: f461aba80cab4ad1b0787f41ef1d85d9
              expression: 'last(/MT4 Template senhasegura/proc.num[sshd, root])=0'
              name: 'Serviço sshd não está em execução em {HOST.NAME}'
              priority: HIGH
        -
          uuid: 95c17418c5014ed3bc10107fbdea54ef
          name: 'System boot time'
          key: system.boottime
          delay: 15m
          history: 7d
          units: unixtime
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          tags:
            -
              tag: Application
              value: General
        -
          uuid: 9b9db07d56b749c9a06404448fbb7744
          name: 'Interrupts per second'
          key: system.cpu.intr
          history: 7d
          value_type: FLOAT
          preprocessing:
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          tags:
            -
              tag: Application
              value: CPU
        -
          uuid: 1adf7a46ec0a4f63b6ad4a41d3bce3c5
          name: 'Load average (1m avg)'
          key: 'system.cpu.load[all,avg1]'
          history: 7d
          value_type: FLOAT
          tags:
            -
              tag: Application
              value: CPU
        -
          uuid: 6d926488260b4df698c79c6c2e3465d8
          name: 'Load average (5m avg)'
          key: 'system.cpu.load[all,avg5]'
          history: 7d
          value_type: FLOAT
          tags:
            -
              tag: Application
              value: CPU
        -
          uuid: 8a487f51601d49238f502f057dd5c5d9
          name: 'Load average (15m avg)'
          key: 'system.cpu.load[all,avg15]'
          history: 7d
          value_type: FLOAT
          tags:
            -
              tag: Application
              value: CPU
        -
          uuid: f58b017b3dfb4586aff2bbfd744796f9
          name: 'Number of CPUs'
          key: system.cpu.num
          history: 7d
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          tags:
            -
              tag: Application
              value: CPU
        -
          uuid: a2910340fbe448f2985c7812c52d4def
          name: 'Context switches per second'
          key: system.cpu.switches
          history: 7d
          value_type: FLOAT
          preprocessing:
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          tags:
            -
              tag: Application
              value: CPU
        -
          uuid: f075dbcfb4c74240abb5cdfd0f442746
          name: 'CPU utilization'
          type: DEPENDENT
          key: system.cpu.util
          delay: '0'
          history: 7d
          value_type: FLOAT
          units: '%'
          description: 'CPU utilization in %'
          preprocessing:
            -
              type: JAVASCRIPT
              parameters:
                - |
                  //Calculate utilization
                  return (100 - value)
          master_item:
            key: 'system.cpu.util[,idle]'
          tags:
            -
              tag: Application
              value: CPU
          triggers:
            -
              uuid: f630af57b6494e4e95159cab3ec8b0c4
              expression: 'min(/MT4 Template senhasegura/system.cpu.util,5m)>{$CPU.UTIL.CRIT}'
              name: 'High CPU utilization (over {$CPU.UTIL.CRIT}% for 5m)'
              opdata: 'Current utilization: {ITEM.LASTVALUE1}'
              priority: WARNING
              description: 'CPU utilization is too high. The system might be slow to respond.'
              dependencies:
                -
                  name: 'Load average is too high (per CPU load over {$LOAD_AVG_PER_CPU.MAX.WARN} for 5m)'
                  expression: |
                    min(/MT4 Template senhasegura/system.cpu.load[all,avg1],5m)/last(/MT4 Template senhasegura/system.cpu.num)>{$LOAD_AVG_PER_CPU.MAX.WARN}
                    and last(/MT4 Template senhasegura/system.cpu.load[all,avg5])>0
                    and last(/MT4 Template senhasegura/system.cpu.load[all,avg15])>0
        -
          uuid: b9b0f45117754019a74ab7a51497cbbe
          name: 'CPU guest time'
          key: 'system.cpu.util[,guest]'
          history: 7d
          value_type: FLOAT
          units: '%'
          description: 'Guest  time (time  spent  running  a  virtual  CPU  for  a  guest  operating  system)'
          tags:
            -
              tag: Application
              value: CPU
        -
          uuid: 024c6ca17b20459fb143404791893c32
          name: 'CPU guest nice time'
          key: 'system.cpu.util[,guest_nice]'
          history: 7d
          value_type: FLOAT
          units: '%'
          description: 'Time spent running a niced guest (virtual CPU for guest operating systems under the control of the Linux kernel)'
          tags:
            -
              tag: Application
              value: CPU
        -
          uuid: 6b09421da11041c0b2f12c5e26a78dfd
          name: 'CPU idle time'
          key: 'system.cpu.util[,idle]'
          history: 7d
          value_type: FLOAT
          units: '%'
          description: 'The time the CPU has spent doing nothing.'
          tags:
            -
              tag: Application
              value: CPU
        -
          uuid: fafb62f1583d4d2b856c7ca225567bf6
          name: 'CPU interrupt time'
          key: 'system.cpu.util[,interrupt]'
          history: 7d
          value_type: FLOAT
          units: '%'
          description: 'The amount of time the CPU has been servicing hardware interrupts.'
          tags:
            -
              tag: Application
              value: CPU
        -
          uuid: a76c8e2bb8634d6e8ac8dbe6387339b2
          name: 'CPU iowait time'
          key: 'system.cpu.util[,iowait]'
          history: 7d
          value_type: FLOAT
          units: '%'
          description: 'Amount of time the CPU has been waiting for I/O to complete.'
          tags:
            -
              tag: Application
              value: CPU
        -
          uuid: 2de16ad3593f4e019cdfb4a8da2856c6
          name: 'CPU nice time'
          key: 'system.cpu.util[,nice]'
          history: 7d
          value_type: FLOAT
          units: '%'
          description: 'The time the CPU has spent running users'' processes that have been niced.'
          tags:
            -
              tag: Application
              value: CPU
        -
          uuid: 1d7002e071f4496796db0117149ba8c8
          name: 'CPU softirq time'
          key: 'system.cpu.util[,softirq]'
          history: 7d
          value_type: FLOAT
          units: '%'
          description: 'The amount of time the CPU has been servicing software interrupts.'
          tags:
            -
              tag: Application
              value: CPU
        -
          uuid: 461bd66544ff4ea3be4f363fa407d05b
          name: 'CPU steal time'
          key: 'system.cpu.util[,steal]'
          history: 7d
          value_type: FLOAT
          units: '%'
          description: 'The amount of CPU ''stolen'' from this virtual machine by the hypervisor for other tasks (such as running another virtual machine).'
          tags:
            -
              tag: Application
              value: CPU
        -
          uuid: 880e1caf8c28490d871245495e8a2144
          name: 'CPU system time'
          key: 'system.cpu.util[,system]'
          history: 7d
          value_type: FLOAT
          units: '%'
          description: 'The time the CPU has spent running the kernel and its processes.'
          tags:
            -
              tag: Application
              value: CPU
        -
          uuid: 8f057c55fb55498b8453a7619ef85a69
          name: 'CPU user time'
          key: 'system.cpu.util[,user]'
          history: 7d
          value_type: FLOAT
          units: '%'
          description: 'The time the CPU has spent running users'' processes that are not niced.'
          tags:
            -
              tag: Application
              value: CPU
        -
          uuid: cd68f85abe2b4b2789adea1a0ed03eef
          name: 'System name'
          key: system.hostname
          delay: 1h
          history: 2w
          trends: '0'
          value_type: CHAR
          description: 'System host name.'
          inventory_link: NAME
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          tags:
            -
              tag: Application
              value: General
          triggers:
            -
              uuid: fe56d36c3c66472dbe899594e671d0fe
              expression: '(last(/MT4 Template senhasegura/system.hostname,#1)<>last(/MT4 Template senhasegura/system.hostname,#2))=1 and length(last(/MT4 Template senhasegura/system.hostname))>0'
              name: 'System name has changed (new name: {ITEM.VALUE})'
              priority: INFO
              description: 'System name has changed. Ack to close.'
              manual_close: 'YES'
        -
          uuid: 82a99f30b82142cc95a3fc7045a1260e
          name: 'System local time'
          key: system.localtime
          history: 7d
          units: unixtime
          description: 'System local time of the host.'
          tags:
            -
              tag: Application
              value: General
          triggers:
            -
              uuid: 067c30409b7d42bcabc8df648a8082fa
              expression: 'fuzzytime(/MT4 Template senhasegura/system.localtime,{$SYSTEM.FUZZYTIME.MAX})=0'
              name: 'System time is out of sync (diff with Zabbix server > {$SYSTEM.FUZZYTIME.MAX}s)'
              status: DISABLED
              priority: WARNING
              description: 'The host system time is different from the Zabbix server time.'
              manual_close: 'YES'
        -
          uuid: 402ba7637d804948b7bed6454b2a352a
          name: 'Operating system architecture'
          key: system.sw.arch
          delay: 1h
          history: 2w
          trends: '0'
          value_type: CHAR
          description: 'Operating system architecture of the host.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          tags:
            -
              tag: Application
              value: Inventory
        -
          uuid: 38aa77af0be54b67a457de06f97695a0
          name: 'Operating system'
          key: system.sw.os
          delay: 1h
          history: 2w
          trends: '0'
          value_type: CHAR
          inventory_link: OS
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          tags:
            -
              tag: Application
              value: Inventory
          triggers:
            -
              uuid: c3ea9114d0c14647b90a03df25f07cca
              expression: '(last(/MT4 Template senhasegura/system.sw.os,#1)<>last(/MT4 Template senhasegura/system.sw.os,#2))=1 and length(last(/MT4 Template senhasegura/system.sw.os))>0'
              recovery_mode: NONE
              name: 'Operating system description has changed'
              priority: INFO
              description: 'Operating system description has changed. Possible reasons that system has been updated or replaced. Ack to close.'
              manual_close: 'YES'
              dependencies:
                -
                  name: 'System name has changed (new name: {ITEM.VALUE})'
                  expression: '(last(/MT4 Template senhasegura/system.hostname,#1)<>last(/MT4 Template senhasegura/system.hostname,#2))=1 and length(last(/MT4 Template senhasegura/system.hostname))>0'
        -
          uuid: c4e373b6fb9841f2b4d2bd5597d8e78a
          name: 'Software installed'
          key: system.sw.packages
          delay: 1h
          history: 2w
          trends: '0'
          value_type: TEXT
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          tags:
            -
              tag: Application
              value: Inventory
        -
          uuid: 5299c55f021945f7938e110f2e03d5e0
          name: 'Free swap space'
          key: 'system.swap.size[,free]'
          history: 7d
          units: B
          description: 'The free space of swap volume/file in bytes.'
          tags:
            -
              tag: Application
              value: Memory
        -
          uuid: be6a211fb8fa4714b2e4e8d29f32b31e
          name: 'Free swap space in %'
          key: 'system.swap.size[,pfree]'
          history: 7d
          value_type: FLOAT
          units: '%'
          description: 'The free space of swap volume/file in percent.'
          tags:
            -
              tag: Application
              value: Memory
        -
          uuid: 9f8c38ee08cd4cb7833a58e61b65624d
          name: 'Total swap space'
          key: 'system.swap.size[,total]'
          history: 7d
          units: B
          description: 'The total space of swap volume/file in bytes.'
          tags:
            -
              tag: Application
              value: Memory
        -
          uuid: a76d3a6c5c1c487b8d60e126a185f678
          name: 'System description'
          key: system.uname
          delay: 1h
          history: 2w
          trends: '0'
          value_type: CHAR
          description: 'The information as normally returned by ''uname -a''.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          tags:
            -
              tag: Application
              value: General
        -
          uuid: fcaddb86df1a4ee5a83a5ae6deacdc63
          name: 'System uptime'
          key: system.uptime
          delay: 30s
          history: 2w
          trends: 0d
          units: uptime
          description: 'System uptime in ''N days, hh:mm:ss'' format.'
          tags:
            -
              tag: Application
              value: Status
          triggers:
            -
              uuid: cfcc28d74b604c909035e80befe2b887
              expression: 'last(/MT4 Template senhasegura/system.uptime)<10m'
              name: '{HOST.NAME} has been restarted (uptime < 10m)'
              priority: WARNING
              description: 'The host uptime is less than 10 minutes'
              manual_close: 'YES'
        -
          uuid: 43b95e7059634f11abd19f2b6c3be1f5
          name: 'Number of logged in users'
          key: system.users.num
          history: 7d
          description: 'Number of users who are currently logged in.'
          tags:
            -
              tag: Application
              value: General
        -
          uuid: 50cb9fe5f6374eec811e12cbe8e018e1
          name: 'Checksum of /etc/passwd'
          key: 'vfs.file.cksum[/etc/passwd]'
          delay: 15m
          history: 7d
          trends: '0'
          value_type: CHAR
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          tags:
            -
              tag: Application
              value: Security
          triggers:
            -
              uuid: 9ebf3f1a312c4c56b0d5e495ef07c082
              expression: '(last(/MT4 Template senhasegura/vfs.file.cksum[/etc/passwd],#1)<>last(/MT4 Template senhasegura/vfs.file.cksum[/etc/passwd],#2))>0'
              name: '/etc/passwd has been changed'
              priority: INFO
              manual_close: 'YES'
              dependencies:
                -
                  name: 'Operating system description has changed'
                  expression: '(last(/MT4 Template senhasegura/system.sw.os,#1)<>last(/MT4 Template senhasegura/system.sw.os,#2))=1 and length(last(/MT4 Template senhasegura/system.sw.os))>0'
                -
                  name: 'System name has changed (new name: {ITEM.VALUE})'
                  expression: '(last(/MT4 Template senhasegura/system.hostname,#1)<>last(/MT4 Template senhasegura/system.hostname,#2))=1 and length(last(/MT4 Template senhasegura/system.hostname))>0'
        -
          uuid: 90dbdd1b0a59497ea1c9f539c1e20a77
          name: 'Get /proc/diskstats'
          key: 'vfs.file.contents[/proc/diskstats]'
          history: 1h
          trends: '0'
          value_type: TEXT
          description: 'Get contents of /proc/diskstats for discovery and disk stats.'
          preprocessing:
            -
              type: JAVASCRIPT
              parameters:
                - |
                  var parsed = value.split("\n").reduce(function(acc, x, i) {
                    parts = x.trim().split(/ +/)
                    acc["values"][parts[2]] = parts
                    acc["lld"].push({"{#DEVNAME}":parts[2]})
                    return acc;
                  }, {"values":{}, "lld": []});
                  
                  return JSON.stringify(parsed);
          tags:
            -
              tag: Application
              value: 'Zabbix raw items'
        -
          uuid: e54eb86aa7db4416a6f103ff16a8cf20
          name: 'Monitoramento /srv'
          key: 'vfs.file.size[/srv,pused]'
          delay: 15s
          value_type: FLOAT
          triggers:
            -
              uuid: d5e75414b57449eca93e4935a70e4c5e
              expression: 'last(/MT4 Template senhasegura/vfs.file.size[/srv,pused])>=90'
              name: 'Partição /srv do nó {HOST.NAME} está com 90% de consumo'
              priority: HIGH
            -
              uuid: 2fbca8ae873f43dca810db9d857a5616
              expression: 'last(/MT4 Template senhasegura/vfs.file.size[/srv,pused])=100'
              name: 'Partição /srv do nó {HOST.NAME} está com 100% de consumo'
              priority: DISASTER
        -
          uuid: 2f3db30ba4924a3b9dc5562968d631d7
          name: 'Monitoramento /srv/backup_remoto'
          key: 'vfs.file.size[/srv/backup_remoto,pused]'
          delay: 15s
          value_type: FLOAT
          triggers:
            -
              uuid: aad9384b50504c26aded9fcaa7889094
              expression: 'last(/MT4 Template senhasegura/vfs.file.size[/srv/backup_remoto,pused])>=90'
              name: 'Partição /srv/backup_remoto do nó {HOST.NAME} está com 90% de consumo'
              priority: HIGH
        -
          uuid: 1c7388c1ff684cdca4a54cc2e04931be
          name: 'Monitoramento /var/log'
          key: 'vfs.file.size[/var/log,pused]'
          delay: 15s
          value_type: FLOAT
          triggers:
            -
              uuid: 77ae92cc5f014dfbb3d4421cd2957e0b
              expression: 'last(/MT4 Template senhasegura/vfs.file.size[/var/log,pused])>=90'
              name: 'Partição /var/log do nó {HOST.NAME} está com 90% de consumo'
              priority: HIGH
            -
              uuid: 70cc8edb27c14c898adf98beb3717069
              expression: 'last(/MT4 Template senhasegura/vfs.file.size[/var/log,pused])=100'
              name: 'Partição /var/log do nó {HOST.NAME} está com 100% de consumo'
              priority: DISASTER
        -
          uuid: 4c8ca4dab41444fd9875bc032f0e7e71
          name: 'Monitoramento /var/log/audit'
          key: 'vfs.file.size[/var/log/audit,pused]'
          delay: 15s
          triggers:
            -
              uuid: b87bdfdadd7e48fa914eea1365b3b367
              expression: 'last(/MT4 Template senhasegura/vfs.file.size[/var/log/audit,pused])>=90'
              name: 'Partição /var/log/audit do nó {HOST.NAME} está com 90% de consumo'
              priority: HIGH
        -
          uuid: afe678014ce74d2783d95c817b1d6e63
          name: 'Monitoramento /var/tmp'
          key: 'vfs.file.size[/var/tmp,pused]'
          delay: 15s
          value_type: FLOAT
          triggers:
            -
              uuid: 0cc189a3801f4398a5d8212b6931633f
              expression: 'last(/MT4 Template senhasegura/vfs.file.size[/var/tmp,pused])=90'
              name: 'Partição /var/tmp do nó {HOST.NAME} está com 90% de consumo'
              priority: HIGH
            -
              uuid: 42d3169d91254d5a84b6f0bcf97a5ab9
              expression: 'last(/MT4 Template senhasegura/vfs.file.size[/var/tmp,pused])=100'
              name: 'Partição /var/tmp do nó {HOST.NAME} está com 100% de consumo'
              priority: DISASTER
        -
          uuid: 6657f8ddeba6437eae3903a44665b48d
          name: 'Monitoramento /var'
          key: 'vfs.fs.size[/var,pused]'
          delay: 15s
          value_type: FLOAT
          triggers:
            -
              uuid: 77f37a6f650d450482d2f08f4e783146
              expression: 'last(/MT4 Template senhasegura/vfs.fs.size[/var,pused])>=90'
              name: 'Partição /var do nó {HOST.NAME} está com 90% de consumo'
              priority: HIGH
            -
              uuid: 5dcc499cc0cb4e098c328c2c533a2bcd
              expression: 'last(/MT4 Template senhasegura/vfs.fs.size[/var,pused])=100'
              name: 'Partição /var do nó {HOST.NAME} está com 100% de consumo'
              priority: DISASTER
        -
          uuid: aec8d4110810444488ddf4e1ce9b896e
          name: 'Available memory'
          key: 'vm.memory.size[available]'
          history: 7d
          units: B
          description: 'Available memory, in Linux, available = free + buffers + cache. On other platforms calculation may vary. See also: https://www.zabbix.com/documentation/current/manual/appendix/items/vm.memory.size_params'
          tags:
            -
              tag: Application
              value: Memory
        -
          uuid: 6b3fa3c080704425869666d7e4b94ab6
          name: 'Memory utilization'
          key: 'vm.memory.size[pavailable]'
          history: 7d
          value_type: FLOAT
          units: '%'
          description: 'Memory used percentage is calculated as (100-pavailable)'
          preprocessing:
            -
              type: JAVASCRIPT
              parameters:
                - 'return (100-value);'
          tags:
            -
              tag: Application
              value: Memory
          triggers:
            -
              uuid: af4e41445dda4014be6b9108da322bd5
              expression: 'min(/MT4 Template senhasegura/vm.memory.size[pavailable],5m)>{$MEMORY.UTIL.MAX}'
              name: 'High memory utilization ( >{$MEMORY.UTIL.MAX}% for 5m)'
              priority: AVERAGE
              description: 'The system is running out of free memory.'
              dependencies:
                -
                  name: 'Lack of available memory ( < {$MEMORY.AVAILABLE.MIN} of {ITEM.VALUE2})'
                  expression: 'min(/MT4 Template senhasegura/vm.memory.size[available],5m)<{$MEMORY.AVAILABLE.MIN} and last(/MT4 Template senhasegura/vm.memory.size[total])>0'
        -
          uuid: 98b5bcf090ac4f8495756f251b8044af
          name: 'Total memory'
          key: 'vm.memory.size[total]'
          history: 7d
          units: B
          description: 'Total memory in Bytes'
          tags:
            -
              tag: Application
              value: Memory
        -
          uuid: 04033cf3bb0b4afabc811b0ad556c649
          name: 'Zabbix agent availability'
          type: INTERNAL
          key: 'zabbix[host,agent,available]'
          history: 7d
          description: 'Monitoring agent availability status'
          valuemap:
            name: zabbix.host.available
          tags:
            -
              tag: Application
              value: Status
          triggers:
            -
              uuid: f0963aa5f815468ebf9af82c9acf719f
              expression: 'max(/MT4 Template senhasegura/zabbix[host,agent,available],{$AGENT.TIMEOUT})=0'
              name: 'Zabbix agent is not available (for {$AGENT.TIMEOUT})'
              priority: AVERAGE
              description: 'For passive only agents, host availability is used with {$AGENT.TIMEOUT} as time threshold.'
              manual_close: 'YES'
      discovery_rules:
        -
          uuid: 81588e6e98db42088b42827d9cd63dfa
          name: 'Databases discovery'
          key: 'mysql.db.discovery["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          delay: 1h
          filter:
            conditions:
              -
                macro: '{#DBNAME}'
                value: information_schema
                operator: NOT_MATCHES_REGEX
                formulaid: A
          description: 'Scanning databases in DBMS.'
          item_prototypes:
            -
              uuid: 4f2059ec26114465a945f1b79c65e89e
              name: 'Info: Size of database {#DBNAME}'
              key: 'mysql.dbsize["{$MYSQL.HOST}","{$MYSQL.PORT}","{#DBNAME}"]'
              delay: 5m
              history: 7d
              units: B
              preprocessing:
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              tags:
                -
                  tag: Application
                  value: MySQL
          preprocessing:
            -
              type: JAVASCRIPT
              parameters:
                - |
                  arr = value.split('\n')
                  s = []
                  for (var i in arr) {
                     s.push({"{#DBNAME}": arr[i]})
                  }
                  return JSON.stringify(s)
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
        -
          uuid: f2bf2ebce7474cff94f05e5c2e8a04f1
          name: 'Replication discovery'
          key: 'mysql.replication.discovery["{$MYSQL.HOST}","{$MYSQL.PORT}"]'
          delay: 1h
          description: "If\_'show slave status' returns Master_Host, \"Replication: *\" items are created."
          item_prototypes:
            -
              uuid: 802cf41ca1d74e78a0149da2c7832c4b
              name: 'Replication: Seconds Behind Master {#MASTERHOST}'
              type: DEPENDENT
              key: 'mysql.seconds_behind_master["{#MASTERHOST}"]'
              delay: '0'
              history: 7d
              units: s
              description: 'The number of seconds that the slave SQL thread is behind processing the master binary log. A high number (or an increasing one) can indicate that the slave is unable to handle events from the master in a timely fashion.'
              preprocessing:
                -
                  type: XMLPATH
                  parameters:
                    - '/resultset/row/field[@name=''Seconds_Behind_Master'']/text()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
                -
                  type: NOT_MATCHES_REGEX
                  parameters:
                    - 'null'
                  error_handler: CUSTOM_ERROR
                  error_handler_params: 'Replication is not performed.'
              master_item:
                key: 'mysql.slave_status["{$MYSQL.HOST}","{$MYSQL.PORT}","{#MASTERHOST}"]'
              tags:
                -
                  tag: Application
                  value: MySQL
              trigger_prototypes:
                -
                  uuid: 7fadc183bd6246039857c953d956a729
                  expression: 'min(/MT4 Template senhasegura/mysql.seconds_behind_master["{#MASTERHOST}"],5m)>{$MYSQL.REPL_LAG.MAX.WARN}'
                  name: 'MySQL: Replication lag is too high (over {$MYSQL.REPL_LAG.MAX.WARN} for 5m)'
                  priority: WARNING
            -
              uuid: 0424a72fdc194881aa05852eb613d936
              name: 'Replication: Slave IO Running {#MASTERHOST}'
              type: DEPENDENT
              key: 'mysql.slave_io_running["{#MASTERHOST}"]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'Whether the I/O thread for reading the master''s binary log is running. Normally, you want this to be Yes unless you have not yet started replication or have explicitly stopped it with STOP SLAVE.'
              preprocessing:
                -
                  type: XMLPATH
                  parameters:
                    - '/resultset/row/field[@name=''Slave_IO_Running'']/text()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: 'mysql.slave_status["{$MYSQL.HOST}","{$MYSQL.PORT}","{#MASTERHOST}"]'
              tags:
                -
                  tag: Application
                  value: MySQL
              trigger_prototypes:
                -
                  uuid: 43cea06745794895a74d420aba2ef8f0
                  expression: 'count(/MT4 Template senhasegura/mysql.slave_io_running["{#MASTERHOST}"],#1,"ne","Yes")=1'
                  name: 'MySQL: The slave I/O thread is not connected to a replication master'
                  priority: WARNING
                  dependencies:
                    -
                      name: 'MySQL: The slave I/O thread is not running'
                      expression: 'count(/MT4 Template senhasegura/mysql.slave_io_running["{#MASTERHOST}"],#1,"eq","No")=1'
                -
                  uuid: 2e587aa6e9be48709addee9ac305ca8a
                  expression: 'count(/MT4 Template senhasegura/mysql.slave_io_running["{#MASTERHOST}"],#1,"eq","No")=1'
                  name: 'MySQL: The slave I/O thread is not running'
                  priority: AVERAGE
                  description: 'Whether the I/O thread for reading the master''s binary log is running.'
            -
              uuid: 9401bbadd4a34e2b97749133a5c76b45
              name: 'Replication: Slave SQL Running {#MASTERHOST}'
              type: DEPENDENT
              key: 'mysql.slave_sql_running["{#MASTERHOST}"]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'Whether the SQL thread for executing events in the relay log is running. As with the I/O thread, this should normally be Yes.'
              preprocessing:
                -
                  type: XMLPATH
                  parameters:
                    - '/resultset/row/field[@name=''Slave_SQL_Running'']/text()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: 'mysql.slave_status["{$MYSQL.HOST}","{$MYSQL.PORT}","{#MASTERHOST}"]'
              tags:
                -
                  tag: Application
                  value: MySQL
              trigger_prototypes:
                -
                  uuid: 9e855dd5bf024af2a1d1d3cb6579b4f5
                  expression: 'count(/MT4 Template senhasegura/mysql.slave_sql_running["{#MASTERHOST}"],#1,"eq","No")=1'
                  name: 'MySQL: The SQL thread is not running'
                  priority: WARNING
                  description: 'Whether the SQL thread for executing events in the relay log is running.'
                  dependencies:
                    -
                      name: 'MySQL: The slave I/O thread is not running'
                      expression: 'count(/MT4 Template senhasegura/mysql.slave_io_running["{#MASTERHOST}"],#1,"eq","No")=1'
            -
              uuid: 421dddaced274289bc1e5dd9dfcab720
              name: 'Replication: Slave status {#MASTERHOST}'
              key: 'mysql.slave_status["{$MYSQL.HOST}","{$MYSQL.PORT}","{#MASTERHOST}"]'
              history: 1h
              trends: '0'
              value_type: TEXT
              description: 'The item gets status information on essential parameters of the slave threads.'
              tags:
                -
                  tag: Application
                  value: 'Zabbix raw items'
          preprocessing:
            -
              type: JAVASCRIPT
              parameters:
                - |
                  var a = value.match(/Master_Host.*>(.*)<.*/)
                  if (a) {
                    s = [{"{#MASTERHOST}": a[1]}]
                  } 
                  else {
                    s = []
                  }
                  return JSON.stringify(s)
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
        -
          uuid: 10b0a86d4ecb498eb7db4d440c37fc09
          name: 'Network interface discovery'
          key: net.if.discovery
          delay: 1h
          filter:
            evaltype: AND
            conditions:
              -
                macro: '{#IFNAME}'
                value: '{$NET.IF.IFNAME.MATCHES}'
                formulaid: A
              -
                macro: '{#IFNAME}'
                value: '{$NET.IF.IFNAME.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
                formulaid: B
          description: 'Discovery of network interfaces.'
          item_prototypes:
            -
              uuid: 2f3699223a6e418eafd06457d40ecfdf
              name: 'Interface {#IFNAME}: Inbound packets discarded'
              key: 'net.if.in["{#IFNAME}",dropped]'
              delay: 3m
              history: 7d
              preprocessing:
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              tags:
                -
                  tag: Application
                  value: 'Interface {#IFNAME}'
            -
              uuid: c93348a0272a4e90b6b7aee8efa6ebdb
              name: 'Interface {#IFNAME}: Inbound packets with errors'
              key: 'net.if.in["{#IFNAME}",errors]'
              delay: 3m
              history: 7d
              preprocessing:
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              tags:
                -
                  tag: Application
                  value: 'Interface {#IFNAME}'
            -
              uuid: be7a2a819c0a45c291fd67622c9cb0e5
              name: 'Interface {#IFNAME}: Bits received'
              key: 'net.if.in["{#IFNAME}"]'
              delay: 3m
              history: 7d
              units: bps
              preprocessing:
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
                -
                  type: MULTIPLIER
                  parameters:
                    - '8'
              tags:
                -
                  tag: Application
                  value: 'Interface {#IFNAME}'
            -
              uuid: 687ffccf13d647879291ae4e15ef96ef
              name: 'Interface {#IFNAME}: Outbound packets discarded'
              key: 'net.if.out["{#IFNAME}",dropped]'
              delay: 3m
              history: 7d
              preprocessing:
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              tags:
                -
                  tag: Application
                  value: 'Interface {#IFNAME}'
            -
              uuid: dc19f363a0da48e2ace7243d1c7c3b7c
              name: 'Interface {#IFNAME}: Outbound packets with errors'
              key: 'net.if.out["{#IFNAME}",errors]'
              delay: 3m
              history: 7d
              preprocessing:
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              tags:
                -
                  tag: Application
                  value: 'Interface {#IFNAME}'
            -
              uuid: 84d534bd30034b68af7b84a69967c7ca
              name: 'Interface {#IFNAME}: Bits sent'
              key: 'net.if.out["{#IFNAME}"]'
              delay: 3m
              history: 7d
              units: bps
              preprocessing:
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
                -
                  type: MULTIPLIER
                  parameters:
                    - '8'
              tags:
                -
                  tag: Application
                  value: 'Interface {#IFNAME}'
            -
              uuid: 96b194cef5214fdc812a35e7de4f6d85
              name: 'Interface {#IFNAME}: Operational status'
              key: 'vfs.file.contents["/sys/class/net/{#IFNAME}/operstate"]'
              history: 7d
              trends: '0'
              description: |
                Indicates the interface RFC2863 operational state as a string.
                Possible values are:"unknown", "notpresent", "down", "lowerlayerdown", "testing","dormant", "up".
                Reference: https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-class-net
              valuemap:
                name: 'IF-MIB::ifOperStatus'
              preprocessing:
                -
                  type: JAVASCRIPT
                  parameters:
                    - |
                      var newvalue;
                      switch(value) {
                        case "up":
                          newvalue = 1;
                          break;
                        case "down":
                          newvalue = 2;
                          break;
                        case "testing":
                          newvalue = 4;
                          break;
                        case "unknown":
                          newvalue = 5;
                          break;
                        case "dormant":
                          newvalue = 6;
                          break;
                        case "notPresent":
                          newvalue = 7;
                          break;
                        default:
                          newvalue = "Problem parsing interface operstate in JS";
                      }
                      return newvalue;
              tags:
                -
                  tag: Application
                  value: 'Interface {#IFNAME}'
              trigger_prototypes:
                -
                  uuid: e06854bf177242a5b863f7f5c0bda891
                  expression: '{$IFCONTROL:"{#IFNAME}"}=1 and (last(/MT4 Template senhasegura/vfs.file.contents["/sys/class/net/{#IFNAME}/operstate"])=2 and (last(/MT4 Template senhasegura/vfs.file.contents["/sys/class/net/{#IFNAME}/operstate"],#1)<>last(/MT4 Template senhasegura/vfs.file.contents["/sys/class/net/{#IFNAME}/operstate"],#2))=1)'
                  recovery_mode: RECOVERY_EXPRESSION
                  recovery_expression: 'last(/MT4 Template senhasegura/vfs.file.contents["/sys/class/net/{#IFNAME}/operstate"])<>2'
                  name: 'Interface {#IFNAME}: Link down'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: AVERAGE
                  description: |
                    This trigger expression works as follows:
                    1. Can be triggered if operations status is down.
                    2. {$IFCONTROL:"{#IFNAME}"}=1 - user can redefine Context macro to value - 0. That marks this interface as not important. No new trigger will be fired if this interface is down.
                    3. {TEMPLATE_NAME:METRIC.diff()}=1) - trigger fires only if operational status was up(1) sometime before. (So, do not fire 'ethernal off' interfaces.)
                    
                    WARNING: if closed manually - won't fire again on next poll, because of .diff.
                  manual_close: 'YES'
            -
              uuid: 28b3793c7dfb42ae8c3523c12a98d560
              name: 'Interface {#IFNAME}: Interface type'
              key: 'vfs.file.contents["/sys/class/net/{#IFNAME}/type"]'
              delay: 1h
              history: 7d
              trends: 0d
              description: |
                Indicates the interface protocol type as a decimal value.
                See include/uapi/linux/if_arp.h for all possible values.
                Reference: https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-class-net
              valuemap:
                name: 'Linux::Interface protocol types'
              preprocessing:
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1d
              tags:
                -
                  tag: Application
                  value: 'Interface {#IFNAME}'
          trigger_prototypes:
            -
              uuid: f5c814fc7cb14718beb2fab9ec174da6
              expression: |
                change(/MT4 Template senhasegura/vfs.file.contents["/sys/class/net/{#IFNAME}/type"])<0 and last(/MT4 Template senhasegura/vfs.file.contents["/sys/class/net/{#IFNAME}/type"])>0
                and
                (last(/MT4 Template senhasegura/vfs.file.contents["/sys/class/net/{#IFNAME}/type"])=6
                or last(/MT4 Template senhasegura/vfs.file.contents["/sys/class/net/{#IFNAME}/type"])=1)
                and
                (last(/MT4 Template senhasegura/vfs.file.contents["/sys/class/net/{#IFNAME}/operstate"])<>2)
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: |
                (change(/MT4 Template senhasegura/vfs.file.contents["/sys/class/net/{#IFNAME}/type"])>0 and last(/MT4 Template senhasegura/vfs.file.contents["/sys/class/net/{#IFNAME}/type"],#2)>0) or
                (last(/MT4 Template senhasegura/vfs.file.contents["/sys/class/net/{#IFNAME}/operstate"])=2)
              name: 'Interface {#IFNAME}: Ethernet has changed to lower speed than it was before'
              opdata: 'Current reported speed: {ITEM.LASTVALUE1}'
              priority: INFO
              description: 'This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.'
              manual_close: 'YES'
              dependencies:
                -
                  name: 'Interface {#IFNAME}: Link down'
                  expression: '{$IFCONTROL:"{#IFNAME}"}=1 and (last(/MT4 Template senhasegura/vfs.file.contents["/sys/class/net/{#IFNAME}/operstate"])=2 and (last(/MT4 Template senhasegura/vfs.file.contents["/sys/class/net/{#IFNAME}/operstate"],#1)<>last(/MT4 Template senhasegura/vfs.file.contents["/sys/class/net/{#IFNAME}/operstate"],#2))=1)'
                  recovery_expression: 'last(/MT4 Template senhasegura/vfs.file.contents["/sys/class/net/{#IFNAME}/operstate"])<>2'
            -
              uuid: 684cc1cab5634c22acc5b6b97d022e55
              expression: |
                min(/MT4 Template senhasegura/net.if.in["{#IFNAME}",errors],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}
                or min(/MT4 Template senhasegura/net.if.out["{#IFNAME}",errors],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: |
                max(/MT4 Template senhasegura/net.if.in["{#IFNAME}",errors],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8
                and max(/MT4 Template senhasegura/net.if.out["{#IFNAME}",errors],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8
              name: 'Interface {#IFNAME}: High error rate ( > {$IF.ERRORS.WARN:"{#IFNAME}"} for 5m)'
              opdata: 'errors in: {ITEM.LASTVALUE1}, errors out: {ITEM.LASTVALUE2}'
              priority: WARNING
              description: 'Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold'
              manual_close: 'YES'
              dependencies:
                -
                  name: 'Interface {#IFNAME}: Link down'
                  expression: '{$IFCONTROL:"{#IFNAME}"}=1 and (last(/MT4 Template senhasegura/vfs.file.contents["/sys/class/net/{#IFNAME}/operstate"])=2 and (last(/MT4 Template senhasegura/vfs.file.contents["/sys/class/net/{#IFNAME}/operstate"],#1)<>last(/MT4 Template senhasegura/vfs.file.contents["/sys/class/net/{#IFNAME}/operstate"],#2))=1)'
                  recovery_expression: 'last(/MT4 Template senhasegura/vfs.file.contents["/sys/class/net/{#IFNAME}/operstate"])<>2'
          graph_prototypes:
            -
              uuid: b35b130bbf4348b6ab8131c54861df1c
              name: 'Interface {#IFNAME}: Network traffic'
              graph_items:
                -
                  drawtype: GRADIENT_LINE
                  color: 1A7C11
                  item:
                    host: 'MT4 Template senhasegura'
                    key: 'net.if.in["{#IFNAME}"]'
                -
                  sortorder: '1'
                  drawtype: BOLD_LINE
                  color: 2774A4
                  item:
                    host: 'MT4 Template senhasegura'
                    key: 'net.if.out["{#IFNAME}"]'
                -
                  sortorder: '2'
                  color: F63100
                  yaxisside: RIGHT
                  item:
                    host: 'MT4 Template senhasegura'
                    key: 'net.if.out["{#IFNAME}",errors]'
                -
                  sortorder: '3'
                  color: A54F10
                  yaxisside: RIGHT
                  item:
                    host: 'MT4 Template senhasegura'
                    key: 'net.if.in["{#IFNAME}",errors]'
                -
                  sortorder: '4'
                  color: FC6EA3
                  yaxisside: RIGHT
                  item:
                    host: 'MT4 Template senhasegura'
                    key: 'net.if.out["{#IFNAME}",dropped]'
                -
                  sortorder: '5'
                  color: 6C59DC
                  yaxisside: RIGHT
                  item:
                    host: 'MT4 Template senhasegura'
                    key: 'net.if.in["{#IFNAME}",dropped]'
        -
          uuid: db8e281e43c341d2ac6787e481b7c1c8
          name: 'Block devices discovery'
          type: DEPENDENT
          key: vfs.dev.discovery
          delay: '0'
          filter:
            evaltype: AND
            conditions:
              -
                macro: '{#DEVNAME}'
                value: '{$VFS.DEV.DEVNAME.MATCHES}'
                formulaid: A
              -
                macro: '{#DEVNAME}'
                value: '{$VFS.DEV.DEVNAME.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
                formulaid: B
          item_prototypes:
            -
              uuid: 5e90822d962b46dab712886cee49afc3
              name: '{#DEVNAME}: Disk average queue size (avgqu-sz)'
              type: DEPENDENT
              key: 'vfs.dev.queue_size[{#DEVNAME}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              description: 'Current average disk queue, the number of requests outstanding on the disk at the time the performance data is collected.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.values[''{#DEVNAME}''][13]'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
                -
                  type: MULTIPLIER
                  parameters:
                    - '0.001'
              master_item:
                key: 'vfs.file.contents[/proc/diskstats]'
              tags:
                -
                  tag: Application
                  value: 'Disk {#DEVNAME}'
            -
              uuid: e4e621ebb7424f59bf1274c578eb45e9
              name: '{#DEVNAME}: Disk read request avg waiting time (r_await)'
              type: CALCULATED
              key: 'vfs.dev.read.await[{#DEVNAME}]'
              history: 7d
              value_type: FLOAT
              units: '!ms'
              params: '(last(//vfs.dev.read.time.rate[{#DEVNAME}])/(last(//vfs.dev.read.rate[{#DEVNAME}])+(last(//vfs.dev.read.rate[{#DEVNAME}])=0)))*1000*(last(//vfs.dev.read.rate[{#DEVNAME}]) > 0)'
              description: 'This formula contains two boolean expressions that evaluates to 1 or 0 in order to set calculated metric to zero and to avoid division by zero exception.'
              tags:
                -
                  tag: Application
                  value: 'Disk {#DEVNAME}'
            -
              uuid: d6647da28deb4af78bb50a69836c419c
              name: '{#DEVNAME}: Disk read rate'
              type: DEPENDENT
              key: 'vfs.dev.read.rate[{#DEVNAME}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: '!r/s'
              description: 'r/s. The number (after merges) of read requests completed per second for the device.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.values[''{#DEVNAME}''][3]'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'vfs.file.contents[/proc/diskstats]'
              tags:
                -
                  tag: Application
                  value: 'Disk {#DEVNAME}'
            -
              uuid: 8087b9fd984b48b9a403e169988291e4
              name: '{#DEVNAME}: Disk read time (rate)'
              type: DEPENDENT
              key: 'vfs.dev.read.time.rate[{#DEVNAME}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              description: 'Rate of total read time counter. Used in r_await calculation'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.values[''{#DEVNAME}''][6]'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
                -
                  type: MULTIPLIER
                  parameters:
                    - '0.001'
              master_item:
                key: 'vfs.file.contents[/proc/diskstats]'
              tags:
                -
                  tag: Application
                  value: 'Zabbix raw items'
            -
              uuid: 64480a24c0ba439b86e7fa4c977cf5c6
              name: '{#DEVNAME}: Disk utilization'
              type: DEPENDENT
              key: 'vfs.dev.util[{#DEVNAME}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: '%'
              description: 'This item is the percentage of elapsed time that the selected disk drive was busy servicing read or writes requests.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.values[''{#DEVNAME}''][12]'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
                -
                  type: MULTIPLIER
                  parameters:
                    - '0.1'
              master_item:
                key: 'vfs.file.contents[/proc/diskstats]'
              tags:
                -
                  tag: Application
                  value: 'Disk {#DEVNAME}'
            -
              uuid: 818d28c4fab14d41a66591432ed99008
              name: '{#DEVNAME}: Disk write request avg waiting time (w_await)'
              type: CALCULATED
              key: 'vfs.dev.write.await[{#DEVNAME}]'
              history: 7d
              value_type: FLOAT
              units: '!ms'
              params: '(last(//vfs.dev.write.time.rate[{#DEVNAME}])/(last(//vfs.dev.write.rate[{#DEVNAME}])+(last(//vfs.dev.write.rate[{#DEVNAME}])=0)))*1000*(last(//vfs.dev.write.rate[{#DEVNAME}]) > 0)'
              description: 'This formula contains two boolean expressions that evaluates to 1 or 0 in order to set calculated metric to zero and to avoid division by zero exception.'
              tags:
                -
                  tag: Application
                  value: 'Disk {#DEVNAME}'
            -
              uuid: 6273f99d943e4d6ab7fdb0060a22da06
              name: '{#DEVNAME}: Disk write rate'
              type: DEPENDENT
              key: 'vfs.dev.write.rate[{#DEVNAME}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: '!w/s'
              description: 'w/s. The number (after merges) of write requests completed per second for the device.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.values[''{#DEVNAME}''][7]'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'vfs.file.contents[/proc/diskstats]'
              tags:
                -
                  tag: Application
                  value: 'Disk {#DEVNAME}'
            -
              uuid: 2aa3b9826bc6437e842ece3b2261242f
              name: '{#DEVNAME}: Disk write time (rate)'
              type: DEPENDENT
              key: 'vfs.dev.write.time.rate[{#DEVNAME}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              description: 'Rate of total write time counter. Used in w_await calculation'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.values[''{#DEVNAME}''][10]'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
                -
                  type: MULTIPLIER
                  parameters:
                    - '0.001'
              master_item:
                key: 'vfs.file.contents[/proc/diskstats]'
              tags:
                -
                  tag: Application
                  value: 'Zabbix raw items'
          trigger_prototypes:
            -
              uuid: fc27129f194c4e229cc2457c218d399c
              expression: 'min(/MT4 Template senhasegura/vfs.dev.read.await[{#DEVNAME}],15m) > {$VFS.DEV.READ.AWAIT.WARN:"{#DEVNAME}"} or min(/MT4 Template senhasegura/vfs.dev.write.await[{#DEVNAME}],15m) > {$VFS.DEV.WRITE.AWAIT.WARN:"{#DEVNAME}"}'
              name: '{#DEVNAME}: Disk read/write request responses are too high (read > {$VFS.DEV.READ.AWAIT.WARN:"{#DEVNAME}"} ms for 15m or write > {$VFS.DEV.WRITE.AWAIT.WARN:"{#DEVNAME}"} ms for 15m)'
              priority: WARNING
              description: 'This trigger might indicate disk {#DEVNAME} saturation.'
              manual_close: 'YES'
          graph_prototypes:
            -
              uuid: 8308c8c3075c456b94e9386ffbb28534
              name: '{#DEVNAME}: Disk average waiting time'
              graph_items:
                -
                  color: 1A7C11
                  item:
                    host: 'MT4 Template senhasegura'
                    key: 'vfs.dev.read.await[{#DEVNAME}]'
                -
                  sortorder: '1'
                  drawtype: GRADIENT_LINE
                  color: 2774A4
                  item:
                    host: 'MT4 Template senhasegura'
                    key: 'vfs.dev.write.await[{#DEVNAME}]'
            -
              uuid: d80b8ec9ca6b4344a3f9da54e625f72a
              name: '{#DEVNAME}: Disk read/write rates'
              graph_items:
                -
                  color: 1A7C11
                  item:
                    host: 'MT4 Template senhasegura'
                    key: 'vfs.dev.read.rate[{#DEVNAME}]'
                -
                  sortorder: '1'
                  drawtype: GRADIENT_LINE
                  color: 2774A4
                  item:
                    host: 'MT4 Template senhasegura'
                    key: 'vfs.dev.write.rate[{#DEVNAME}]'
            -
              uuid: bc7d760d5776405ea0f0a425668f9ef8
              name: '{#DEVNAME}: Disk utilization and queue'
              graph_items:
                -
                  color: 1A7C11
                  yaxisside: RIGHT
                  item:
                    host: 'MT4 Template senhasegura'
                    key: 'vfs.dev.queue_size[{#DEVNAME}]'
                -
                  sortorder: '1'
                  drawtype: GRADIENT_LINE
                  color: 2774A4
                  item:
                    host: 'MT4 Template senhasegura'
                    key: 'vfs.dev.util[{#DEVNAME}]'
          master_item:
            key: 'vfs.file.contents[/proc/diskstats]'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.lld
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
        -
          uuid: 5da1a7f06410410c8457c23201fccce7
          name: 'Mounted filesystem discovery'
          key: vfs.fs.discovery
          delay: 1h
          filter:
            evaltype: AND
            conditions:
              -
                macro: '{#FSTYPE}'
                value: '{$VFS.FS.FSTYPE.MATCHES}'
                formulaid: C
              -
                macro: '{#FSTYPE}'
                value: '{$VFS.FS.FSTYPE.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
                formulaid: D
              -
                macro: '{#FSNAME}'
                value: '{$VFS.FS.FSNAME.MATCHES}'
                formulaid: A
              -
                macro: '{#FSNAME}'
                value: '{$VFS.FS.FSNAME.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
                formulaid: B
          description: 'Discovery of file systems of different types.'
          item_prototypes:
            -
              uuid: c93b29cf66cf4778bb1f24fbbb27b818
              name: '{#FSNAME}: Free inodes in %'
              key: 'vfs.fs.inode[{#FSNAME},pfree]'
              history: 7d
              value_type: FLOAT
              units: '%'
              tags:
                -
                  tag: Application
                  value: 'Filesystem {#FSNAME}'
              trigger_prototypes:
                -
                  uuid: 90c0369d3cd845a0addf887c9d19cb3a
                  expression: 'min(/MT4 Template senhasegura/vfs.fs.inode[{#FSNAME},pfree],5m)<{$VFS.FS.INODE.PFREE.MIN.CRIT:"{#FSNAME}"}'
                  name: '{#FSNAME}: Running out of free inodes (free < {$VFS.FS.INODE.PFREE.MIN.CRIT:"{#FSNAME}"}%)'
                  opdata: 'Free inodes: {ITEM.LASTVALUE1}'
                  priority: AVERAGE
                  description: |
                    It may become impossible to write to disk if there are no index nodes left.
                    As symptoms, 'No space left on device' or 'Disk is full' errors may be seen even though free space is available.
                -
                  uuid: c29f35985d144ec8aae8dcff66b90942
                  expression: 'min(/MT4 Template senhasegura/vfs.fs.inode[{#FSNAME},pfree],5m)<{$VFS.FS.INODE.PFREE.MIN.WARN:"{#FSNAME}"}'
                  name: '{#FSNAME}: Running out of free inodes (free < {$VFS.FS.INODE.PFREE.MIN.WARN:"{#FSNAME}"}%)'
                  opdata: 'Free inodes: {ITEM.LASTVALUE1}'
                  priority: WARNING
                  description: |
                    It may become impossible to write to disk if there are no index nodes left.
                    As symptoms, 'No space left on device' or 'Disk is full' errors may be seen even though free space is available.
                  dependencies:
                    -
                      name: '{#FSNAME}: Running out of free inodes (free < {$VFS.FS.INODE.PFREE.MIN.CRIT:"{#FSNAME}"}%)'
                      expression: 'min(/MT4 Template senhasegura/vfs.fs.inode[{#FSNAME},pfree],5m)<{$VFS.FS.INODE.PFREE.MIN.CRIT:"{#FSNAME}"}'
            -
              uuid: 72bc3e84e5674fdab0ebc19add91528b
              name: '{#FSNAME}: Space utilization'
              key: 'vfs.fs.size[{#FSNAME},pused]'
              history: 7d
              value_type: FLOAT
              units: '%'
              description: 'Space utilization in % for {#FSNAME}'
              tags:
                -
                  tag: Application
                  value: 'Filesystem {#FSNAME}'
            -
              uuid: 47843bf1eba24022a6f39ee7a892ca39
              name: '{#FSNAME}: Total space'
              key: 'vfs.fs.size[{#FSNAME},total]'
              history: 7d
              units: B
              description: 'Total space in Bytes'
              tags:
                -
                  tag: Application
                  value: 'Filesystem {#FSNAME}'
            -
              uuid: 610656a8379f43418646bef54983c4d2
              name: '{#FSNAME}: Used space'
              key: 'vfs.fs.size[{#FSNAME},used]'
              history: 7d
              units: B
              description: 'Used storage in Bytes'
              tags:
                -
                  tag: Application
                  value: 'Filesystem {#FSNAME}'
          trigger_prototypes:
            -
              uuid: 2c1a4252bedf4ee8b318ded2cff4d381
              expression: |
                last(/MT4 Template senhasegura/vfs.fs.size[{#FSNAME},pused])>{$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"} and
                ((last(/MT4 Template senhasegura/vfs.fs.size[{#FSNAME},total])-last(/MT4 Template senhasegura/vfs.fs.size[{#FSNAME},used]))<5G or timeleft(/MT4 Template senhasegura/vfs.fs.size[{#FSNAME},pused],1h,100)<1d)
              name: '{#FSNAME}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"}%)'
              opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})'
              priority: AVERAGE
              description: |
                Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"}.
                 Second condition should be one of the following:
                 - The disk free space is less than 5G.
                 - The disk will be full in less than 24 hours.
              manual_close: 'YES'
            -
              uuid: 86bbe9754619448ea7a4e4db2c02c7be
              expression: |
                last(/MT4 Template senhasegura/vfs.fs.size[{#FSNAME},pused])>{$VFS.FS.PUSED.MAX.WARN:"{#FSNAME}"} and
                ((last(/MT4 Template senhasegura/vfs.fs.size[{#FSNAME},total])-last(/MT4 Template senhasegura/vfs.fs.size[{#FSNAME},used]))<10G or timeleft(/MT4 Template senhasegura/vfs.fs.size[{#FSNAME},pused],1h,100)<1d)
              name: '{#FSNAME}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"{#FSNAME}"}%)'
              opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})'
              priority: WARNING
              description: |
                Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"{#FSNAME}"}.
                 Second condition should be one of the following:
                 - The disk free space is less than 10G.
                 - The disk will be full in less than 24 hours.
              manual_close: 'YES'
              dependencies:
                -
                  name: '{#FSNAME}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"}%)'
                  expression: |
                    last(/MT4 Template senhasegura/vfs.fs.size[{#FSNAME},pused])>{$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"} and
                    ((last(/MT4 Template senhasegura/vfs.fs.size[{#FSNAME},total])-last(/MT4 Template senhasegura/vfs.fs.size[{#FSNAME},used]))<5G or timeleft(/MT4 Template senhasegura/vfs.fs.size[{#FSNAME},pused],1h,100)<1d)
          graph_prototypes:
            -
              uuid: 342a48bbbce247b8a4929de1d1780bc1
              name: '{#FSNAME}: Disk space usage'
              width: '600'
              height: '340'
              type: PIE
              show_3d: 'YES'
              graph_items:
                -
                  color: '969696'
                  calc_fnc: LAST
                  type: GRAPH_SUM
                  item:
                    host: 'MT4 Template senhasegura'
                    key: 'vfs.fs.size[{#FSNAME},total]'
                -
                  sortorder: '1'
                  color: C80000
                  calc_fnc: LAST
                  item:
                    host: 'MT4 Template senhasegura'
                    key: 'vfs.fs.size[{#FSNAME},used]'
      httptests:
        -
          uuid: a81c5c16b63b44499f44c51409926328
          name: senhasegura_www
          delay: 30s
          attempts: '2'
          status: DISABLED
          steps:
            -
              name: 'health status'
              url: 'https://{HOST.CONN}/flow/auth/signin'
              timeout: 30s
          tags:
            -
              tag: Application
              value: www_health
      valuemaps:
        -
          uuid: d5a71da874c44022ae58612fbe0195aa
          name: 'IF-MIB::ifOperStatus'
          mappings:
            -
              value: '1'
              newvalue: up
            -
              value: '2'
              newvalue: down
            -
              value: '4'
              newvalue: unknown
            -
              value: '5'
              newvalue: dormant
            -
              value: '6'
              newvalue: notPresent
            -
              value: '7'
              newvalue: lowerLayerDown
        -
          uuid: 5e5c43802f584cd6bf7c7211e5dabd1d
          name: 'Linux::Interface protocol types'
          mappings:
            -
              value: '0'
              newvalue: 'from KA9Q: NET/ROM pseudo'
            -
              value: '1'
              newvalue: Ethernet
            -
              value: '2'
              newvalue: 'Experimental Ethernet'
            -
              value: '3'
              newvalue: 'AX.25 Level 2'
            -
              value: '4'
              newvalue: 'PROnet token ring'
            -
              value: '5'
              newvalue: Chaosnet
            -
              value: '6'
              newvalue: 'IEEE 802.2 Ethernet/TR/TB'
            -
              value: '7'
              newvalue: ARCnet
            -
              value: '8'
              newvalue: APPLEtalk
            -
              value: '15'
              newvalue: 'Frame Relay DLCI'
            -
              value: '19'
              newvalue: ATM
            -
              value: '23'
              newvalue: 'Metricom STRIP (new IANA id)'
            -
              value: '24'
              newvalue: 'IEEE 1394 IPv4 - RFC 2734'
            -
              value: '27'
              newvalue: EUI-64
            -
              value: '32'
              newvalue: InfiniBand
            -
              value: '256'
              newvalue: ARPHRD_SLIP
            -
              value: '257'
              newvalue: ARPHRD_CSLIP
            -
              value: '258'
              newvalue: ARPHRD_SLIP6
            -
              value: '259'
              newvalue: ARPHRD_CSLIP6
            -
              value: '260'
              newvalue: 'Notional KISS type'
            -
              value: '264'
              newvalue: ARPHRD_ADAPT
            -
              value: '270'
              newvalue: ARPHRD_ROSE
            -
              value: '271'
              newvalue: 'CCITT X.25'
            -
              value: '272'
              newvalue: 'Boards with X.25 in firmware'
            -
              value: '280'
              newvalue: 'Controller Area Network'
            -
              value: '512'
              newvalue: ARPHRD_PPP
            -
              value: '513'
              newvalue: 'Cisco HDLC'
            -
              value: '516'
              newvalue: LAPB
            -
              value: '517'
              newvalue: 'Digital''s DDCMP protocol'
            -
              value: '518'
              newvalue: 'Raw HDLC'
            -
              value: '519'
              newvalue: 'Raw IP'
            -
              value: '768'
              newvalue: 'IPIP tunnel'
            -
              value: '769'
              newvalue: 'IP6IP6 tunnel'
            -
              value: '770'
              newvalue: 'Frame Relay Access Device'
            -
              value: '771'
              newvalue: 'SKIP vif'
            -
              value: '772'
              newvalue: 'Loopback device'
            -
              value: '773'
              newvalue: 'Localtalk device'
            -
              value: '774'
              newvalue: 'Fiber Distributed Data Interface'
            -
              value: '775'
              newvalue: 'AP1000 BIF'
            -
              value: '776'
              newvalue: 'sit0 device - IPv6-in-IPv4'
            -
              value: '777'
              newvalue: 'IP over DDP tunneller'
            -
              value: '778'
              newvalue: 'GRE over IP'
            -
              value: '779'
              newvalue: 'PIMSM register interface'
            -
              value: '780'
              newvalue: 'High Performance Parallel Interface'
            -
              value: '781'
              newvalue: 'Nexus 64Mbps Ash'
            -
              value: '782'
              newvalue: 'Acorn Econet'
            -
              value: '783'
              newvalue: Linux-IrDA
            -
              value: '784'
              newvalue: 'Point to point fibrechannel'
            -
              value: '785'
              newvalue: 'Fibrechannel arbitrated loop'
            -
              value: '786'
              newvalue: 'Fibrechannel public loop'
            -
              value: '787'
              newvalue: 'Fibrechannel fabric'
            -
              value: '800'
              newvalue: 'Magic type ident for TR'
            -
              value: '801'
              newvalue: 'IEEE 802.11'
            -
              value: '802'
              newvalue: 'IEEE 802.11 + Prism2 header'
            -
              value: '803'
              newvalue: 'IEEE 802.11 + radiotap header'
            -
              value: '804'
              newvalue: ARPHRD_IEEE802154
            -
              value: '805'
              newvalue: 'IEEE 802.15.4 network monitor'
            -
              value: '820'
              newvalue: 'PhoNet media type'
            -
              value: '821'
              newvalue: 'PhoNet pipe header'
            -
              value: '822'
              newvalue: 'CAIF media type'
            -
              value: '823'
              newvalue: 'GRE over IPv6'
            -
              value: '824'
              newvalue: 'Netlink header'
            -
              value: '825'
              newvalue: 'IPv6 over LoWPAN'
            -
              value: '826'
              newvalue: 'Vsock monitor header'
        -
          uuid: dcc1b851a17b4b5998a643672e36a612
          name: 'Service state'
          mappings:
            -
              value: '0'
              newvalue: Down
            -
              value: '1'
              newvalue: Up
        -
          uuid: 20fb3d5ef27b47c9bf366558dae97742
          name: zabbix.host.available
          mappings:
            -
              value: '0'
              newvalue: 'not available'
            -
              value: '1'
              newvalue: available
            -
              value: '2'
              newvalue: unknown
        -
          uuid: c0d8fc23f10e4ad8b3797273c36d7414
          name: 'Zabbix agent ping status'
          mappings:
            -
              value: '1'
              newvalue: Up
  triggers:
    -
      uuid: b7b719d29b97426db3ddff250856c4ae
      expression: 'last(/MT4 Template senhasegura/proc.num)/last(/MT4 Template senhasegura/kernel.maxproc)*100>80'
      name: 'Getting closer to process limit (over 80% used)'
      opdata: '{ITEM.LASTVALUE1} active, {ITEM.LASTVALUE2} limit.'
      priority: WARNING
    -
      uuid: 9bc17c8d359b4ad9ae78410ae276775b
      expression: 'min(/MT4 Template senhasegura/system.swap.size[,pfree],5m)<{$SWAP.PFREE.MIN.WARN} and last(/MT4 Template senhasegura/system.swap.size[,total])>0'
      name: 'High swap space usage ( less than {$SWAP.PFREE.MIN.WARN}% free)'
      opdata: 'Free: {ITEM.LASTVALUE1}, total: {ITEM.LASTVALUE2}'
      priority: WARNING
      description: 'This trigger is ignored, if there is no swap configured'
      dependencies:
        -
          name: 'High memory utilization ( >{$MEMORY.UTIL.MAX}% for 5m)'
          expression: 'min(/MT4 Template senhasegura/vm.memory.size[pavailable],5m)>{$MEMORY.UTIL.MAX}'
        -
          name: 'Lack of available memory ( < {$MEMORY.AVAILABLE.MIN} of {ITEM.VALUE2})'
          expression: 'min(/MT4 Template senhasegura/vm.memory.size[available],5m)<{$MEMORY.AVAILABLE.MIN} and last(/MT4 Template senhasegura/vm.memory.size[total])>0'
    -
      uuid: 1d0bc63d748544a9976d4085fd56aec7
      expression: 'min(/MT4 Template senhasegura/vm.memory.size[available],5m)<{$MEMORY.AVAILABLE.MIN} and last(/MT4 Template senhasegura/vm.memory.size[total])>0'
      name: 'Lack of available memory ( < {$MEMORY.AVAILABLE.MIN} of {ITEM.VALUE2})'
      opdata: 'Available: {ITEM.LASTVALUE1}, total: {ITEM.LASTVALUE2}'
      priority: AVERAGE
    -
      uuid: b382a7232edf47a8aa0fbea05936e67d
      expression: |
        min(/MT4 Template senhasegura/system.cpu.load[all,avg1],5m)/last(/MT4 Template senhasegura/system.cpu.num)>{$LOAD_AVG_PER_CPU.MAX.WARN}
        and last(/MT4 Template senhasegura/system.cpu.load[all,avg5])>0
        and last(/MT4 Template senhasegura/system.cpu.load[all,avg15])>0
      name: 'Load average is too high (per CPU load over {$LOAD_AVG_PER_CPU.MAX.WARN} for 5m)'
      opdata: 'Load averages(1m 5m 15m): ({ITEM.LASTVALUE1} {ITEM.LASTVALUE3} {ITEM.LASTVALUE4}), # of CPUs: {ITEM.LASTVALUE2}'
      priority: AVERAGE
      description: 'Per CPU load average is too high. Your system may be slow to respond.'
    -
      uuid: 5138a8ebc1ac4d6691ce293ee529d891
      expression: 'last(/MT4 Template senhasegura/web.test.fail[senhasegura_www])=1'
      name: url_check
      priority: DISASTER
  graphs:
    -
      uuid: fda0996cce61430fb7567875afa6152f
      name: 'Conexão HTTPS em localhost'
      graph_items:
        -
          color: 4000FF
          item:
            host: 'MT4 Template senhasegura'
            key: 'net.tcp.service[https,127.0.0.1]'
    -
      uuid: 99190748294341e483f0f831614675e2
      name: 'CPU jumps'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'MT4 Template senhasegura'
            key: system.cpu.switches
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'MT4 Template senhasegura'
            key: system.cpu.intr
    -
      uuid: 57109bd20c164eff802d499a64f499d3
      name: 'CPU usage'
      type: STACKED
      ymin_type_1: FIXED
      ymax_type_1: FIXED
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'MT4 Template senhasegura'
            key: 'system.cpu.util[,system]'
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'MT4 Template senhasegura'
            key: 'system.cpu.util[,user]'
        -
          sortorder: '2'
          color: F63100
          item:
            host: 'MT4 Template senhasegura'
            key: 'system.cpu.util[,nice]'
        -
          sortorder: '3'
          color: A54F10
          item:
            host: 'MT4 Template senhasegura'
            key: 'system.cpu.util[,iowait]'
        -
          sortorder: '4'
          color: FC6EA3
          item:
            host: 'MT4 Template senhasegura'
            key: 'system.cpu.util[,steal]'
        -
          sortorder: '5'
          color: 6C59DC
          item:
            host: 'MT4 Template senhasegura'
            key: 'system.cpu.util[,interrupt]'
        -
          sortorder: '6'
          color: AC8C14
          item:
            host: 'MT4 Template senhasegura'
            key: 'system.cpu.util[,softirq]'
        -
          sortorder: '7'
          color: 611F27
          item:
            host: 'MT4 Template senhasegura'
            key: 'system.cpu.util[,guest]'
        -
          sortorder: '8'
          color: F230E0
          item:
            host: 'MT4 Template senhasegura'
            key: 'system.cpu.util[,guest_nice]'
    -
      uuid: 2ad6d54b196844c3bdeaec3532bcfd6f
      name: 'CPU utilization'
      ymin_type_1: FIXED
      ymax_type_1: FIXED
      graph_items:
        -
          drawtype: GRADIENT_LINE
          color: 1A7C11
          item:
            host: 'MT4 Template senhasegura'
            key: system.cpu.util
    -
      uuid: d2ee8299cdfc41c2acc355c780e394fa
      name: 'Download speed for scenario "senhasegura_www".'
      graph_items:
        -
          drawtype: GRADIENT_LINE
          color: 4527A0
          item:
            host: 'MT4 Template senhasegura'
            key: 'web.test.in[senhasegura_www,,bps]'
    -
      uuid: 1a87fbb412f44f8aa72a2020753ccf80
      name: 'Download speed for step "health status" of scenario "senhasegura_www".'
      graph_items:
        -
          drawtype: GRADIENT_LINE
          color: FFEB3B
          item:
            host: 'MT4 Template senhasegura'
            key: 'web.test.in[senhasegura_www,health status,bps]'
    -
      uuid: cd29d8a0663b41c6912afc6cc762ba88
      name: 'Failed step of scenario "senhasegura_www".'
      graph_items:
        -
          drawtype: GRADIENT_LINE
          color: C62828
          item:
            host: 'MT4 Template senhasegura'
            key: 'web.test.fail[senhasegura_www]'
    -
      uuid: 1955aea55670419ea50e7c20ab145752
      name: 'Listener do Guacamole'
      graph_items:
        -
          drawtype: GRADIENT_LINE
          color: 199C0D
          item:
            host: 'MT4 Template senhasegura'
            key: 'net.tcp.listen[4822]'
    -
      uuid: fe215681727e44ed831023e93ed7d156
      name: 'Listener do MariaDB'
      graph_items:
        -
          drawtype: GRADIENT_LINE
          color: 00BFFF
          item:
            host: 'MT4 Template senhasegura'
            key: 'net.tcp.listen[3306]'
    -
      uuid: 8c57bf7587e246bcb5932dcfbff155a7
      name: 'Listener do XRDP'
      graph_items:
        -
          drawtype: GRADIENT_LINE
          color: 00FF00
          item:
            host: 'MT4 Template senhasegura'
            key: 'net.tcp.listen[3389]'
    -
      uuid: 0883800b58594299be35c85185236aab
      name: 'Memory usage'
      ymin_type_1: FIXED
      graph_items:
        -
          drawtype: BOLD_LINE
          color: 1A7C11
          item:
            host: 'MT4 Template senhasegura'
            key: 'vm.memory.size[total]'
        -
          sortorder: '1'
          drawtype: GRADIENT_LINE
          color: 2774A4
          item:
            host: 'MT4 Template senhasegura'
            key: 'vm.memory.size[available]'
    -
      uuid: ed3db324cb2a44e4b8c50e79e0851528
      name: 'Memory utilization'
      ymin_type_1: FIXED
      ymax_type_1: FIXED
      graph_items:
        -
          drawtype: GRADIENT_LINE
          color: 1A7C11
          item:
            host: 'MT4 Template senhasegura'
            key: 'vm.memory.size[pavailable]'
    -
      uuid: 26eed9f300c44f53b530be6c251f079a
      name: 'MySQL bandwidth'
      graph_items:
        -
          drawtype: GRADIENT_LINE
          color: 00AA00
          item:
            host: 'MT4 Template senhasegura'
            key: mysql.bytes_received.rate
        -
          sortorder: '1'
          drawtype: GRADIENT_LINE
          color: 3333FF
          item:
            host: 'MT4 Template senhasegura'
            key: mysql.bytes_sent.rate
    -
      uuid: 8135848a8b29420da8300008e519d24f
      name: 'MySQL connections'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'MT4 Template senhasegura'
            key: mysql.aborted_clients.rate
        -
          sortorder: '1'
          color: F63100
          item:
            host: 'MT4 Template senhasegura'
            key: mysql.aborted_connects.rate
        -
          sortorder: '2'
          color: 2774A4
          item:
            host: 'MT4 Template senhasegura'
            key: mysql.connections.rate
        -
          sortorder: '3'
          color: A54F10
          item:
            host: 'MT4 Template senhasegura'
            key: mysql.max_used_connections
    -
      uuid: 03cd0af686e74bbda18838b76d42b485
      name: 'MySQL InnoDB buffer pool'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'MT4 Template senhasegura'
            key: mysql.innodb_buffer_pool_pages_free
        -
          sortorder: '1'
          color: F63100
          item:
            host: 'MT4 Template senhasegura'
            key: mysql.innodb_buffer_pool_pages_total
        -
          sortorder: '2'
          color: 2774A4
          item:
            host: 'MT4 Template senhasegura'
            key: mysql.innodb_buffer_pool_read_requests
        -
          sortorder: '3'
          color: A54F10
          item:
            host: 'MT4 Template senhasegura'
            key: mysql.innodb_buffer_pool_reads
    -
      uuid: 44bbe900d4f04082b6240df818f6f9e1
      name: 'MySQL operations'
      graph_items:
        -
          color: C80000
          item:
            host: 'MT4 Template senhasegura'
            key: mysql.com_delete.rate
        -
          sortorder: '1'
          color: 0000EE
          item:
            host: 'MT4 Template senhasegura'
            key: mysql.com_insert.rate
        -
          sortorder: '2'
          color: 00C800
          item:
            host: 'MT4 Template senhasegura'
            key: mysql.com_select.rate
        -
          sortorder: '3'
          color: C800C8
          item:
            host: 'MT4 Template senhasegura'
            key: mysql.com_update.rate
    -
      uuid: 15d1db17a3d643c6ae402260f2eee790
      name: 'MySQL queries'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'MT4 Template senhasegura'
            key: mysql.slow_queries.rate
        -
          sortorder: '1'
          color: F63100
          item:
            host: 'MT4 Template senhasegura'
            key: mysql.queries.rate
        -
          sortorder: '2'
          color: 2774A4
          item:
            host: 'MT4 Template senhasegura'
            key: mysql.questions.rate
    -
      uuid: 30bff43fee0241fe94d455be9c7458cc
      name: 'MySQL threads'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'MT4 Template senhasegura'
            key: mysql.threads_cached
        -
          sortorder: '1'
          color: F63100
          item:
            host: 'MT4 Template senhasegura'
            key: mysql.threads_connected
        -
          sortorder: '2'
          color: 2774A4
          item:
            host: 'MT4 Template senhasegura'
            key: mysql.threads_created
        -
          sortorder: '3'
          color: A54F10
          item:
            host: 'MT4 Template senhasegura'
            key: mysql.threads_running
    -
      uuid: 42d98c9ab8594e2f942d74dcacbe2c66
      name: Processes
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'MT4 Template senhasegura'
            key: proc.num
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'MT4 Template senhasegura'
            key: 'proc.num[,,run]'
        -
          sortorder: '2'
          color: F63100
          item:
            host: 'MT4 Template senhasegura'
            key: kernel.maxproc
    -
      uuid: 03c830cd2d6b4f39bde967b8b93e0b19
      name: 'Processo do Guacamole'
      graph_items:
        -
          drawtype: GRADIENT_LINE
          color: 00897B
          item:
            host: 'MT4 Template senhasegura'
            key: 'proc.num[guacd, fajita]'
    -
      uuid: bf19f7fc7be74a6c9046efb08a258414
      name: 'Processo do MariaDB'
      graph_items:
        -
          drawtype: GRADIENT_LINE
          color: 546E7A
          item:
            host: 'MT4 Template senhasegura'
            key: 'proc.num[mysqld, mysql]'
    -
      uuid: 7815601723394f548668ff96409e485b
      name: 'Processo do Nginx'
      graph_items:
        -
          drawtype: GRADIENT_LINE
          color: 6A1B9A
          item:
            host: 'MT4 Template senhasegura'
            key: 'proc.num[nginx, root]'
    -
      uuid: 26a9fb64ff7e47948842162aa25eda56
      name: 'Processo do PHP5-FPM'
      graph_items:
        -
          drawtype: GRADIENT_LINE
          color: E64A19
          item:
            host: 'MT4 Template senhasegura'
            key: 'proc.num[,,,dockerd]'
    -
      uuid: f6fb48d5bcda47349c0a7fab576c6fed
      name: 'Processo do Rsyslog'
      graph_items:
        -
          drawtype: GRADIENT_LINE
          color: D32F2F
          item:
            host: 'MT4 Template senhasegura'
            key: 'proc.num[rsyslogd, root]'
    -
      uuid: 64b7cef2379546e694373a6b482dd83d
      name: 'Processo do sshd'
      graph_items:
        -
          drawtype: GRADIENT_LINE
          color: C0CA33
          item:
            host: 'MT4 Template senhasegura'
            key: 'proc.num[sshd, root]'
    -
      uuid: b61f6da5c6ce4964ad5704ca8e697df2
      name: 'Processo do Tomcat'
      graph_items:
        -
          drawtype: GRADIENT_LINE
          color: F57F17
          item:
            host: 'MT4 Template senhasegura'
            key: 'proc.num[,,,tomcat7]'
    -
      uuid: 9733ea30af2740efb9601a0de5001335
      name: 'Processos do CRON'
      graph_items:
        -
          drawtype: GRADIENT_LINE
          color: CDDC39
          item:
            host: 'MT4 Template senhasegura'
            key: 'proc.num[cron, root]'
    -
      uuid: 076d9c69d9a44c53b8a1d05e22f2d85d
      name: 'Response code for step "health status" of scenario "senhasegura_www".'
      graph_items:
        -
          drawtype: GRADIENT_LINE
          color: 5E35B1
          item:
            host: 'MT4 Template senhasegura'
            key: 'web.test.rspcode[senhasegura_www,health status]'
    -
      uuid: 3d4848a4501d4f3bb93d36b64b0bbee0
      name: 'Response time for step "health status" of scenario "senhasegura_www".'
      graph_items:
        -
          drawtype: GRADIENT_LINE
          color: 26C6DA
          item:
            host: 'MT4 Template senhasegura'
            key: 'web.test.time[senhasegura_www,health status,resp]'
    -
      uuid: ba011c91a9b3466385130703776abc4a
      name: 'Swap usage'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'MT4 Template senhasegura'
            key: 'system.swap.size[,free]'
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'MT4 Template senhasegura'
            key: 'system.swap.size[,total]'
    -
      uuid: b9e76280bb5d4625a4ee3513f04016e9
      name: 'System load'
      ymin_type_1: FIXED
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'MT4 Template senhasegura'
            key: 'system.cpu.load[all,avg1]'
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'MT4 Template senhasegura'
            key: 'system.cpu.load[all,avg5]'
        -
          sortorder: '2'
          color: F63100
          item:
            host: 'MT4 Template senhasegura'
            key: 'system.cpu.load[all,avg15]'
        -
          sortorder: '3'
          color: A54F10
          yaxisside: RIGHT
          item:
            host: 'MT4 Template senhasegura'
            key: system.cpu.num
