<zabbix_export>
  <version>7.4</version>
  <template_groups>
    <template_group>
      <uuid>748ad4d098d447d492bb935c907f652f</uuid>
      <name>Templates/Databases</name>
    </template_group>
  </template_groups>
  <host_groups>
    <host_group>
      <uuid>ea2ef9b0d0954f999f4973633b485340</uuid>
      <name>Databases</name>
    </host_group>
  </host_groups>
  <templates>
    <template>
      <uuid>ab64492ca7794e178804ed416a11dd68</uuid>
      <template>Template DB SAP HANA by Zabbix agent 2</template>
      <name>Template DB SAP HANA by Zabbix agent 2</name>
      <description>-- Create SAP HANA user for monitoring --

CREATE RESTRICTED USER ZABBIX PASSWORD &lt;PASSWORD&gt; NO FORCE_FIRST_PASSWORD_CHANGE VALID FROM NOW UNTIL FOREVER AUTHORIZATION LOCAL;
ALTER USER ZABBIX ENABLE CLIENT CONNECT;
CREATE ROLE ZABBIX_MONITORING;
GRANT CATALOG READ TO ZABBIX_MONITORING;
GRANT SELECT ON PUBLIC.M_BACKUP_CATALOG TO ZABBIX_MONITORING;
GRANT SELECT ON PUBLIC.M_BACKUP_CATALOG_FILES TO ZABBIX_MONITORING;
GRANT SELECT ON PUBLIC.M_DATABASE TO ZABBIX_MONITORING;
GRANT SELECT ON PUBLIC.M_DATABASES TO ZABBIX_MONITORING;
GRANT SELECT ON PUBLIC.M_DISKS TO ZABBIX_MONITORING;
GRANT SELECT ON PUBLIC.M_FEATURE_USAGE TO ZABBIX_MONITORING;
GRANT SELECT ON PUBLIC.M_HOST_INFORMATION TO ZABBIX_MONITORING;
GRANT SELECT ON PUBLIC.M_HOST_NETWORK_STATISTICS TO ZABBIX_MONITORING;
GRANT SELECT ON PUBLIC.M_HOST_RESOURCE_UTILIZATION TO ZABBIX_MONITORING;
GRANT SELECT ON PUBLIC.M_LICENSE TO ZABBIX_MONITORING;
GRANT SELECT ON PUBLIC.M_SERVICE_MEMORY TO ZABBIX_MONITORING;
GRANT SELECT ON PUBLIC.M_SERVICE_REPLICATION TO ZABBIX_MONITORING;
GRANT SELECT ON PUBLIC.M_SERVICE_STATISTICS TO ZABBIX_MONITORING;
GRANT SELECT ON PUBLIC.M_SERVICES TO ZABBIX_MONITORING;
GRANT SELECT ON PUBLIC.M_SQL_PLAN_CACHE TO ZABBIX_MONITORING;
GRANT SELECT ON PUBLIC.M_VOLUMES TO ZABBIX_MONITORING;
GRANT SELECT ON PUBLIC.M_VOLUME_IO_TOTAL_STATISTICS TO ZABBIX_MONITORING;
GRANT SELECT ON PUBLIC.M_VOLUME_SIZES TO ZABBIX_MONITORING;
GRANT SELECT ON PUBLIC.M_TRACEFILES TO ZABBIX_MONITORING;
GRANT SELECT ON SYS_DATABASES.M_SERVICES TO ZABBIX_MONITORING;
GRANT SELECT ON _SYS_STATISTICS.STATISTICS_ALERTS TO ZABBIX_MONITORING;
GRANT SELECT ON _SYS_STATISTICS.STATISTICS_CURRENT_ALERTS TO ZABBIX_MONITORING;
GRANT SELECT ON DUMMY TO ZABBIX_MONITORING;
GRANT ZABBIX_MONITORING TO ZABBIX;

-- Version: 154-9ecdcd5 --</description>
      <groups>
        <group>
          <name>Templates/Databases</name>
        </group>
      </groups>
      <items>
        <item>
          <uuid>93ca8d7ae3e140d6b6f1a77fb010e61f</uuid>
          <name>SAP HANA: Get CPU</name>
          <key>sap.hana.cpu["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          <history>0</history>
          <value_type>TEXT</value_type>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Zabbix raw items</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>f82712dc3f4e4c419942cf2a4b171bc3</uuid>
          <name>CPU: Idle time</name>
          <type>DEPENDENT</type>
          <key>sap.hana.cpu[idle]</key>
          <history>7d</history>
          <value_type>FLOAT</value_type>
          <units>%</units>
          <description>Displays the CPU idle time in percentage.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.cpu_idle_time</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.cpu["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: CPU</value>
            </tag>
          </tags>
          <triggers>
            <trigger>
              <uuid>0fc84f0153ce470a83e40b5883d505ad</uuid>
              <expression>max(/Template DB SAP HANA by Zabbix agent 2/sap.hana.cpu[idle],15m)&lt;100-{$SAP.HANA.CPU.WARN}</expression>
              <name>High CPU utilization (over {$SAP.HANA.CPU.WARN}% for 15m)</name>
              <priority>WARNING</priority>
            </trigger>
          </triggers>
        </item>
        <item>
          <uuid>4801f33f2a804070aa87b7a122a9cab1</uuid>
          <name>CPU: System time</name>
          <type>DEPENDENT</type>
          <key>sap.hana.cpu[system]</key>
          <history>7d</history>
          <value_type>FLOAT</value_type>
          <units>%</units>
          <description>Displays the CPU time spent in the kernel mode in percentage.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.cpu_system_time</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.cpu["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: CPU</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>a569df55f5c54860beee0c137c8db98e</uuid>
          <name>CPU: User time</name>
          <type>DEPENDENT</type>
          <key>sap.hana.cpu[user]</key>
          <history>7d</history>
          <value_type>FLOAT</value_type>
          <units>%</units>
          <description>Displays the CPU time spent in the user mode in percentage.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.cpu_user_time</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.cpu["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: CPU</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>d3d1af70e3904d35a88be58439e874d5</uuid>
          <name>CPU: WaitIO time</name>
          <type>DEPENDENT</type>
          <key>sap.hana.cpu[waitio]</key>
          <history>7d</history>
          <value_type>FLOAT</value_type>
          <units>%</units>
          <description>Displays the CPU time spent in wait I/O in percentage.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.cpu_waitio_time</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.cpu["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: CPU</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>534f6d3a1e54470baf7448387de612ba</uuid>
          <name>SAP HANA: Custom query</name>
          <key>sap.hana.custom.query["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","&lt;database&gt;","&lt;query&gt;","&lt;param1&gt;","&lt;paramN&gt;"]</key>
          <history>1h</history>
          <value_type>TEXT</value_type>
          <status>DISABLED</status>
          <description>Execute custom queries from file *.sql (check for option Plugins.SAPHANA.CustomQueriesPath at agent configuration)</description>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>5eb6bb58ab4b43a3a3da631c5e920052</uuid>
          <name>SAP HANA: Database ping</name>
          <key>sap.hana.db.ping["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          <history>90d</history>
          <valuemap>
            <name>Service state</name>
          </valuemap>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA</value>
            </tag>
          </tags>
          <triggers>
            <trigger>
              <uuid>e22a9b8eb8674f4ebb9c3dab4a6b42a4</uuid>
              <expression>last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.db.ping["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"])=0</expression>
              <name>Database is unreachable</name>
              <opdata>{ITEM.LASTVALUE}</opdata>
              <priority>HIGH</priority>
            </trigger>
          </triggers>
        </item>
        <item>
          <uuid>55f7043ca82849968b7960a48070cdfc</uuid>
          <name>SAP HANA: Get License</name>
          <key>sap.hana.license["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          <delay>1h</delay>
          <history>0</history>
          <value_type>TEXT</value_type>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Zabbix raw items</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>e1d8a2b72a9743ba97f9f70584c26dd7</uuid>
          <name>License: Expiration date</name>
          <type>DEPENDENT</type>
          <key>sap.hana.license[expiration_date]</key>
          <history>7d</history>
          <units>unixtime</units>
          <description>Displays the expiration date of the validity period of the license.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.expiration_date</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.license["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: License</value>
            </tag>
          </tags>
          <triggers>
            <trigger>
              <uuid>104c4ee51aa84fa2817b54ce45c525a5</uuid>
              <expression>now()+86400*{$SAP.HANA.LICENSE.EXPIRATION.DAYS.AVG}&gt;last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.license[expiration_date]) and last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.license[expiration_date])&lt;&gt;0</expression>
              <name>SAP HANA License is about to expire (&lt; {$SAP.HANA.LICENSE.EXPIRATION.DAYS.AVG} days left)</name>
              <opdata>{ITEM.LASTVALUE}</opdata>
              <priority>AVERAGE</priority>
              <dependencies>
                <dependency>
                  <name>SAP HANA License is about to expire (&lt; {$SAP.HANA.LICENSE.EXPIRATION.DAYS.HIGH} days left)</name>
                  <expression>now()+86400*{$SAP.HANA.LICENSE.EXPIRATION.DAYS.HIGH}&gt;last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.license[expiration_date]) and last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.license[expiration_date])&lt;&gt;0</expression>
                </dependency>
              </dependencies>
            </trigger>
            <trigger>
              <uuid>39060fd3369b4bba81b5da6328a79489</uuid>
              <expression>now()+86400*{$SAP.HANA.LICENSE.EXPIRATION.DAYS.HIGH}&gt;last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.license[expiration_date]) and last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.license[expiration_date])&lt;&gt;0</expression>
              <name>SAP HANA License is about to expire (&lt; {$SAP.HANA.LICENSE.EXPIRATION.DAYS.HIGH} days left)</name>
              <opdata>{ITEM.LASTVALUE}</opdata>
              <priority>HIGH</priority>
              <dependencies>
                <dependency>
                  <name>SAP HANA License is expired</name>
                  <expression>now()&gt;last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.license[expiration_date]) and last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.license[expiration_date])&lt;&gt;0</expression>
                </dependency>
              </dependencies>
            </trigger>
            <trigger>
              <uuid>16f2628c8a7848dfa8dfd771260957e6</uuid>
              <expression>now()+86400*{$SAP.HANA.LICENSE.EXPIRATION.DAYS.WARN}&gt;last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.license[expiration_date]) and last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.license[expiration_date])&lt;&gt;0</expression>
              <name>SAP HANA License is about to expire (&lt; {$SAP.HANA.LICENSE.EXPIRATION.DAYS.WARN} days left)</name>
              <opdata>{ITEM.LASTVALUE}</opdata>
              <priority>WARNING</priority>
              <dependencies>
                <dependency>
                  <name>SAP HANA License is about to expire (&lt; {$SAP.HANA.LICENSE.EXPIRATION.DAYS.AVG} days left)</name>
                  <expression>now()+86400*{$SAP.HANA.LICENSE.EXPIRATION.DAYS.AVG}&gt;last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.license[expiration_date]) and last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.license[expiration_date])&lt;&gt;0</expression>
                </dependency>
              </dependencies>
            </trigger>
            <trigger>
              <uuid>61dcc702b68943968ab37541a1f5f77d</uuid>
              <expression>now()&gt;last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.license[expiration_date]) and last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.license[expiration_date])&lt;&gt;0</expression>
              <name>SAP HANA License is expired</name>
              <opdata>{ITEM.LASTVALUE}</opdata>
              <priority>HIGH</priority>
            </trigger>
          </triggers>
        </item>
        <item>
          <uuid>7840fd13d2a341b6bb5a27fb40dbcd2b</uuid>
          <name>License: Hardware key</name>
          <type>DEPENDENT</type>
          <key>sap.hana.license[hardware_key]</key>
          <history>7d</history>
          <value_type>CHAR</value_type>
          <description>Displays the hardware key.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.hardware_key</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.license["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: License</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>eb191edfed7e4df48d065846a13265fc</uuid>
          <name>License: Install number</name>
          <type>DEPENDENT</type>
          <key>sap.hana.license[install_number]</key>
          <history>7d</history>
          <value_type>CHAR</value_type>
          <description>Displays the installation number.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.install_number</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.license["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: License</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>272bea1c8ccc4e3e9df84bbf331d4103</uuid>
          <name>License: Last successful check</name>
          <type>DEPENDENT</type>
          <key>sap.hana.license[last_successful_check]</key>
          <history>7d</history>
          <units>unixtime</units>
          <description>Displays the latest date on which the license was successfully checked and found valid.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.last_successful_check</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.license["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: License</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>244b53ee09bb4249b66dbf1add8b84d2</uuid>
          <name>License: Locked down</name>
          <type>DEPENDENT</type>
          <key>sap.hana.license[locked_down]</key>
          <history>7d</history>
          <description>Indicates whether the system is locked down due to license status.</description>
          <valuemap>
            <name>SAP HANA boolean</name>
          </valuemap>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.locked_down</parameter>
              </parameters>
            </step>
            <step>
              <type>BOOL_TO_DECIMAL</type>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.license["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: License</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>060167b0f39643d991418331985760f6</uuid>
          <name>License: Permanent</name>
          <type>DEPENDENT</type>
          <key>sap.hana.license[permanent]</key>
          <history>7d</history>
          <description>Displays TRUE if the license is permanent and FALSE if the license is temporary.</description>
          <valuemap>
            <name>SAP HANA boolean</name>
          </valuemap>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.permanent</parameter>
              </parameters>
            </step>
            <step>
              <type>BOOL_TO_DECIMAL</type>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.license["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: License</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>9155aa4bc3fd4e56b06a23e8ae91720c</uuid>
          <name>License: Product limit</name>
          <type>DEPENDENT</type>
          <key>sap.hana.license[product_limit]</key>
          <history>7d</history>
          <units>B</units>
          <description>Displays the licensed amount of main memory as specified by the license.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.product_limit</parameter>
              </parameters>
            </step>
            <step>
              <type>MULTIPLIER</type>
              <parameters>
                <parameter>1024</parameter>
              </parameters>
            </step>
            <step>
              <type>MULTIPLIER</type>
              <parameters>
                <parameter>1024</parameter>
              </parameters>
            </step>
            <step>
              <type>MULTIPLIER</type>
              <parameters>
                <parameter>1024</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.license["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: License</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>4f83c994f052493cb2cbac0fc2739841</uuid>
          <name>License: Product name</name>
          <type>DEPENDENT</type>
          <key>sap.hana.license[product_name]</key>
          <history>7d</history>
          <value_type>CHAR</value_type>
          <description>Displays the name of the licensed software product.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.product_name</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.license["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: License</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>ddebc778df6b487aac63a8495a4535ec</uuid>
          <name>License: Product usage</name>
          <type>DEPENDENT</type>
          <key>sap.hana.license[product_usage]</key>
          <history>7d</history>
          <units>B</units>
          <description>Displays the peak memory allocation.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.product_usage</parameter>
              </parameters>
            </step>
            <step>
              <type>MULTIPLIER</type>
              <parameters>
                <parameter>1024</parameter>
              </parameters>
            </step>
            <step>
              <type>MULTIPLIER</type>
              <parameters>
                <parameter>1024</parameter>
              </parameters>
            </step>
            <step>
              <type>MULTIPLIER</type>
              <parameters>
                <parameter>1024</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.license["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: License</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>9c3cbd58f4d841c3bed76e7476183441</uuid>
          <name>License: Start date</name>
          <type>DEPENDENT</type>
          <key>sap.hana.license[start_date]</key>
          <history>7d</history>
          <units>unixtime</units>
          <description>Displays the start date of the validity period of the license.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.start_date</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.license["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: License</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>0e7cfc459cdf49488f6d022f2783530a</uuid>
          <name>License: System id</name>
          <type>DEPENDENT</type>
          <key>sap.hana.license[system_id]</key>
          <history>7d</history>
          <value_type>CHAR</value_type>
          <description>Displays the System Identifier.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.system_id</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.license["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: License</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>544bccd7bb334f64ad209f274302e189</uuid>
          <name>License: System number</name>
          <type>DEPENDENT</type>
          <key>sap.hana.license[system_number]</key>
          <history>7d</history>
          <value_type>CHAR</value_type>
          <description>Displays the system number.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.system_number</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.license["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: License</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>bfa2ff3b23c14b87a8ae6329bf00f5b7</uuid>
          <name>License: Usage</name>
          <type>DEPENDENT</type>
          <key>sap.hana.license[usage]</key>
          <history>7d</history>
          <value_type>CHAR</value_type>
          <description>Displays the database license usage type.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.usage</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.license["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: License</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>3f3496a3952b4707aefece5853cfbdae</uuid>
          <name>License: Valid</name>
          <type>DEPENDENT</type>
          <key>sap.hana.license[valid]</key>
          <history>7d</history>
          <description>Indicates whether the license is valid or not.</description>
          <valuemap>
            <name>SAP HANA boolean</name>
          </valuemap>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.valid</parameter>
              </parameters>
            </step>
            <step>
              <type>BOOL_TO_DECIMAL</type>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.license["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: License</value>
            </tag>
          </tags>
          <triggers>
            <trigger>
              <uuid>b89cdf1b6da54d3fb595cf771f7b585a</uuid>
              <expression>last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.license[valid])&lt;&gt;1</expression>
              <name>SAP HANA License is not valid</name>
              <opdata>{ITEM.LASTVALUE}</opdata>
              <priority>HIGH</priority>
            </trigger>
          </triggers>
        </item>
        <item>
          <uuid>02784340484f4d15a2a3044fc563b92e</uuid>
          <name>SAP HANA: Get Memory</name>
          <key>sap.hana.memory["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          <history>0</history>
          <value_type>TEXT</value_type>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Zabbix raw items</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>b2100191489142bca975852cd3996050</uuid>
          <name>Memory: Instance code size</name>
          <type>DEPENDENT</type>
          <key>sap.hana.memory[code,size]</key>
          <history>7d</history>
          <units>B</units>
          <description>Displays the code size, including shared libraries of processes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.instance_code_size</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.memory["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: Memory</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>10841f0acaec44188cf225335cf9b4a0</uuid>
          <name>Memory: Allocation limit</name>
          <type>DEPENDENT</type>
          <key>sap.hana.memory[limit]</key>
          <history>7d</history>
          <units>B</units>
          <description>Displays the allocation limit for all processes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.allocation_limit</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.memory["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: Memory</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>6399c7a28ca24c8eb2bbd7cd6fde7772</uuid>
          <name>Memory: Instance memory allocated</name>
          <type>DEPENDENT</type>
          <key>sap.hana.memory[memory,allocated]</key>
          <history>7d</history>
          <units>B</units>
          <description>Displays the size of the memory pool for all processes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.instance_memory_allocated</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.memory["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: Memory</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>e416e08d7941443c953fc17cb32e85a1</uuid>
          <name>Memory: Instance memory used</name>
          <type>DEPENDENT</type>
          <key>sap.hana.memory[memory,used]</key>
          <history>7d</history>
          <units>B</units>
          <description>Displays the amount of memory from the memory pool that is currently being used by processes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.instance_memory_used</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.memory["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: Memory</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>d825d16a7bd64cfbac5c5825628339cd</uuid>
          <name>Memory: Physical free</name>
          <type>DEPENDENT</type>
          <key>sap.hana.memory[physical,free]</key>
          <history>7d</history>
          <units>B</units>
          <description>Displays the free physical memory on the host.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.physical_memory_free</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.memory["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: Memory</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>c982334724994fe586b049f770b97d44</uuid>
          <name>Memory: Physical used</name>
          <type>DEPENDENT</type>
          <key>sap.hana.memory[physical,used]</key>
          <history>7d</history>
          <units>B</units>
          <description>Displays the used physical memory on the host.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.physical_memory_used</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.memory["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: Memory</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>9a9a0ae0ec2c40ae806abc9cd443d9e8</uuid>
          <name>Memory: Instance peak used</name>
          <type>DEPENDENT</type>
          <key>sap.hana.memory[shared,peak]</key>
          <history>7d</history>
          <units>B</units>
          <description>Displays the peak memory from the memory pool used since the instance started in bytes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.instance_peak_used</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.memory["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: Memory</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>6bb40c40f2d84411bd7b28da163ae3ae</uuid>
          <name>Memory: Instance shared size</name>
          <type>DEPENDENT</type>
          <key>sap.hana.memory[shared,size]</key>
          <history>7d</history>
          <units>B</units>
          <description>Displays the shared memory size of processes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.instance_shared_size</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.memory["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: Memory</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>eea9630adbe4431bafda21408a93414e</uuid>
          <name>Memory: Swap free</name>
          <type>DEPENDENT</type>
          <key>sap.hana.memory[swap,free]</key>
          <history>7d</history>
          <units>B</units>
          <description>Displays the free swap memory on the host.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.swap_space_free</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.memory["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: Memory</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>18420b3a38744c8aa24ffd532e07ded2</uuid>
          <name>Memory: Swap used</name>
          <type>DEPENDENT</type>
          <key>sap.hana.memory[swap,used]</key>
          <history>7d</history>
          <units>B</units>
          <description>Displays the used swap memory on the host.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.swap_space_used</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.memory["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: Memory</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>682d740f31ae453487b5bed27e213c76</uuid>
          <name>SAP HANA: Get Network</name>
          <key>sap.hana.network["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          <history>0</history>
          <value_type>TEXT</value_type>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Zabbix raw items</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>5ed1d7431fb94ea3a314f0c99272cd36</uuid>
          <name>Network: bad packets</name>
          <type>DEPENDENT</type>
          <key>sap.hana.network[bad]</key>
          <history>7d</history>
          <units>packets</units>
          <description>Displays the number of TCP segments that were broken upon receiving.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.network_bad</parameter>
              </parameters>
            </step>
            <step>
              <type>SIMPLE_CHANGE</type>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.network["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: Network</value>
            </tag>
          </tags>
          <triggers>
            <trigger>
              <uuid>e0dd8a77a1a44187af72c4b7d4180919</uuid>
              <expression>min(/Template DB SAP HANA by Zabbix agent 2/sap.hana.network[bad],5m)&gt;0</expression>
              <name>High rate of bad TCP segments</name>
              <priority>WARNING</priority>
            </trigger>
          </triggers>
        </item>
        <item>
          <uuid>766207c7df784a50879ef14f06ca3253</uuid>
          <name>Network: packets received</name>
          <type>DEPENDENT</type>
          <key>sap.hana.network[received]</key>
          <history>7d</history>
          <units>packets</units>
          <description>Displays the total number of TCP segments received.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.network_received</parameter>
              </parameters>
            </step>
            <step>
              <type>SIMPLE_CHANGE</type>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.network["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: Network</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>33e1da2b419141efbcc4cc96c6f71ba2</uuid>
          <name>Network: packets retransmitted</name>
          <type>DEPENDENT</type>
          <key>sap.hana.network[retransmitted]</key>
          <history>7d</history>
          <units>packets</units>
          <description>Displays the number of TCP segments that had to be retransmitted.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.network_retransmitted</parameter>
              </parameters>
            </step>
            <step>
              <type>SIMPLE_CHANGE</type>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.network["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: Network</value>
            </tag>
          </tags>
          <triggers>
            <trigger>
              <uuid>358a0eaf9c3e4a1896c3168194e09cd8</uuid>
              <expression>min(/Template DB SAP HANA by Zabbix agent 2/sap.hana.network[retransmitted],5m)&gt;0</expression>
              <name>High rate of retransmitted TCP segments</name>
              <priority>WARNING</priority>
            </trigger>
          </triggers>
        </item>
        <item>
          <uuid>239c082efd7947ff86c3f705dee13bd6</uuid>
          <name>Network: packets sent</name>
          <type>DEPENDENT</type>
          <key>sap.hana.network[sent]</key>
          <history>7d</history>
          <units>packets</units>
          <description>Displays the total number of TCP segments sent out.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.network_sent</parameter>
              </parameters>
            </step>
            <step>
              <type>SIMPLE_CHANGE</type>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.network["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: Network</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>0be2af42b10d4720b942a865aab91da2</uuid>
          <name>SAP HANA: Get Plugin License</name>
          <key>sap.hana.plugin.license</key>
          <delay>1h</delay>
          <history>0</history>
          <value_type>TEXT</value_type>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Zabbix raw items</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>d994d77aedb5425bb388d988d13fb1ff</uuid>
          <name>Plugin License: Expiration date</name>
          <type>DEPENDENT</type>
          <key>sap.hana.plugin.license[expiry]</key>
          <history>7d</history>
          <units>unixtime</units>
          <description>Displays the expiration date of the plugin license.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.expiry</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.plugin.license</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: Plugin License</value>
            </tag>
          </tags>
          <triggers>
            <trigger>
              <uuid>ec03620f032a4ac683780deaaa7246a7</uuid>
              <expression>now()+86400*{$SAP.HANA.LICENSE.EXPIRATION.DAYS.AVG}&gt;last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.plugin.license[expiry]) and last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.plugin.license[expiry])&lt;&gt;0</expression>
              <name>SAP HANA Plugin License is about to expire (&lt; {$SAP.HANA.LICENSE.EXPIRATION.DAYS.AVG} days left)</name>
              <opdata>{ITEM.LASTVALUE}</opdata>
              <priority>AVERAGE</priority>
              <dependencies>
                <dependency>
                  <name>SAP HANA Plugin License is about to expire (&lt; {$SAP.HANA.LICENSE.EXPIRATION.DAYS.HIGH} days left)</name>
                  <expression>now()+86400*{$SAP.HANA.LICENSE.EXPIRATION.DAYS.HIGH}&gt;last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.plugin.license[expiry]) and last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.plugin.license[expiry])&lt;&gt;0</expression>
                </dependency>
              </dependencies>
            </trigger>
            <trigger>
              <uuid>f141add59196404cac072638ee788665</uuid>
              <expression>now()+86400*{$SAP.HANA.LICENSE.EXPIRATION.DAYS.HIGH}&gt;last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.plugin.license[expiry]) and last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.plugin.license[expiry])&lt;&gt;0</expression>
              <name>SAP HANA Plugin License is about to expire (&lt; {$SAP.HANA.LICENSE.EXPIRATION.DAYS.HIGH} days left)</name>
              <opdata>{ITEM.LASTVALUE}</opdata>
              <priority>HIGH</priority>
              <dependencies>
                <dependency>
                  <name>SAP HANA Plugin License is expired</name>
                  <expression>now()&gt;last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.plugin.license[expiry]) and last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.plugin.license[expiry])&lt;&gt;0</expression>
                </dependency>
              </dependencies>
            </trigger>
            <trigger>
              <uuid>8a89b63623104c11810666295e332f98</uuid>
              <expression>now()+86400*{$SAP.HANA.LICENSE.EXPIRATION.DAYS.WARN}&gt;last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.plugin.license[expiry]) and last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.plugin.license[expiry])&lt;&gt;0</expression>
              <name>SAP HANA Plugin License is about to expire (&lt; {$SAP.HANA.LICENSE.EXPIRATION.DAYS.WARN} days left)</name>
              <opdata>{ITEM.LASTVALUE}</opdata>
              <priority>WARNING</priority>
              <dependencies>
                <dependency>
                  <name>SAP HANA Plugin License is about to expire (&lt; {$SAP.HANA.LICENSE.EXPIRATION.DAYS.AVG} days left)</name>
                  <expression>now()+86400*{$SAP.HANA.LICENSE.EXPIRATION.DAYS.AVG}&gt;last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.plugin.license[expiry]) and last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.plugin.license[expiry])&lt;&gt;0</expression>
                </dependency>
              </dependencies>
            </trigger>
            <trigger>
              <uuid>3227058b2a4d42adac7cbc905523320e</uuid>
              <expression>now()&gt;last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.plugin.license[expiry]) and last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.plugin.license[expiry])&lt;&gt;0</expression>
              <name>SAP HANA Plugin License is expired</name>
              <opdata>{ITEM.LASTVALUE}</opdata>
              <priority>HIGH</priority>
            </trigger>
          </triggers>
        </item>
        <item>
          <uuid>1bb43d083a5f4b9aac8fcefda658d551</uuid>
          <name>Plugin License: State</name>
          <type>DEPENDENT</type>
          <key>sap.hana.plugin.license[state]</key>
          <history>7d</history>
          <value_type>CHAR</value_type>
          <description>Displays the state of the plugin license.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.state</parameter>
              </parameters>
            </step>
            <step>
              <type>DISCARD_UNCHANGED_HEARTBEAT</type>
              <parameters>
                <parameter>24h</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.plugin.license</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA: Plugin License</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>6e20b761acc04d0dbabbdd5206d3f405</uuid>
          <name>SAP HANA: Get Storage</name>
          <key>sap.hana.storage["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          <history>0</history>
          <value_type>TEXT</value_type>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Zabbix raw items</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>1ecc88322c524cb7a42d345926274dca</uuid>
          <name>SAP HANA: Version</name>
          <key>sap.hana.version["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          <delay>1d</delay>
          <history>7d</history>
          <value_type>CHAR</value_type>
          <description>Displays the database software version.</description>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>SAP HANA</value>
            </tag>
          </tags>
        </item>
      </items>
      <discovery_rules>
        <discovery_rule>
          <uuid>cbf83495928d4b20a1081c0633b57a7c</uuid>
          <name>Tenant discovery</name>
          <key>sap.hana.db.discovery["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
          <delay>1h</delay>
          <filter>
            <evaltype>AND</evaltype>
            <conditions>
              <condition>
                <macro>{#DBNAME}</macro>
                <value>{$SAP.HANA.LLD.FILTER.DBNAME}</value>
              </condition>
            </conditions>
          </filter>
          <lifetime>30d</lifetime>
          <enabled_lifetime_type>DISABLE_NEVER</enabled_lifetime_type>
          <host_prototypes>
            <host_prototype>
              <uuid>9003ebd3419f4012aad2c6a5e8409d29</uuid>
              <host>{#DBHOST}.{#DBNAME}</host>
              <name>SAP HANA: DB {#DBNAME}</name>
              <group_links>
                <group_link>
                  <group>
                    <name>Databases</name>
                  </group>
                </group_link>
              </group_links>
              <templates>
                <template>
                  <name>Template DB SAP HANA Tenant by Zabbix agent 2</name>
                </template>
              </templates>
              <macros>
                <macro>
                  <macro>{$SAP.HANA.DATABASE}</macro>
                  <value>{#DBNAME}</value>
                </macro>
                <macro>
                  <macro>{$SAP.HANA.PASSWORD}</macro>
                  <value>{#DBPASS}</value>
                </macro>
                <macro>
                  <macro>{$SAP.HANA.URI}</macro>
                  <value>{#DBURI}</value>
                </macro>
                <macro>
                  <macro>{$SAP.HANA.USER}</macro>
                  <value>{#DBUSER}</value>
                </macro>
              </macros>
            </host_prototype>
          </host_prototypes>
        </discovery_rule>
        <discovery_rule>
          <uuid>e932de006f4244b2a7630c8c1cf0e3a1</uuid>
          <name>Storage discovery</name>
          <key>sap.hana.storage["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}",discovery]</key>
          <delay>1h</delay>
          <lifetime>30d</lifetime>
          <enabled_lifetime_type>DISABLE_NEVER</enabled_lifetime_type>
          <item_prototypes>
            <item_prototype>
              <uuid>39ab411e51924abd99629960d673107d</uuid>
              <name>Storage {#STORAGE.PATH} size</name>
              <type>DEPENDENT</type>
              <key>sap.hana.storage[{#STORAGE.SOURCE},size]</key>
              <history>90d</history>
              <units>B</units>
              <preprocessing>
                <step>
                  <type>JAVASCRIPT</type>
                  <parameters>
                    <parameter>var json = JSON.parse(value);

for(var i=0; i &lt; json.length; i++) {
  if (json[i]["STORAGE.SOURCE"] == "{#STORAGE.SOURCE}") {
    return parseInt(json[i]["STORAGE.SIZE"]);
  }
}

return -1;</parameter>
                  </parameters>
                </step>
              </preprocessing>
              <master_item>
                <key>sap.hana.storage["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
              </master_item>
              <tags>
                <tag>
                  <tag>Application</tag>
                  <value>SAP HANA: Storage</value>
                </tag>
              </tags>
            </item_prototype>
            <item_prototype>
              <uuid>b5f1dbd25ee442608f0857b558f13ccd</uuid>
              <name>Storage {#STORAGE.PATH} used</name>
              <type>DEPENDENT</type>
              <key>sap.hana.storage[{#STORAGE.SOURCE},used]</key>
              <history>90d</history>
              <units>B</units>
              <preprocessing>
                <step>
                  <type>JAVASCRIPT</type>
                  <parameters>
                    <parameter>var json = JSON.parse(value);

for(var i=0; i &lt; json.length; i++) {
  if (json[i]["STORAGE.SOURCE"] == "{#STORAGE.SOURCE}") {
    return parseInt(json[i]["STORAGE.USED"]);
  }
}

return -1;</parameter>
                  </parameters>
                </step>
              </preprocessing>
              <master_item>
                <key>sap.hana.storage["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}"]</key>
              </master_item>
              <tags>
                <tag>
                  <tag>Application</tag>
                  <value>SAP HANA: Storage</value>
                </tag>
              </tags>
            </item_prototype>
          </item_prototypes>
          <trigger_prototypes>
            <trigger_prototype>
              <uuid>7b1d107f58884cc6b920f21148c1277a</uuid>
              <expression>min(/Template DB SAP HANA by Zabbix agent 2/sap.hana.storage[{#STORAGE.SOURCE},used],15m)/max(/Template DB SAP HANA by Zabbix agent 2/sap.hana.storage[{#STORAGE.SOURCE},size],15m)*100&gt;{$SAP.HANA.STORAGE.WARN}</expression>
              <name>High storage utilization on {#STORAGE.PATH} (over {$SAP.HANA.STORAGE.WARN}% for 15m)</name>
              <priority>WARNING</priority>
            </trigger_prototype>
          </trigger_prototypes>
          <graph_prototypes>
            <graph_prototype>
              <uuid>5b4e62448d9b4099ae51b6008f0aa47f</uuid>
              <name>SAP HANA Storage {#STORAGE.PATH} usage</name>
              <ymin_type_1>FIXED</ymin_type_1>
              <ymax_type_1>ITEM</ymax_type_1>
              <ymax_item_1>
                <host>Template DB SAP HANA by Zabbix agent 2</host>
                <key>sap.hana.storage[{#STORAGE.SOURCE},size]</key>
              </ymax_item_1>
              <graph_items>
                <graph_item>
                  <sortorder>1</sortorder>
                  <color>EF5350</color>
                  <item>
                    <host>Template DB SAP HANA by Zabbix agent 2</host>
                    <key>sap.hana.storage[{#STORAGE.SOURCE},used]</key>
                  </item>
                </graph_item>
              </graph_items>
            </graph_prototype>
          </graph_prototypes>
        </discovery_rule>
      </discovery_rules>
      <macros>
        <macro>
          <macro>{$SAP.HANA.CPU.WARN}</macro>
          <value>80</value>
        </macro>
        <macro>
          <macro>{$SAP.HANA.LICENSE.EXPIRATION.DAYS.AVG}</macro>
          <value>30</value>
        </macro>
        <macro>
          <macro>{$SAP.HANA.LICENSE.EXPIRATION.DAYS.HIGH}</macro>
          <value>7</value>
        </macro>
        <macro>
          <macro>{$SAP.HANA.LICENSE.EXPIRATION.DAYS.WARN}</macro>
          <value>90</value>
        </macro>
        <macro>
          <macro>{$SAP.HANA.LICENSE.USAGE.WARN}</macro>
          <value>80</value>
        </macro>
        <macro>
          <macro>{$SAP.HANA.LLD.FILTER.DBNAME}</macro>
          <value>(.+)</value>
        </macro>
        <macro>
          <macro>{$SAP.HANA.MEMORY.WARN}</macro>
          <value>80</value>
        </macro>
        <macro>
          <macro>{$SAP.HANA.PASSWORD}</macro>
          <type>SECRET_TEXT</type>
        </macro>
        <macro>
          <macro>{$SAP.HANA.STORAGE.WARN}</macro>
          <value>80</value>
        </macro>
        <macro>
          <macro>{$SAP.HANA.URI}</macro>
          <value>hdb://localhost:30013</value>
        </macro>
        <macro>
          <macro>{$SAP.HANA.USER}</macro>
          <value>ZABBIX</value>
        </macro>
      </macros>
      <dashboards>
        <dashboard>
          <uuid>c9ae3d11a067406e96c25f495f690afb</uuid>
          <name>SAP HANA overview</name>
          <pages>
            <page>
              <widgets>
                <widget>
                  <type>graph</type>
                  <width>42</width>
                  <height>5</height>
                  <fields>
                    <field>
                      <type>GRAPH</type>
                      <name>graphid</name>
                      <value>
                        <host>Template DB SAP HANA by Zabbix agent 2</host>
                        <name>SAP HANA License usage</name>
                      </value>
                    </field>
                    <field>
                      <type>STRING</type>
                      <name>reference</name>
                      <value>AAAKV</value>
                    </field>
                  </fields>
                </widget>
                <widget>
                  <type>graph</type>
                  <y>5</y>
                  <width>33</width>
                  <height>5</height>
                  <fields>
                    <field>
                      <type>GRAPH</type>
                      <name>graphid</name>
                      <value>
                        <host>Template DB SAP HANA by Zabbix agent 2</host>
                        <name>SAP HANA CPU usage</name>
                      </value>
                    </field>
                    <field>
                      <type>STRING</type>
                      <name>reference</name>
                      <value>AAAKX</value>
                    </field>
                  </fields>
                </widget>
                <widget>
                  <type>graph</type>
                  <y>10</y>
                  <width>33</width>
                  <height>5</height>
                  <fields>
                    <field>
                      <type>GRAPH</type>
                      <name>graphid</name>
                      <value>
                        <host>Template DB SAP HANA by Zabbix agent 2</host>
                        <name>SAP HANA Swap usage</name>
                      </value>
                    </field>
                    <field>
                      <type>STRING</type>
                      <name>reference</name>
                      <value>AAAKZ</value>
                    </field>
                  </fields>
                </widget>
                <widget>
                  <type>graph</type>
                  <x>42</x>
                  <width>30</width>
                  <height>5</height>
                  <fields>
                    <field>
                      <type>GRAPH</type>
                      <name>graphid</name>
                      <value>
                        <host>Template DB SAP HANA by Zabbix agent 2</host>
                        <name>SAP HANA Network usage</name>
                      </value>
                    </field>
                    <field>
                      <type>STRING</type>
                      <name>reference</name>
                      <value>AAAKW</value>
                    </field>
                  </fields>
                </widget>
                <widget>
                  <type>graph</type>
                  <x>42</x>
                  <y>5</y>
                  <width>30</width>
                  <height>5</height>
                  <fields>
                    <field>
                      <type>GRAPH</type>
                      <name>graphid</name>
                      <value>
                        <host>Template DB SAP HANA by Zabbix agent 2</host>
                        <name>SAP HANA Memory usage</name>
                      </value>
                    </field>
                    <field>
                      <type>STRING</type>
                      <name>reference</name>
                      <value>AAAKY</value>
                    </field>
                  </fields>
                </widget>
                <widget>
                  <type>graph</type>
                  <x>42</x>
                  <y>10</y>
                  <width>30</width>
                  <height>5</height>
                  <fields>
                    <field>
                      <type>GRAPH</type>
                      <name>graphid</name>
                      <value>
                        <host>Template DB SAP HANA by Zabbix agent 2</host>
                        <name>SAP HANA Physical memory usage</name>
                      </value>
                    </field>
                    <field>
                      <type>STRING</type>
                      <name>reference</name>
                      <value>AAALA</value>
                    </field>
                  </fields>
                </widget>
              </widgets>
            </page>
          </pages>
        </dashboard>
      </dashboards>
      <valuemaps>
        <valuemap>
          <uuid>e70392351184457f9f6c5b9cc6346ded</uuid>
          <name>SAP HANA boolean</name>
          <mappings>
            <mapping>
              <value>0</value>
              <newvalue>FALSE</newvalue>
            </mapping>
            <mapping>
              <value>1</value>
              <newvalue>TRUE</newvalue>
            </mapping>
          </mappings>
        </valuemap>
        <valuemap>
          <uuid>e2b339d1e54144dab40964e00dc8c317</uuid>
          <name>Service state</name>
          <mappings>
            <mapping>
              <value>0</value>
              <newvalue>Down</newvalue>
            </mapping>
            <mapping>
              <value>1</value>
              <newvalue>Up</newvalue>
            </mapping>
          </mappings>
        </valuemap>
      </valuemaps>
    </template>
    <template>
      <uuid>6087ba6bf5504796aa46a4b67103742f</uuid>
      <template>Template DB SAP HANA Tenant by Zabbix agent 2</template>
      <name>Template DB SAP HANA Tenant by Zabbix agent 2</name>
      <groups>
        <group>
          <name>Templates/Databases</name>
        </group>
      </groups>
      <items>
        <item>
          <uuid>b4a216ec64f24aed932419b24776d16d</uuid>
          <name>Get Alerts</name>
          <key>sap.hana.db.alerts["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}"]</key>
          <history>0</history>
          <value_type>TEXT</value_type>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Zabbix raw items</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>c9e33ebb1b4e41e281c0246f9e1acaea</uuid>
          <name>Get Data Backup</name>
          <key>sap.hana.db.backup["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","data"]</key>
          <delay>1h</delay>
          <history>0</history>
          <value_type>TEXT</value_type>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Zabbix raw items</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>3314cd36ff5342cbb92dd18c7248032b</uuid>
          <name>Get Log Backup</name>
          <key>sap.hana.db.backup["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","log"]</key>
          <delay>1h</delay>
          <history>0</history>
          <value_type>TEXT</value_type>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Zabbix raw items</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>0119e4053e544165ad189f7bcb3767df</uuid>
          <name>Data backup duration</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.backup[data,duration]</key>
          <history>90d</history>
          <units>s</units>
          <description>Displays the duration of the latest data backup in seconds.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.backup_duration</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.backup["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","data"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Data Backup</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>629c32c437c24cddbf27cbbe953b53e5</uuid>
          <name>Data backup size</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.backup[data,size]</key>
          <history>90d</history>
          <units>B</units>
          <description>Displays the size of the latest data backup in bytes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.backup_size</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.backup["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","data"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Data Backup</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>24432d35727548e9984b7457215581ac</uuid>
          <name>Data backup status</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.backup[data,status]</key>
          <history>90d</history>
          <value_type>CHAR</value_type>
          <description>Displays the status of the latest data backup.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.backup_status</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.backup["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","data"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Data Backup</value>
            </tag>
          </tags>
          <triggers>
            <trigger>
              <uuid>d42aba72292a4d8cbebb4cb272a71205</uuid>
              <expression>find(/Template DB SAP HANA Tenant by Zabbix agent 2/sap.hana.db.backup[data,status],,"regexp","^successful$")&lt;&gt;1 or now()&lt;0 or now()&lt;0</expression>
              <name>Database data backup ({ITEM.LASTVALUE2}) was unsuccessful</name>
              <opdata>{ITEM.LASTVALUE1} ({ITEM.LASTVALUE3})</opdata>
              <priority>HIGH</priority>
            </trigger>
          </triggers>
        </item>
        <item>
          <uuid>7ca6f0b1b8254b318e4730d85e949b0b</uuid>
          <name>Data backup throughput</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.backup[data,throughput]</key>
          <history>90d</history>
          <units>B/s</units>
          <description>Displays the throughput of the latest data backup in bytes per second.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.backup_throughput</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.backup["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","data"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Data Backup</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>8152d5f574e94360936bed1ab730e828</uuid>
          <name>Data backup timestamp</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.backup[data,timestamp]</key>
          <history>90d</history>
          <units>unixtime</units>
          <description>Displays the timestamp of the latest data backup.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.backup_timestamp</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.backup["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","data"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Data Backup</value>
            </tag>
          </tags>
          <triggers>
            <trigger>
              <uuid>43228cf106354e19bf6e16ad38e2b5f6</uuid>
              <expression>nodata(/Template DB SAP HANA Tenant by Zabbix agent 2/sap.hana.db.backup[data,timestamp],{$SAP.HANA.BACKUP.DATA.FREQUENCY})=1</expression>
              <name>Database data backup is not running</name>
              <opdata>{ITEM.LASTVALUE}</opdata>
              <priority>WARNING</priority>
            </trigger>
          </triggers>
        </item>
        <item>
          <uuid>9eccf22c87a14c078c8902c727268358</uuid>
          <name>Data backup type</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.backup[data,type]</key>
          <history>90d</history>
          <value_type>CHAR</value_type>
          <description>Displays the type of the latest data backup (complete, incremental, differential).</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.backup_type</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.backup["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","data"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Data Backup</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>2f3c15adc0e54a2385938dbbd80dae72</uuid>
          <name>Log backup duration</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.backup[log,duration]</key>
          <history>90d</history>
          <units>s</units>
          <description>Displays the duration of the latest log backup in seconds.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.backup_duration</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.backup["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","log"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Log Backup</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>3a67b30b5a954aa498c4af483d79f786</uuid>
          <name>Log backup size</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.backup[log,size]</key>
          <history>90d</history>
          <units>B</units>
          <description>Displays the size of the latest log backup in bytes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.backup_size</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.backup["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","log"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Log Backup</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>a6a7582159c942138cae1be38ba5d039</uuid>
          <name>Log backup status</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.backup[log,status]</key>
          <history>90d</history>
          <value_type>CHAR</value_type>
          <description>Displays the status of the latest log backup.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.backup_status</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.backup["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","log"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Log Backup</value>
            </tag>
          </tags>
          <triggers>
            <trigger>
              <uuid>d4077b0c4cf840a390efdb5d47384a1e</uuid>
              <expression>find(/Template DB SAP HANA Tenant by Zabbix agent 2/sap.hana.db.backup[log,status],,"regexp","^successful$")&lt;&gt;1 or now()&lt;0 or now()&lt;0</expression>
              <name>Database log backup ({ITEM.LASTVALUE2}) was unsuccessful</name>
              <opdata>{ITEM.LASTVALUE1} ({ITEM.LASTVALUE3})</opdata>
              <priority>HIGH</priority>
            </trigger>
          </triggers>
        </item>
        <item>
          <uuid>6143acb65f3c4e3aa7b657e89c289f79</uuid>
          <name>Log backup throughput</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.backup[log,throughput]</key>
          <history>90d</history>
          <units>B/s</units>
          <description>Displays the throughput of the latest log backup in bytes per second.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.backup_throughput</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.backup["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","log"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Log Backup</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>c782efc4cec34039a9f0048e21cc81fe</uuid>
          <name>Log backup timestamp</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.backup[log,timestamp]</key>
          <history>90d</history>
          <units>unixtime</units>
          <description>Displays the timestamp of the latest log backup.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.backup_timestamp</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.backup["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","log"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Log Backup</value>
            </tag>
          </tags>
          <triggers>
            <trigger>
              <uuid>418ab7cce6314087a419fc3deedd1412</uuid>
              <expression>nodata(/Template DB SAP HANA Tenant by Zabbix agent 2/sap.hana.db.backup[log,timestamp],{$SAP.HANA.BACKUP.LOG.FREQUENCY})=1</expression>
              <name>Database log backup is not running</name>
              <opdata>{ITEM.LASTVALUE}</opdata>
              <priority>WARNING</priority>
            </trigger>
          </triggers>
        </item>
        <item>
          <uuid>800437a0080e4db9b524daaf638068e5</uuid>
          <name>Log backup type</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.backup[log,type]</key>
          <history>90d</history>
          <value_type>CHAR</value_type>
          <description>Displays the type of the latest log backup (complete, incremental, differential).</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.backup_type</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.backup["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","log"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Log Backup</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>38d86bf41309431cb441192012679f6c</uuid>
          <name>CPU usage</name>
          <key>sap.hana.db.cpu["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}"]</key>
          <history>90d</history>
          <value_type>FLOAT</value_type>
          <units>%</units>
          <description>Displays the CPU usage for this specific tenant in percentage.</description>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>CPU</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>2634358d64024ce08c951512bc4d0383</uuid>
          <name>Get Features</name>
          <key>sap.hana.db.features["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}"]</key>
          <history>0</history>
          <value_type>TEXT</value_type>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Zabbix raw items</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>75c7e1ca41614120a08a9b9963252f79</uuid>
          <name>Get Memory</name>
          <key>sap.hana.db.memory["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}"]</key>
          <history>0</history>
          <value_type>TEXT</value_type>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Zabbix raw items</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>1e84e3c8ee784e1aa5c06c02f331c244</uuid>
          <name>Resident memory used</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.memory[resident,database]</key>
          <history>90d</history>
          <units>B</units>
          <description>Displays the memory usage for this specific tenant in bytes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.resident_database</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.memory["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Memory</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>8b65434102964025b56ee13d67ed4336</uuid>
          <name>Resident memory total</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.memory[resident,total]</key>
          <history>90d</history>
          <units>B</units>
          <description>Displays the total physical memory used by the system in bytes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.resident_total</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.memory["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Memory</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>88ab6dda58c84270994cbdb23069b258</uuid>
          <name>Database ping</name>
          <key>sap.hana.db.ping["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}"]</key>
          <history>90d</history>
          <valuemap>
            <name>Service state</name>
          </valuemap>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Runtime</value>
            </tag>
          </tags>
          <triggers>
            <trigger>
              <uuid>fe7e8e21a5d4415f87dd3a6085d5536c</uuid>
              <expression>last(/Template DB SAP HANA Tenant by Zabbix agent 2/sap.hana.db.ping["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}"])=0</expression>
              <name>Database is unreachable</name>
              <opdata>{ITEM.LASTVALUE}</opdata>
              <priority>HIGH</priority>
            </trigger>
          </triggers>
        </item>
        <item>
          <uuid>3993fe7794a54386b335fdc6212bc032</uuid>
          <name>Get Replication</name>
          <key>sap.hana.db.replication["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}"]</key>
          <delay>5m</delay>
          <history>0</history>
          <value_type>TEXT</value_type>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Zabbix raw items</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>7d535ffeb8944e86bd9916919d4935b1</uuid>
          <name>Replication status details</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.replication[replication,details]</key>
          <history>90d</history>
          <value_type>CHAR</value_type>
          <description>Displays the detailed replication status or error reason.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.replication_status_details</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.replication["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Replication</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>1f8e23be12634694bbdc9d2ab0b7b6af</uuid>
          <name>Replication last log generated</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.replication[replication,generated]</key>
          <history>90d</history>
          <units>unixtime</units>
          <description>Displays the timestamp of the last log position written on the primary database.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.replication_last_log_time</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.replication["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Replication</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>37e0ef8f1c794a3bb2f435e17b34fd15</uuid>
          <name>Replication mode</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.replication[replication,mode]</key>
          <history>90d</history>
          <value_type>CHAR</value_type>
          <description>Displays the configured replication mode (&#8220;sync&#8221;, &#8220;syncmem&#8221;, &#8220;async&#8221;).</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.replication_mode</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.replication["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Replication</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>8f14d675734a4b578308eac7b25e4cb3</uuid>
          <name>Replication recoverable</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.replication[replication,recoverable]</key>
          <history>90d</history>
          <description>Displays the recoverability status of the secondary system.</description>
          <valuemap>
            <name>SAP HANA boolean</name>
          </valuemap>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.replication_recoverable</parameter>
              </parameters>
            </step>
            <step>
              <type>BOOL_TO_DECIMAL</type>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.replication["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Replication</value>
            </tag>
          </tags>
          <triggers>
            <trigger>
              <uuid>d912908da0944db1996ff8737fb2a488</uuid>
              <expression>last(/Template DB SAP HANA Tenant by Zabbix agent 2/sap.hana.db.replication[replication,recoverable])&lt;&gt;1</expression>
              <name>Replication secondary system is not fully recoverable</name>
              <opdata>{ITEM.LASTVALUE}</opdata>
              <priority>AVERAGE</priority>
            </trigger>
          </triggers>
        </item>
        <item>
          <uuid>aaace5f9ed5041eaabf5e8a94e2e644b</uuid>
          <name>Replication last log replayed</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.replication[replication,replayed]</key>
          <history>90d</history>
          <units>unixtime</units>
          <description>Displays the timestamp of the last log position replayed on the secondary database.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.replication_replayed_log_time</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.replication["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Replication</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>cb4bd2338a4e4f8d9dc454fdb80226bc</uuid>
          <name>Replication status</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.replication[replication,status]</key>
          <history>90d</history>
          <value_type>CHAR</value_type>
          <description>Displays the current replication status.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.replication_status</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.replication["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Replication</value>
            </tag>
          </tags>
          <triggers>
            <trigger>
              <uuid>7c2835dc18c5419a9cef888908d385d0</uuid>
              <expression>find(/Template DB SAP HANA Tenant by Zabbix agent 2/sap.hana.db.replication[replication,status],,"regexp","^ACTIVE$")&lt;&gt;1 and now()&gt;0</expression>
              <name>Replication is not active</name>
              <opdata>{ITEM.LASTVALUE1}: {ITEM.LASTVALUE2}</opdata>
              <priority>AVERAGE</priority>
            </trigger>
          </triggers>
        </item>
        <item>
          <uuid>20ebd533b97a4a33b0a7fdc5eebb50c4</uuid>
          <name>Get Services</name>
          <key>sap.hana.db.services["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}"]</key>
          <history>0</history>
          <value_type>TEXT</value_type>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Zabbix raw items</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>f15568c79f6f44afaa2457b03d1a9bd2</uuid>
          <name>Database size</name>
          <key>sap.hana.db.size["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}"]</key>
          <delay>1h</delay>
          <history>90d</history>
          <units>B</units>
          <description>Displays the size of the tenant database.</description>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Runtime</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>e2ac1d5fc3dd4ea78e80cf9adcd415cf</uuid>
          <name>Database uptime</name>
          <key>sap.hana.db.uptime["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}"]</key>
          <history>90d</history>
          <units>s</units>
          <description>Displays the uptime of the tenant database.</description>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Runtime</value>
            </tag>
          </tags>
          <triggers>
            <trigger>
              <uuid>653aab2f174648adbc718b6c1142226e</uuid>
              <expression>last(/Template DB SAP HANA Tenant by Zabbix agent 2/sap.hana.db.uptime["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}"])&lt;600</expression>
              <name>Database has been restarted</name>
              <opdata>Uptime: {ITEM.LASTVALUE}</opdata>
              <priority>INFO</priority>
            </trigger>
          </triggers>
        </item>
        <item>
          <uuid>fe2005ab9c51489eb60e1b4a334c018a</uuid>
          <name>Get Data Volume</name>
          <key>sap.hana.db.volume["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","data"]</key>
          <history>0</history>
          <value_type>TEXT</value_type>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Zabbix raw items</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>9109f83964d4483d8109ad77d7a0e9d3</uuid>
          <name>Get Log Volume</name>
          <key>sap.hana.db.volume["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","log"]</key>
          <history>0</history>
          <value_type>TEXT</value_type>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Zabbix raw items</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>75303000db51487c8df5545917df306f</uuid>
          <name>Get Trace Volume</name>
          <key>sap.hana.db.volume["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","trace"]</key>
          <history>0</history>
          <value_type>TEXT</value_type>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Zabbix raw items</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>9ecb089b58ab4636949794ce770c48c9</uuid>
          <name>Data volume read bytes</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.volume[data,read,bps]</key>
          <history>90d</history>
          <units>B/s</units>
          <description>Displays the amount of read bytes per second on data volumes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.volume_read_bps</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.volume["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","data"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Data Volume</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>552b7bc4aca2480ba2e60ad4bd9a6bd6</uuid>
          <name>Data volume failed reads</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.volume[data,read,failed]</key>
          <history>90d</history>
          <units>r</units>
          <description>Displays the number of failed read operations on data volumes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.volume_read_failed</parameter>
              </parameters>
            </step>
            <step>
              <type>SIMPLE_CHANGE</type>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.volume["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","data"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Data Volume</value>
            </tag>
          </tags>
          <triggers>
            <trigger>
              <uuid>5cb253398f0b49e394bceb02bbce637a</uuid>
              <expression>min(/Template DB SAP HANA Tenant by Zabbix agent 2/sap.hana.db.volume[data,read,failed],5m)&gt;0</expression>
              <name>Failed reads detected on Data volumes</name>
              <opdata>{ITEM.LASTVALUE1}</opdata>
              <priority>WARNING</priority>
            </trigger>
          </triggers>
        </item>
        <item>
          <uuid>1a811702de45418493010fa0ad9bca31</uuid>
          <name>Data volume read latency</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.volume[data,read,latency]</key>
          <history>90d</history>
          <value_type>FLOAT</value_type>
          <units>s</units>
          <description>Displays the read latency observed on data volumes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.volume_read_latency</parameter>
              </parameters>
            </step>
            <step>
              <type>MULTIPLIER</type>
              <parameters>
                <parameter>0.001</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.volume["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","data"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Data Volume</value>
            </tag>
          </tags>
          <triggers>
            <trigger>
              <uuid>13d3b9a518494d719f1f1961fd18b064</uuid>
              <expression>min(/Template DB SAP HANA Tenant by Zabbix agent 2/sap.hana.db.volume[data,read,latency],5m)&gt;{$SAP.HANA.VOLUME.DATA.READ.LATENCY}</expression>
              <name>High read latency on Data volume (over {$SAP.HANA.VOLUME.DATA.READ.LATENCY}ms for 5m)</name>
              <opdata>{ITEM.LASTVALUE1}</opdata>
              <priority>WARNING</priority>
            </trigger>
          </triggers>
        </item>
        <item>
          <uuid>13d1a2478a5f4293b23b70e3965115bd</uuid>
          <name>Data volume read operations</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.volume[data,read,ops]</key>
          <history>90d</history>
          <value_type>FLOAT</value_type>
          <units>!r/s</units>
          <description>Displays the number of read operations per second on data volumes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.volume_read_ops</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.volume["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","data"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Data Volume</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>17aba0156bd24f498b9d8ee546f5315e</uuid>
          <name>Data volume read trigger-ratio</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.volume[data,read,ratio]</key>
          <history>90d</history>
          <value_type>FLOAT</value_type>
          <units>!</units>
          <description>Displays the trigger-ratio of asynchronous reads on data volumes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.volume_read_ratio</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.volume["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","data"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Data Volume</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>cc8663c50a204e7c9f21944928c026c6</uuid>
          <name>Data volume size</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.volume[data,size]</key>
          <history>90d</history>
          <units>B</units>
          <description>Displays the size of all data volumes in bytes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.volume_size</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.volume["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","data"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Data Volume</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>0c0f356f3501482b8f815cd8e730c1df</uuid>
          <name>Data volume blocked writes</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.volume[data,write,blocked]</key>
          <history>90d</history>
          <units>w</units>
          <description>Displays the number of blocked write operations on data volumes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.volume_write_blocked</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.volume["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","data"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Data Volume</value>
            </tag>
          </tags>
          <triggers>
            <trigger>
              <uuid>0eca78b9bbfe4419acb6ce7808319eeb</uuid>
              <expression>min(/Template DB SAP HANA Tenant by Zabbix agent 2/sap.hana.db.volume[data,write,blocked],5m)&gt;0</expression>
              <name>Blocked writes detected on Data volumes</name>
              <opdata>{ITEM.LASTVALUE1}</opdata>
              <priority>WARNING</priority>
            </trigger>
          </triggers>
        </item>
        <item>
          <uuid>eec3bea5aaf8484ab770d8d4cef16283</uuid>
          <name>Data volume write bytes</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.volume[data,write,bps]</key>
          <history>90d</history>
          <units>B/s</units>
          <description>Displays the amount of written bytes per second on data volumes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.volume_write_bps</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.volume["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","data"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Data Volume</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>f489ce4681614243bfd8f74f28087179</uuid>
          <name>Data volume failed writes</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.volume[data,write,failed]</key>
          <history>90d</history>
          <units>w</units>
          <description>Displays the number of failed write operations on data volumes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.volume_write_failed</parameter>
              </parameters>
            </step>
            <step>
              <type>SIMPLE_CHANGE</type>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.volume["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","data"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Data Volume</value>
            </tag>
          </tags>
          <triggers>
            <trigger>
              <uuid>4461340a39834781baf549088edcfd91</uuid>
              <expression>min(/Template DB SAP HANA Tenant by Zabbix agent 2/sap.hana.db.volume[data,write,failed],5m)&gt;0</expression>
              <name>Failed writes detected on Data volumes</name>
              <opdata>{ITEM.LASTVALUE1}</opdata>
              <priority>WARNING</priority>
            </trigger>
          </triggers>
        </item>
        <item>
          <uuid>9d3cb69ab3c34989a528cd1fc5f6162c</uuid>
          <name>Data volume write latency</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.volume[data,write,latency]</key>
          <history>90d</history>
          <value_type>FLOAT</value_type>
          <units>s</units>
          <description>Displays the write latency observed on data volumes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.volume_write_latency</parameter>
              </parameters>
            </step>
            <step>
              <type>MULTIPLIER</type>
              <parameters>
                <parameter>0.001</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.volume["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","data"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Data Volume</value>
            </tag>
          </tags>
          <triggers>
            <trigger>
              <uuid>5e7a65dfb98b48cc87b08d7ff19d55d8</uuid>
              <expression>min(/Template DB SAP HANA Tenant by Zabbix agent 2/sap.hana.db.volume[data,write,latency],5m)&gt;{$SAP.HANA.VOLUME.DATA.WRITE.LATENCY}</expression>
              <name>High write latency on Data volume (over {$SAP.HANA.VOLUME.DATA.WRITE.LATENCY}ms for 5m)</name>
              <opdata>{ITEM.LASTVALUE1}</opdata>
              <priority>WARNING</priority>
            </trigger>
          </triggers>
        </item>
        <item>
          <uuid>7789e76a18664fdfb383f09d02850789</uuid>
          <name>Data volume write operations</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.volume[data,write,ops]</key>
          <history>90d</history>
          <value_type>FLOAT</value_type>
          <units>!w/s</units>
          <description>Displays the number of write operations per second on data volumes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.volume_write_ops</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.volume["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","data"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Data Volume</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>3cec6fb421c94efa95c3b082a23070a5</uuid>
          <name>Data volume write trigger-ratio</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.volume[data,write,ratio]</key>
          <history>90d</history>
          <value_type>FLOAT</value_type>
          <units>!</units>
          <description>Displays the trigger-ratio of asynchronous writes on data volumes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.volume_write_ratio</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.volume["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","data"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Data Volume</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>4943e5cd28c6442290f0ac27c505fe9a</uuid>
          <name>Log volume read bytes</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.volume[log,read,bps]</key>
          <history>90d</history>
          <units>B/s</units>
          <description>Displays the amount of read bytes per second on log volumes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.volume_read_bps</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.volume["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","log"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Log Volume</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>bdb0028a79764daf9d77ee28ce2e8871</uuid>
          <name>Log volume failed reads</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.volume[log,read,failed]</key>
          <history>90d</history>
          <units>r</units>
          <description>Displays the number of failed read operations on log volumes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.volume_read_failed</parameter>
              </parameters>
            </step>
            <step>
              <type>SIMPLE_CHANGE</type>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.volume["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","log"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Log Volume</value>
            </tag>
          </tags>
          <triggers>
            <trigger>
              <uuid>f7438b8b3cc344c79d2f3dffcca5cca6</uuid>
              <expression>min(/Template DB SAP HANA Tenant by Zabbix agent 2/sap.hana.db.volume[log,read,failed],5m)&gt;0</expression>
              <name>Failed reads detected on Log volume</name>
              <opdata>{ITEM.LASTVALUE1}</opdata>
              <priority>WARNING</priority>
            </trigger>
          </triggers>
        </item>
        <item>
          <uuid>8cb77f0e4be94a51858346cbfb68c032</uuid>
          <name>Log volume read latency</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.volume[log,read,latency]</key>
          <history>90d</history>
          <value_type>FLOAT</value_type>
          <units>s</units>
          <description>Displays the read latency observed on log volumes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.volume_read_latency</parameter>
              </parameters>
            </step>
            <step>
              <type>MULTIPLIER</type>
              <parameters>
                <parameter>0.001</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.volume["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","log"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Log Volume</value>
            </tag>
          </tags>
          <triggers>
            <trigger>
              <uuid>f1fa10817c884ea8b9e0e46a5dd2149c</uuid>
              <expression>min(/Template DB SAP HANA Tenant by Zabbix agent 2/sap.hana.db.volume[log,read,latency],5m)&gt;{$SAP.HANA.VOLUME.LOG.READ.LATENCY}</expression>
              <name>High read latency on Log volume (over {$SAP.HANA.VOLUME.LOG.READ.LATENCY}ms for 5m)</name>
              <opdata>{ITEM.LASTVALUE1}</opdata>
              <priority>WARNING</priority>
            </trigger>
          </triggers>
        </item>
        <item>
          <uuid>a7ebd44269a4453fa8bb530b2136124d</uuid>
          <name>Log volume read operations</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.volume[log,read,ops]</key>
          <history>90d</history>
          <value_type>FLOAT</value_type>
          <units>!r/s</units>
          <description>Displays the number of read operations per second on log volumes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.volume_read_ops</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.volume["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","log"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Log Volume</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>76a22be8349740bfad4774170ad504f5</uuid>
          <name>Log volume read trigger-ratio</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.volume[log,read,ratio]</key>
          <history>90d</history>
          <value_type>FLOAT</value_type>
          <units>!</units>
          <description>Displays the trigger-ratio of asynchronous reads on log volumes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.volume_read_ratio</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.volume["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","log"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Log Volume</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>ab2d75a89a8d46f49bca35f902ad9729</uuid>
          <name>Log volume size</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.volume[log,size]</key>
          <history>90d</history>
          <units>B</units>
          <description>Displays the size of the log volume in bytes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.volume_size</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.volume["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","log"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Log Volume</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>3eb2f45b4ca446978df11bff1c8f3255</uuid>
          <name>Log volume blocked writes</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.volume[log,write,blocked]</key>
          <history>90d</history>
          <units>w</units>
          <description>Displays the number of blocked write operations on log volumes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.volume_write_blocked</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.volume["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","log"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Log Volume</value>
            </tag>
          </tags>
          <triggers>
            <trigger>
              <uuid>377c34cfe2364d65b6baa45cc8bb5987</uuid>
              <expression>min(/Template DB SAP HANA Tenant by Zabbix agent 2/sap.hana.db.volume[log,write,blocked],5m)&gt;0</expression>
              <name>Blocked writes detected on Log volume</name>
              <opdata>{ITEM.LASTVALUE1}</opdata>
              <priority>WARNING</priority>
            </trigger>
          </triggers>
        </item>
        <item>
          <uuid>d00094e2c1b441629321fd86ff501c4e</uuid>
          <name>Log volume write bytes</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.volume[log,write,bps]</key>
          <history>90d</history>
          <units>B/s</units>
          <description>Displays the amount of written bytes per second on log volumes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.volume_write_bps</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.volume["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","log"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Log Volume</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>8abb53c2a22c4eb2afc3c36869a17ca5</uuid>
          <name>Log volume failed writes</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.volume[log,write,failed]</key>
          <history>90d</history>
          <units>w</units>
          <description>Displays the number of failed write operations on log volumes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.volume_write_failed</parameter>
              </parameters>
            </step>
            <step>
              <type>SIMPLE_CHANGE</type>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.volume["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","log"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Log Volume</value>
            </tag>
          </tags>
          <triggers>
            <trigger>
              <uuid>3e9b1499b5174281bf0c7e59c7cbdc9a</uuid>
              <expression>min(/Template DB SAP HANA Tenant by Zabbix agent 2/sap.hana.db.volume[log,write,failed],5m)&gt;0</expression>
              <name>Failed writes detected on Log volume</name>
              <opdata>{ITEM.LASTVALUE1}</opdata>
              <priority>WARNING</priority>
            </trigger>
          </triggers>
        </item>
        <item>
          <uuid>8f156a2f890243a5bae86ed8c4a8d463</uuid>
          <name>Log volume write latency</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.volume[log,write,latency]</key>
          <history>90d</history>
          <value_type>FLOAT</value_type>
          <units>s</units>
          <description>Displays the write latency observed on log volumes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.volume_write_latency</parameter>
              </parameters>
            </step>
            <step>
              <type>MULTIPLIER</type>
              <parameters>
                <parameter>0.001</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.volume["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","log"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Log Volume</value>
            </tag>
          </tags>
          <triggers>
            <trigger>
              <uuid>6866f9bdaf584e5591d600698f6fc614</uuid>
              <expression>min(/Template DB SAP HANA Tenant by Zabbix agent 2/sap.hana.db.volume[log,write,latency],5m)&gt;{$SAP.HANA.VOLUME.LOG.WRITE.LATENCY}</expression>
              <name>High write latency on Log volume (over {$SAP.HANA.VOLUME.LOG.WRITE.LATENCY}ms for 5m)</name>
              <opdata>{ITEM.LASTVALUE1}</opdata>
              <priority>WARNING</priority>
            </trigger>
          </triggers>
        </item>
        <item>
          <uuid>70274f76a6fe4d0dadff1de4486889d4</uuid>
          <name>Log volume write operations</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.volume[log,write,ops]</key>
          <history>90d</history>
          <value_type>FLOAT</value_type>
          <units>!w/s</units>
          <description>Displays the number of write operations per second on log volumes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.volume_write_ops</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.volume["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","log"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Log Volume</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>25953ce66d714fcc8a1c817b6cd64d69</uuid>
          <name>Log volume write trigger-ratio</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.volume[log,write,ratio]</key>
          <history>90d</history>
          <value_type>FLOAT</value_type>
          <units>!</units>
          <description>Displays the trigger-ratio of asynchronous writes on log volumes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.volume_write_ratio</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.volume["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","log"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Log Volume</value>
            </tag>
          </tags>
        </item>
        <item>
          <uuid>1c1d222c80de4ef590fd3cd79cf3f540</uuid>
          <name>Trace volume size</name>
          <type>DEPENDENT</type>
          <key>sap.hana.db.volume[trace,size]</key>
          <history>90d</history>
          <units>B</units>
          <description>Displays the size of the trace volume in bytes.</description>
          <preprocessing>
            <step>
              <type>JSONPATH</type>
              <parameters>
                <parameter>$.volume_size</parameter>
              </parameters>
            </step>
          </preprocessing>
          <master_item>
            <key>sap.hana.db.volume["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}","trace"]</key>
          </master_item>
          <tags>
            <tag>
              <tag>Application</tag>
              <value>Trace Volume</value>
            </tag>
          </tags>
        </item>
      </items>
      <discovery_rules>
        <discovery_rule>
          <uuid>16e617a48538455d82d8e4f997cb25c9</uuid>
          <name>Alert discovery</name>
          <key>sap.hana.db.alerts["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}",discovery]</key>
          <lifetime_type>DELETE_IMMEDIATELY</lifetime_type>
          <item_prototypes>
            <item_prototype>
              <uuid>881cf459cdee41f6bc98f2aad8a2692b</uuid>
              <name>{#ALERT.DETAILS}</name>
              <type>DEPENDENT</type>
              <key>sap.hana.db.alert[{#ALERT.ID}]</key>
              <history>90d</history>
              <units>unixtime</units>
              <preprocessing>
                <step>
                  <type>JAVASCRIPT</type>
                  <parameters>
                    <parameter>var json = JSON.parse(value);

for(var i=0; i &lt; json.length; i++) {
  if (json[i]["ALERT.ID"] == "{#ALERT.ID}") {
    return parseInt(json[i]["ALERT.TIMESTAMP"]);
  }
}

return -1;</parameter>
                  </parameters>
                </step>
              </preprocessing>
              <master_item>
                <key>sap.hana.db.alerts["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}"]</key>
              </master_item>
              <tags>
                <tag>
                  <tag>Application</tag>
                  <value>Alerts</value>
                </tag>
              </tags>
              <trigger_prototypes>
                <trigger_prototype>
                  <uuid>75eec08ec057490baf65404699cab6ef</uuid>
                  <expression>last(/Template DB SAP HANA Tenant by Zabbix agent 2/sap.hana.db.alert[{#ALERT.ID}])&gt;0</expression>
                  <name>{#ALERT.DETAILS}</name>
                  <opdata>{ITEM.LASTVALUE}</opdata>
                </trigger_prototype>
              </trigger_prototypes>
            </item_prototype>
          </item_prototypes>
          <overrides>
            <override>
              <name>Trigger severity INFO</name>
              <step>1</step>
              <stop>STOP</stop>
              <filter>
                <conditions>
                  <condition>
                    <macro>{#ALERT.RATING}</macro>
                    <value>1</value>
                  </condition>
                </conditions>
              </filter>
              <operations>
                <operation>
                  <operationobject>TRIGGER_PROTOTYPE</operationobject>
                  <operator>LIKE</operator>
                  <severity>INFO</severity>
                </operation>
              </operations>
            </override>
            <override>
              <name>Trigger severity WARN</name>
              <step>2</step>
              <stop>STOP</stop>
              <filter>
                <conditions>
                  <condition>
                    <macro>{#ALERT.RATING}</macro>
                    <value>2</value>
                  </condition>
                </conditions>
              </filter>
              <operations>
                <operation>
                  <operationobject>TRIGGER_PROTOTYPE</operationobject>
                  <operator>LIKE</operator>
                  <severity>WARNING</severity>
                </operation>
              </operations>
            </override>
            <override>
              <name>Trigger severity AVG</name>
              <step>3</step>
              <stop>STOP</stop>
              <filter>
                <conditions>
                  <condition>
                    <macro>{#ALERT.RATING}</macro>
                    <value>3</value>
                  </condition>
                </conditions>
              </filter>
              <operations>
                <operation>
                  <operationobject>TRIGGER_PROTOTYPE</operationobject>
                  <operator>LIKE</operator>
                  <severity>AVERAGE</severity>
                </operation>
              </operations>
            </override>
            <override>
              <name>Trigger severity HIGH</name>
              <step>4</step>
              <stop>STOP</stop>
              <filter>
                <conditions>
                  <condition>
                    <macro>{#ALERT.RATING}</macro>
                    <value>4</value>
                  </condition>
                </conditions>
              </filter>
              <operations>
                <operation>
                  <operationobject>TRIGGER_PROTOTYPE</operationobject>
                  <operator>LIKE</operator>
                  <severity>HIGH</severity>
                </operation>
              </operations>
            </override>
            <override>
              <name>Trigger severity DISASTER</name>
              <step>5</step>
              <stop>STOP</stop>
              <filter>
                <conditions>
                  <condition>
                    <macro>{#ALERT.RATING}</macro>
                    <value>5</value>
                  </condition>
                </conditions>
              </filter>
              <operations>
                <operation>
                  <operationobject>TRIGGER_PROTOTYPE</operationobject>
                  <operator>LIKE</operator>
                  <severity>DISASTER</severity>
                </operation>
              </operations>
            </override>
          </overrides>
        </discovery_rule>
        <discovery_rule>
          <uuid>f8a24614277f4a11acd1e902ddc32109</uuid>
          <name>Feature discovery</name>
          <key>sap.hana.db.features["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}",discovery]</key>
          <delay>1h</delay>
          <filter>
            <evaltype>AND</evaltype>
            <conditions>
              <condition>
                <macro>{#FEATURE.DEPRECATED}</macro>
                <value>true</value>
              </condition>
            </conditions>
          </filter>
          <lifetime_type>DELETE_IMMEDIATELY</lifetime_type>
          <item_prototypes>
            <item_prototype>
              <uuid>6570a2419684412ea9ac32488b1d3ed8</uuid>
              <name>Deprecated feature "{#FEATURE.ID}" usage</name>
              <type>DEPENDENT</type>
              <key>sap.hana.db.feature[{#FEATURE.ID}]</key>
              <history>90d</history>
              <units>unixtime</units>
              <preprocessing>
                <step>
                  <type>JAVASCRIPT</type>
                  <parameters>
                    <parameter>var json = JSON.parse(value);

for(var i=0; i &lt; json.length; i++) {
  if (json[i]["FEATURE.ID"] == "{#FEATURE.ID}") {
    return parseInt(json[i]["FEATURE.TIMESTAMP"]);
  }
}

return -1;</parameter>
                  </parameters>
                </step>
              </preprocessing>
              <master_item>
                <key>sap.hana.db.features["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}"]</key>
              </master_item>
              <tags>
                <tag>
                  <tag>Application</tag>
                  <value>Features</value>
                </tag>
              </tags>
              <trigger_prototypes>
                <trigger_prototype>
                  <uuid>5667cdd76711477189660e58749dec5d</uuid>
                  <expression>last(/Template DB SAP HANA Tenant by Zabbix agent 2/sap.hana.db.feature[{#FEATURE.ID}])&gt;0</expression>
                  <name>Deprecated feature "{#FEATURE.ID}" used by "{#FEATURE.USERNAME}" (program "{#FEATURE.APPLICATION}")</name>
                  <opdata>{ITEM.LASTVALUE1}</opdata>
                  <priority>WARNING</priority>
                  <description>{#FEATURE.SQL}</description>
                </trigger_prototype>
              </trigger_prototypes>
            </item_prototype>
          </item_prototypes>
        </discovery_rule>
        <discovery_rule>
          <uuid>be0bd1131fb44689a7f130e9ab115a67</uuid>
          <name>Service discovery</name>
          <key>sap.hana.db.services["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}",discovery]</key>
          <delay>1h</delay>
          <filter>
            <evaltype>AND</evaltype>
            <conditions>
              <condition>
                <macro>{#SERVICE.PORT}</macro>
                <value>[0-9]+</value>
              </condition>
            </conditions>
          </filter>
          <lifetime_type>DELETE_IMMEDIATELY</lifetime_type>
          <item_prototypes>
            <item_prototype>
              <uuid>7356b1191dad417494b549c88cfbce87</uuid>
              <name>Service {#SERVICE.NAME}</name>
              <type>DEPENDENT</type>
              <key>sap.hana.db.services[{#SERVICE.PORT}]</key>
              <history>90d</history>
              <description>Displays the status of the database service running on the specified port.</description>
              <valuemap>
                <name>Service state</name>
              </valuemap>
              <preprocessing>
                <step>
                  <type>JAVASCRIPT</type>
                  <parameters>
                    <parameter>var json = JSON.parse(value);

for(var i=0; i &lt; json.length; i++) {
  if (json[i]["SERVICE.PORT"] == "{#SERVICE.PORT}") {
    return parseInt(json[i]["SERVICE.STATUS"]);
  }
}

return -1;</parameter>
                  </parameters>
                </step>
              </preprocessing>
              <master_item>
                <key>sap.hana.db.services["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}"]</key>
              </master_item>
              <tags>
                <tag>
                  <tag>Application</tag>
                  <value>Services</value>
                </tag>
              </tags>
              <trigger_prototypes>
                <trigger_prototype>
                  <uuid>19f67ad91b1044eaa32c84fc31c6f4ac</uuid>
                  <expression>last(/Template DB SAP HANA Tenant by Zabbix agent 2/sap.hana.db.services[{#SERVICE.PORT}])&lt;&gt;1</expression>
                  <name>Service {#SERVICE.NAME} is down</name>
                  <priority>HIGH</priority>
                </trigger_prototype>
              </trigger_prototypes>
            </item_prototype>
          </item_prototypes>
        </discovery_rule>
      </discovery_rules>
      <macros>
        <macro>
          <macro>{$SAP.HANA.BACKUP.DATA.FREQUENCY}</macro>
          <value>4h</value>
        </macro>
        <macro>
          <macro>{$SAP.HANA.BACKUP.LOG.FREQUENCY}</macro>
          <value>2h</value>
        </macro>
        <macro>
          <macro>{$SAP.HANA.DATABASE}</macro>
        </macro>
        <macro>
          <macro>{$SAP.HANA.PASSWORD}</macro>
          <type>SECRET_TEXT</type>
        </macro>
        <macro>
          <macro>{$SAP.HANA.REPLICATION.MAXLAG}</macro>
          <value>15m</value>
        </macro>
        <macro>
          <macro>{$SAP.HANA.URI}</macro>
        </macro>
        <macro>
          <macro>{$SAP.HANA.USER}</macro>
        </macro>
        <macro>
          <macro>{$SAP.HANA.VOLUME.DATA.READ.LATENCY}</macro>
          <value>10</value>
          <description>Milliseconds</description>
        </macro>
        <macro>
          <macro>{$SAP.HANA.VOLUME.DATA.WRITE.LATENCY}</macro>
          <value>10</value>
          <description>Milliseconds</description>
        </macro>
        <macro>
          <macro>{$SAP.HANA.VOLUME.LOG.READ.LATENCY}</macro>
          <value>5</value>
          <description>Milliseconds</description>
        </macro>
        <macro>
          <macro>{$SAP.HANA.VOLUME.LOG.WRITE.LATENCY}</macro>
          <value>1</value>
          <description>Milliseconds</description>
        </macro>
      </macros>
      <dashboards>
        <dashboard>
          <uuid>a1bfdf5e63824f5c9bce6554c7282628</uuid>
          <name>SAP HANA overview</name>
          <pages>
            <page>
              <widgets>
                <widget>
                  <type>graph</type>
                  <width>36</width>
                  <height>5</height>
                  <fields>
                    <field>
                      <type>GRAPH</type>
                      <name>graphid</name>
                      <value>
                        <host>Template DB SAP HANA Tenant by Zabbix agent 2</host>
                        <name>CPU usage</name>
                      </value>
                    </field>
                    <field>
                      <type>STRING</type>
                      <name>reference</name>
                      <value>AAALB</value>
                    </field>
                  </fields>
                </widget>
                <widget>
                  <type>graph</type>
                  <y>5</y>
                  <width>36</width>
                  <height>5</height>
                  <fields>
                    <field>
                      <type>GRAPH</type>
                      <name>graphid</name>
                      <value>
                        <host>Template DB SAP HANA Tenant by Zabbix agent 2</host>
                        <name>Disk Usage</name>
                      </value>
                    </field>
                    <field>
                      <type>STRING</type>
                      <name>reference</name>
                      <value>AAALD</value>
                    </field>
                  </fields>
                </widget>
                <widget>
                  <type>graph</type>
                  <y>10</y>
                  <width>36</width>
                  <height>5</height>
                  <fields>
                    <field>
                      <type>GRAPH</type>
                      <name>graphid</name>
                      <value>
                        <host>Template DB SAP HANA Tenant by Zabbix agent 2</host>
                        <name>Data volume usage</name>
                      </value>
                    </field>
                    <field>
                      <type>STRING</type>
                      <name>reference</name>
                      <value>AAALF</value>
                    </field>
                  </fields>
                </widget>
                <widget>
                  <type>graph</type>
                  <x>36</x>
                  <width>36</width>
                  <height>5</height>
                  <fields>
                    <field>
                      <type>GRAPH</type>
                      <name>graphid</name>
                      <value>
                        <host>Template DB SAP HANA Tenant by Zabbix agent 2</host>
                        <name>Memory usage</name>
                      </value>
                    </field>
                    <field>
                      <type>STRING</type>
                      <name>reference</name>
                      <value>AAALC</value>
                    </field>
                  </fields>
                </widget>
                <widget>
                  <type>graph</type>
                  <x>36</x>
                  <y>5</y>
                  <width>36</width>
                  <height>5</height>
                  <fields>
                    <field>
                      <type>GRAPH</type>
                      <name>graphid</name>
                      <value>
                        <host>Template DB SAP HANA Tenant by Zabbix agent 2</host>
                        <name>Backup usage</name>
                      </value>
                    </field>
                    <field>
                      <type>STRING</type>
                      <name>reference</name>
                      <value>AAALE</value>
                    </field>
                  </fields>
                </widget>
                <widget>
                  <type>graph</type>
                  <x>36</x>
                  <y>10</y>
                  <width>36</width>
                  <height>5</height>
                  <fields>
                    <field>
                      <type>GRAPH</type>
                      <name>graphid</name>
                      <value>
                        <host>Template DB SAP HANA Tenant by Zabbix agent 2</host>
                        <name>Log volume usage</name>
                      </value>
                    </field>
                    <field>
                      <type>STRING</type>
                      <name>reference</name>
                      <value>AAALG</value>
                    </field>
                  </fields>
                </widget>
              </widgets>
            </page>
          </pages>
        </dashboard>
      </dashboards>
      <valuemaps>
        <valuemap>
          <uuid>f09d0b4bac42497d97740caa8ca17c8e</uuid>
          <name>SAP HANA boolean</name>
          <mappings>
            <mapping>
              <value>0</value>
              <newvalue>FALSE</newvalue>
            </mapping>
            <mapping>
              <value>1</value>
              <newvalue>TRUE</newvalue>
            </mapping>
          </mappings>
        </valuemap>
        <valuemap>
          <uuid>17ade222053e4bed9fbb46aeeebb8b28</uuid>
          <name>Service state</name>
          <mappings>
            <mapping>
              <value>0</value>
              <newvalue>Down</newvalue>
            </mapping>
            <mapping>
              <value>1</value>
              <newvalue>Up</newvalue>
            </mapping>
          </mappings>
        </valuemap>
      </valuemaps>
    </template>
  </templates>
  <triggers>
    <trigger>
      <uuid>7cc30ddf37314593bb0b0fe10181902c</uuid>
      <expression>min(/Template DB SAP HANA by Zabbix agent 2/sap.hana.memory[memory,used],15m)/max(/Template DB SAP HANA by Zabbix agent 2/sap.hana.memory[limit],15m)*100&gt;{$SAP.HANA.MEMORY.WARN}</expression>
      <name>High memory utilization (over {$SAP.HANA.MEMORY.WARN}% for 15m)</name>
      <priority>WARNING</priority>
    </trigger>
    <trigger>
      <uuid>484d018e20f84dc98075b912d8c4e160</uuid>
      <expression>last(/Template DB SAP HANA Tenant by Zabbix agent 2/sap.hana.db.replication[replication,replayed])&gt;0 and last(/Template DB SAP HANA Tenant by Zabbix agent 2/sap.hana.db.replication[replication,generated])-last(/Template DB SAP HANA Tenant by Zabbix agent 2/sap.hana.db.replication[replication,replayed])&gt;{$SAP.HANA.REPLICATION.MAXLAG}</expression>
      <name>Replication secondary system is lagging behind primary system</name>
      <opdata>Primary: {ITEM.LASTVALUE2}, Secondary: {ITEM.LASTVALUE3}</opdata>
      <priority>AVERAGE</priority>
    </trigger>
    <trigger>
      <uuid>bb4ff150f95048f2a2080dfdbd1b8c64</uuid>
      <expression>last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.license[product_usage])*{$SAP.HANA.LICENSE.USAGE.WARN}/100&gt;last(/Template DB SAP HANA by Zabbix agent 2/sap.hana.license[product_limit])</expression>
      <name>SAP HANA License product usage is &gt; {$SAP.HANA.LICENSE.USAGE.WARN}%</name>
      <opdata>{ITEM.LASTVALUE1}/{ITEM.LASTVALUE2}</opdata>
      <priority>WARNING</priority>
    </trigger>
  </triggers>
  <graphs>
    <graph>
      <uuid>5f9a2d38b3a341338f14c9be344522a2</uuid>
      <name>Backup usage</name>
      <graph_items>
        <graph_item>
          <sortorder>1</sortorder>
          <color>81C784</color>
          <item>
            <host>Template DB SAP HANA Tenant by Zabbix agent 2</host>
            <key>sap.hana.db.backup[data,size]</key>
          </item>
        </graph_item>
        <graph_item>
          <sortorder>2</sortorder>
          <color>4FC3F7</color>
          <item>
            <host>Template DB SAP HANA Tenant by Zabbix agent 2</host>
            <key>sap.hana.db.backup[log,size]</key>
          </item>
        </graph_item>
      </graph_items>
    </graph>
    <graph>
      <uuid>8910c7f8996e489191b4b6dc3a65097e</uuid>
      <name>CPU usage</name>
      <ymin_type_1>FIXED</ymin_type_1>
      <ymax_type_1>FIXED</ymax_type_1>
      <graph_items>
        <graph_item>
          <sortorder>1</sortorder>
          <color>EF5350</color>
          <item>
            <host>Template DB SAP HANA Tenant by Zabbix agent 2</host>
            <key>sap.hana.db.cpu["{$SAP.HANA.URI}","{$SAP.HANA.USER}","{$SAP.HANA.PASSWORD}","{$SAP.HANA.DATABASE}"]</key>
          </item>
        </graph_item>
      </graph_items>
    </graph>
    <graph>
      <uuid>6634678f21014564b2a9db58e442a04e</uuid>
      <name>Data volume usage</name>
      <ymin_type_1>FIXED</ymin_type_1>
      <graph_items>
        <graph_item>
          <sortorder>1</sortorder>
          <color>66BB6A</color>
          <item>
            <host>Template DB SAP HANA Tenant by Zabbix agent 2</host>
            <key>sap.hana.db.volume[data,read,bps]</key>
          </item>
        </graph_item>
        <graph_item>
          <sortorder>2</sortorder>
          <color>5C6BC0</color>
          <item>
            <host>Template DB SAP HANA Tenant by Zabbix agent 2</host>
            <key>sap.hana.db.volume[data,write,bps]</key>
          </item>
        </graph_item>
        <graph_item>
          <sortorder>3</sortorder>
          <color>FFEE58</color>
          <yaxisside>RIGHT</yaxisside>
          <item>
            <host>Template DB SAP HANA Tenant by Zabbix agent 2</host>
            <key>sap.hana.db.volume[data,read,latency]</key>
          </item>
        </graph_item>
        <graph_item>
          <sortorder>4</sortorder>
          <color>EF5350</color>
          <yaxisside>RIGHT</yaxisside>
          <item>
            <host>Template DB SAP HANA Tenant by Zabbix agent 2</host>
            <key>sap.hana.db.volume[data,write,latency]</key>
          </item>
        </graph_item>
      </graph_items>
    </graph>
    <graph>
      <uuid>4f4bde08a67749e2a82a4a6c113c7bb7</uuid>
      <name>Disk Usage</name>
      <graph_items>
        <graph_item>
          <sortorder>1</sortorder>
          <color>9575CD</color>
          <item>
            <host>Template DB SAP HANA Tenant by Zabbix agent 2</host>
            <key>sap.hana.db.volume[data,size]</key>
          </item>
        </graph_item>
        <graph_item>
          <sortorder>2</sortorder>
          <color>FFF176</color>
          <item>
            <host>Template DB SAP HANA Tenant by Zabbix agent 2</host>
            <key>sap.hana.db.volume[log,size]</key>
          </item>
        </graph_item>
        <graph_item>
          <sortorder>4</sortorder>
          <color>81C784</color>
          <item>
            <host>Template DB SAP HANA Tenant by Zabbix agent 2</host>
            <key>sap.hana.db.volume[trace,size]</key>
          </item>
        </graph_item>
      </graph_items>
    </graph>
    <graph>
      <uuid>92e04ff6cfd145dca17154baaa6318a6</uuid>
      <name>Log volume usage</name>
      <ymin_type_1>FIXED</ymin_type_1>
      <graph_items>
        <graph_item>
          <sortorder>1</sortorder>
          <color>66BB6A</color>
          <item>
            <host>Template DB SAP HANA Tenant by Zabbix agent 2</host>
            <key>sap.hana.db.volume[log,read,bps]</key>
          </item>
        </graph_item>
        <graph_item>
          <sortorder>2</sortorder>
          <color>5C6BC0</color>
          <item>
            <host>Template DB SAP HANA Tenant by Zabbix agent 2</host>
            <key>sap.hana.db.volume[log,write,bps]</key>
          </item>
        </graph_item>
        <graph_item>
          <sortorder>3</sortorder>
          <color>FFEE58</color>
          <yaxisside>RIGHT</yaxisside>
          <item>
            <host>Template DB SAP HANA Tenant by Zabbix agent 2</host>
            <key>sap.hana.db.volume[log,read,latency]</key>
          </item>
        </graph_item>
        <graph_item>
          <sortorder>4</sortorder>
          <color>EF5350</color>
          <yaxisside>RIGHT</yaxisside>
          <item>
            <host>Template DB SAP HANA Tenant by Zabbix agent 2</host>
            <key>sap.hana.db.volume[log,write,latency]</key>
          </item>
        </graph_item>
      </graph_items>
    </graph>
    <graph>
      <uuid>0ee070c141934c6e817e448254aa9663</uuid>
      <name>Memory usage</name>
      <ymin_type_1>FIXED</ymin_type_1>
      <graph_items>
        <graph_item>
          <sortorder>1</sortorder>
          <color>EF5350</color>
          <item>
            <host>Template DB SAP HANA Tenant by Zabbix agent 2</host>
            <key>sap.hana.db.memory[resident,total]</key>
          </item>
        </graph_item>
        <graph_item>
          <sortorder>2</sortorder>
          <color>EF5350</color>
          <item>
            <host>Template DB SAP HANA Tenant by Zabbix agent 2</host>
            <key>sap.hana.db.memory[resident,database]</key>
          </item>
        </graph_item>
      </graph_items>
    </graph>
    <graph>
      <uuid>aae60f505bc34793bff39c0141b22be5</uuid>
      <name>SAP HANA CPU usage</name>
      <ymin_type_1>FIXED</ymin_type_1>
      <ymax_type_1>FIXED</ymax_type_1>
      <graph_items>
        <graph_item>
          <sortorder>1</sortorder>
          <color>42A5F5</color>
          <item>
            <host>Template DB SAP HANA by Zabbix agent 2</host>
            <key>sap.hana.cpu[idle]</key>
          </item>
        </graph_item>
        <graph_item>
          <sortorder>2</sortorder>
          <color>EF5350</color>
          <item>
            <host>Template DB SAP HANA by Zabbix agent 2</host>
            <key>sap.hana.cpu[system]</key>
          </item>
        </graph_item>
        <graph_item>
          <sortorder>3</sortorder>
          <color>66BB6A</color>
          <item>
            <host>Template DB SAP HANA by Zabbix agent 2</host>
            <key>sap.hana.cpu[user]</key>
          </item>
        </graph_item>
        <graph_item>
          <sortorder>4</sortorder>
          <color>7E57C2</color>
          <item>
            <host>Template DB SAP HANA by Zabbix agent 2</host>
            <key>sap.hana.cpu[waitio]</key>
          </item>
        </graph_item>
      </graph_items>
    </graph>
    <graph>
      <uuid>26df10d0bd414e458f14077f64dc684d</uuid>
      <name>SAP HANA License usage</name>
      <ymin_type_1>FIXED</ymin_type_1>
      <ymax_type_1>ITEM</ymax_type_1>
      <ymax_item_1>
        <host>Template DB SAP HANA by Zabbix agent 2</host>
        <key>sap.hana.license[product_limit]</key>
      </ymax_item_1>
      <graph_items>
        <graph_item>
          <sortorder>1</sortorder>
          <color>EF5350</color>
          <item>
            <host>Template DB SAP HANA by Zabbix agent 2</host>
            <key>sap.hana.license[product_usage]</key>
          </item>
        </graph_item>
      </graph_items>
    </graph>
    <graph>
      <uuid>a36570a16bb347a9aa1c951eda39d937</uuid>
      <name>SAP HANA Memory usage</name>
      <ymin_type_1>FIXED</ymin_type_1>
      <ymax_type_1>ITEM</ymax_type_1>
      <ymax_item_1>
        <host>Template DB SAP HANA by Zabbix agent 2</host>
        <key>sap.hana.memory[limit]</key>
      </ymax_item_1>
      <graph_items>
        <graph_item>
          <sortorder>1</sortorder>
          <color>EF5350</color>
          <item>
            <host>Template DB SAP HANA by Zabbix agent 2</host>
            <key>sap.hana.memory[code,size]</key>
          </item>
        </graph_item>
        <graph_item>
          <sortorder>2</sortorder>
          <color>AB47BC</color>
          <item>
            <host>Template DB SAP HANA by Zabbix agent 2</host>
            <key>sap.hana.memory[memory,allocated]</key>
          </item>
        </graph_item>
        <graph_item>
          <sortorder>3</sortorder>
          <color>42A5F5</color>
          <item>
            <host>Template DB SAP HANA by Zabbix agent 2</host>
            <key>sap.hana.memory[memory,used]</key>
          </item>
        </graph_item>
        <graph_item>
          <sortorder>4</sortorder>
          <color>66BB6A</color>
          <item>
            <host>Template DB SAP HANA by Zabbix agent 2</host>
            <key>sap.hana.memory[shared,size]</key>
          </item>
        </graph_item>
        <graph_item>
          <sortorder>5</sortorder>
          <color>FFEE58</color>
          <item>
            <host>Template DB SAP HANA by Zabbix agent 2</host>
            <key>sap.hana.memory[shared,peak]</key>
          </item>
        </graph_item>
      </graph_items>
    </graph>
    <graph>
      <uuid>cbb6cf13218c41ea8ba4785db78bf382</uuid>
      <name>SAP HANA Network usage</name>
      <ymin_type_1>FIXED</ymin_type_1>
      <graph_items>
        <graph_item>
          <sortorder>1</sortorder>
          <color>42A5F5</color>
          <item>
            <host>Template DB SAP HANA by Zabbix agent 2</host>
            <key>sap.hana.network[sent]</key>
          </item>
        </graph_item>
        <graph_item>
          <sortorder>2</sortorder>
          <color>66BB6A</color>
          <item>
            <host>Template DB SAP HANA by Zabbix agent 2</host>
            <key>sap.hana.network[received]</key>
          </item>
        </graph_item>
        <graph_item>
          <sortorder>3</sortorder>
          <color>AB47BC</color>
          <yaxisside>RIGHT</yaxisside>
          <item>
            <host>Template DB SAP HANA by Zabbix agent 2</host>
            <key>sap.hana.network[retransmitted]</key>
          </item>
        </graph_item>
        <graph_item>
          <sortorder>4</sortorder>
          <color>EF5350</color>
          <yaxisside>RIGHT</yaxisside>
          <item>
            <host>Template DB SAP HANA by Zabbix agent 2</host>
            <key>sap.hana.network[bad]</key>
          </item>
        </graph_item>
      </graph_items>
    </graph>
    <graph>
      <uuid>950afc78476a4e978b8250934fdbf84a</uuid>
      <name>SAP HANA Physical memory usage</name>
      <ymin_type_1>FIXED</ymin_type_1>
      <graph_items>
        <graph_item>
          <sortorder>1</sortorder>
          <color>66BB6A</color>
          <item>
            <host>Template DB SAP HANA by Zabbix agent 2</host>
            <key>sap.hana.memory[physical,free]</key>
          </item>
        </graph_item>
        <graph_item>
          <sortorder>2</sortorder>
          <color>EF5350</color>
          <item>
            <host>Template DB SAP HANA by Zabbix agent 2</host>
            <key>sap.hana.memory[physical,used]</key>
          </item>
        </graph_item>
      </graph_items>
    </graph>
    <graph>
      <uuid>4d48c2e1da4448a7932ff34f82cfc482</uuid>
      <name>SAP HANA Swap usage</name>
      <ymin_type_1>FIXED</ymin_type_1>
      <graph_items>
        <graph_item>
          <sortorder>1</sortorder>
          <color>66BB6A</color>
          <item>
            <host>Template DB SAP HANA by Zabbix agent 2</host>
            <key>sap.hana.memory[swap,free]</key>
          </item>
        </graph_item>
        <graph_item>
          <sortorder>2</sortorder>
          <color>EF5350</color>
          <item>
            <host>Template DB SAP HANA by Zabbix agent 2</host>
            <key>sap.hana.memory[swap,used]</key>
          </item>
        </graph_item>
      </graph_items>
    </graph>
  </graphs>
</zabbix_export>
