Open aakhtar189 opened 6 years ago
I google translated the Japanese parts :-), now it seems to work
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>3.4</version>
<date>2017-12-23T05:27:45Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template App Nginx for 3.4</template>
<name>Template App Nginx for 3.4</name>
<description/>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>APP.nginx</name>
</application>
<application>
<name>APP.nginx.stub_status</name>
</application>
</applications>
<items>
<item>
<name>JSON Get [ Nginx ]</name>
<type>0</type>
<snmp_community/>
<snmp_oid/>
<key>nginx.json[{$NGINX_STUB_SERVER},{$NGINX_STUB_PORT}]</key>
<delay>1m</delay>
<history>1d</history>
<trends>0</trends>
<status>0</status>
<value_type>2</value_type>
<allowed_hosts/>
<units/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description/>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>APP.nginx.stub_status</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing/>
<jmx_endpoint/>
<master_item/>
</item>
<item>
<name>Accepts Connections per sec</name>
<type>18</type>
<snmp_community/>
<snmp_oid/>
<key>nginx_stub[accepts]</key>
<delay>0</delay>
<history>30d</history>
<trends>365d</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>Number of accepted connection processing</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>APP.nginx.stub_status</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing>
<step>
<type>12</type>
<params>$.nginx[1]</params>
</step>
<step>
<type>10</type>
<params/>
</step>
</preprocessing>
<jmx_endpoint/>
<master_item>
<key>nginx.json[{$NGINX_STUB_SERVER},{$NGINX_STUB_PORT}]</key>
</master_item>
</item>
<item>
<name>Active Connections</name>
<type>18</type>
<snmp_community/>
<snmp_oid/>
<key>nginx_stub[active_connections]</key>
<delay>0</delay>
<history>30d</history>
<trends>365d</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>Current active connections</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>APP.nginx.stub_status</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing>
<step>
<type>12</type>
<params>$.nginx[0]</params>
</step>
</preprocessing>
<jmx_endpoint/>
<master_item>
<key>nginx.json[{$NGINX_STUB_SERVER},{$NGINX_STUB_PORT}]</key>
</master_item>
</item>
<item>
<name>Handle Connections per sec</name>
<type>18</type>
<snmp_community/>
<snmp_oid/>
<key>nginx_stub[handled]</key>
<delay>0</delay>
<history>30d</history>
<trends>365d</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>Number of connections processed</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>APP.nginx.stub_status</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing>
<step>
<type>12</type>
<params>$.nginx[2]</params>
</step>
<step>
<type>10</type>
<params/>
</step>
</preprocessing>
<jmx_endpoint/>
<master_item>
<key>nginx.json[{$NGINX_STUB_SERVER},{$NGINX_STUB_PORT}]</key>
</master_item>
</item>
<item>
<name>Reading Count</name>
<type>18</type>
<snmp_community/>
<snmp_oid/>
<key>nginx_stub[reading]</key>
<delay>0</delay>
<history>30d</history>
<trends>365d</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>Number of connections during current request header processing</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>APP.nginx.stub_status</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing>
<step>
<type>12</type>
<params>$.nginx[4]</params>
</step>
</preprocessing>
<jmx_endpoint/>
<master_item>
<key>nginx.json[{$NGINX_STUB_SERVER},{$NGINX_STUB_PORT}]</key>
</master_item>
</item>
<item>
<name>Requests per sec</name>
<type>18</type>
<snmp_community/>
<snmp_oid/>
<key>nginx_stub[requests]</key>
<delay>0</delay>
<history>30d</history>
<trends>365d</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>Number of requests</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>APP.nginx.stub_status</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing>
<step>
<type>12</type>
<params>$.nginx[3]</params>
</step>
<step>
<type>10</type>
<params/>
</step>
</preprocessing>
<jmx_endpoint/>
<master_item>
<key>nginx.json[{$NGINX_STUB_SERVER},{$NGINX_STUB_PORT}]</key>
</master_item>
</item>
<item>
<name>keep-alive Count</name>
<type>18</type>
<snmp_community/>
<snmp_oid/>
<key>nginx_stub[waiting]</key>
<delay>0</delay>
<history>30d</history>
<trends>365d</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>Current Keep-Alived Number of waiting connections</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>APP.nginx.stub_status</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing>
<step>
<type>12</type>
<params>$.nginx[6]</params>
</step>
</preprocessing>
<jmx_endpoint/>
<master_item>
<key>nginx.json[{$NGINX_STUB_SERVER},{$NGINX_STUB_PORT}]</key>
</master_item>
</item>
<item>
<name>Writing Count</name>
<type>18</type>
<snmp_community/>
<snmp_oid/>
<key>nginx_stub[writing]</key>
<delay>0</delay>
<history>30d</history>
<trends>365d</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>Number of connections during current request body processing</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>APP.nginx.stub_status</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing>
<step>
<type>12</type>
<params>$.nginx[5]</params>
</step>
</preprocessing>
<jmx_endpoint/>
<master_item>
<key>nginx.json[{$NGINX_STUB_SERVER},{$NGINX_STUB_PORT}]</key>
</master_item>
</item>
<item>
<name>Use Memory of Nginx Master Process</name>
<type>0</type>
<snmp_community/>
<snmp_oid/>
<key>proc.mem[nginx,root,max]</key>
<delay>10m</delay>
<history>30d</history>
<trends>365d</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units>B</units>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>Memory usage of main process</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>APP.nginx</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing/>
<jmx_endpoint/>
<master_item/>
</item>
<item>
<name>Use Memory of Nginx Worker Processes</name>
<type>0</type>
<snmp_community/>
<snmp_oid/>
<key>proc.mem[nginx,{$NGINX_USER},sum]</key>
<delay>10m</delay>
<history>30d</history>
<trends>365d</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units>B</units>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>Memory usage of worker process</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>APP.nginx</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing/>
<jmx_endpoint/>
<master_item/>
</item>
<item>
<name>Use Memory of Nginx</name>
<type>0</type>
<snmp_community/>
<snmp_oid/>
<key>proc.mem[nginx]</key>
<delay>10m</delay>
<history>30d</history>
<trends>365d</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units>B</units>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>Total memory usage of all processes</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>APP.nginx</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing/>
<jmx_endpoint/>
<master_item/>
</item>
<item>
<name>Nginx is running</name>
<type>0</type>
<snmp_community/>
<snmp_oid/>
<key>proc.num[nginx,root]</key>
<delay>1m</delay>
<history>30d</history>
<trends>365d</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>State monitoring of Nginx main process</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>APP.nginx</name>
</application>
</applications>
<valuemap>
<name>Service state</name>
</valuemap>
<logtimefmt/>
<preprocessing/>
<jmx_endpoint/>
<master_item/>
</item>
<item>
<name>Number of Nginx Zombie Worker</name>
<type>0</type>
<snmp_community/>
<snmp_oid/>
<key>proc.num[nginx,{$NGINX_USER},zomb]</key>
<delay>5m</delay>
<history>30d</history>
<trends>365d</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>Monitor zombie state of worker process</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>APP.nginx</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing/>
<jmx_endpoint/>
<master_item/>
</item>
<item>
<name>Number of Nginx Work Process</name>
<type>0</type>
<snmp_community/>
<snmp_oid/>
<key>proc.num[nginx,{$NGINX_USER}]</key>
<delay>5m</delay>
<history>30d</history>
<trends>365d</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>State monitoring of Nginx worker process</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>APP.nginx</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing/>
<jmx_endpoint/>
<master_item/>
</item>
</items>
<discovery_rules/>
<httptests/>
<macros>
<macro>
<macro>{$NGINX_STUB_PORT}</macro>
<value>8080</value>
</macro>
<macro>
<macro>{$NGINX_STUB_SERVER}</macro>
<value>localhost</value>
</macro>
<macro>
<macro>{$NGINX_USER}</macro>
<value>nginx</value>
</macro>
</macros>
<templates/>
<screens>
<screen>
<name>Nginx: Load Monitor</name>
<hsize>2</hsize>
<vsize>2</vsize>
<screen_items>
<screen_item>
<resourcetype>0</resourcetype>
<width>500</width>
<height>100</height>
<x>0</x>
<y>0</y>
<colspan>1</colspan>
<rowspan>1</rowspan>
<elements>0</elements>
<valign>1</valign>
<halign>0</halign>
<style>0</style>
<url/>
<dynamic>0</dynamic>
<sort_triggers>0</sort_triggers>
<resource>
<name>Nginx: Use Memory</name>
<host>Template App Nginx for 3.4</host>
</resource>
<max_columns>3</max_columns>
<application/>
</screen_item>
<screen_item>
<resourcetype>0</resourcetype>
<width>500</width>
<height>100</height>
<x>1</x>
<y>0</y>
<colspan>1</colspan>
<rowspan>1</rowspan>
<elements>0</elements>
<valign>1</valign>
<halign>0</halign>
<style>0</style>
<url/>
<dynamic>0</dynamic>
<sort_triggers>0</sort_triggers>
<resource>
<name>Nginx: Workers</name>
<host>Template App Nginx for 3.4</host>
</resource>
<max_columns>3</max_columns>
<application/>
</screen_item>
<screen_item>
<resourcetype>0</resourcetype>
<width>500</width>
<height>100</height>
<x>0</x>
<y>1</y>
<colspan>1</colspan>
<rowspan>1</rowspan>
<elements>0</elements>
<valign>1</valign>
<halign>0</halign>
<style>0</style>
<url/>
<dynamic>0</dynamic>
<sort_triggers>0</sort_triggers>
<resource>
<name>Nginx: Connection Status</name>
<host>Template App Nginx for 3.4</host>
</resource>
<max_columns>3</max_columns>
<application/>
</screen_item>
</screen_items>
</screen>
</screens>
</template>
</templates>
<triggers>
<trigger>
<expression>{Template App Nginx for 3.4:proc.num[nginx,{$NGINX_USER}].avg(#3)}=0</expression>
<recovery_mode>0</recovery_mode>
<recovery_expression/>
<name>[ Nginx ] All Worker DOWN</name>
<correlation_mode>0</correlation_mode>
<correlation_tag/>
<url/>
<status>0</status>
<priority>5</priority>
<description>The Nginx worker process is not running. Please confirm the state.</description>
<type>0</type>
<manual_close>0</manual_close>
<dependencies>
<dependency>
<name>[ Nginx ] Service DOWN</name>
<expression>{Template App Nginx for 3.4:proc.num[nginx,root].last()}=0</expression>
<recovery_expression/>
</dependency>
</dependencies>
<tags/>
</trigger>
<trigger>
<expression>{Template App Nginx for 3.4:proc.num[nginx,root].last()}=0</expression>
<recovery_mode>0</recovery_mode>
<recovery_expression/>
<name>[ Nginx ] Service DOWN</name>
<correlation_mode>0</correlation_mode>
<correlation_tag/>
<url/>
<status>0</status>
<priority>5</priority>
<description>The Nginx main process is not running. Please confirm the state.</description>
<type>0</type>
<manual_close>0</manual_close>
<dependencies/>
<tags/>
</trigger>
<trigger>
<expression>{Template App Nginx for 3.4:proc.num[nginx,{$NGINX_USER},zomb].avg(#3)}>=1</expression>
<recovery_mode>0</recovery_mode>
<recovery_expression/>
<name>[ Nginx ] Worker become ZOMBIE</name>
<correlation_mode>0</correlation_mode>
<correlation_tag/>
<url/>
<status>0</status>
<priority>3</priority>
<description>Nginx's worker process is zombieized. Please check the status.</description>
<type>0</type>
<manual_close>0</manual_close>
<dependencies>
<dependency>
<name>[ Nginx ] All Worker DOWN</name>
<expression>{Template App Nginx for 3.4:proc.num[nginx,{$NGINX_USER}].avg(#3)}=0</expression>
<recovery_expression/>
</dependency>
<dependency>
<name>[ Nginx ] Service DOWN</name>
<expression>{Template App Nginx for 3.4:proc.num[nginx,root].last()}=0</expression>
<recovery_expression/>
</dependency>
</dependencies>
<tags/>
</trigger>
</triggers>
<graphs>
<graph>
<name>Nginx: Connection Status</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
<yaxismax>100.0000</yaxismax>
<show_work_period>1</show_work_period>
<show_triggers>1</show_triggers>
<type>0</type>
<show_legend>1</show_legend>
<show_3d>0</show_3d>
<percent_left>0.0000</percent_left>
<percent_right>0.0000</percent_right>
<ymin_type_1>1</ymin_type_1>
<ymax_type_1>0</ymax_type_1>
<ymin_item_1>0</ymin_item_1>
<ymax_item_1>0</ymax_item_1>
<graph_items>
<graph_item>
<sortorder>0</sortorder>
<drawtype>5</drawtype>
<color>00C800</color>
<yaxisside>1</yaxisside>
<calc_fnc>4</calc_fnc>
<type>0</type>
<item>
<host>Template App Nginx for 3.4</host>
<key>nginx_stub[active_connections]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>0</drawtype>
<color>0000C8</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Template App Nginx for 3.4</host>
<key>nginx_stub[accepts]</key>
</item>
</graph_item>
<graph_item>
<sortorder>2</sortorder>
<drawtype>0</drawtype>
<color>C800C8</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Template App Nginx for 3.4</host>
<key>nginx_stub[requests]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>Nginx: Use Memory</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
<yaxismax>100.0000</yaxismax>
<show_work_period>0</show_work_period>
<show_triggers>1</show_triggers>
<type>1</type>
<show_legend>1</show_legend>
<show_3d>0</show_3d>
<percent_left>0.0000</percent_left>
<percent_right>0.0000</percent_right>
<ymin_type_1>1</ymin_type_1>
<ymax_type_1>0</ymax_type_1>
<ymin_item_1>0</ymin_item_1>
<ymax_item_1>0</ymax_item_1>
<graph_items>
<graph_item>
<sortorder>0</sortorder>
<drawtype>0</drawtype>
<color>00EE00</color>
<yaxisside>0</yaxisside>
<calc_fnc>4</calc_fnc>
<type>0</type>
<item>
<host>Template App Nginx for 3.4</host>
<key>proc.mem[nginx,root,max]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>0</drawtype>
<color>0000EE</color>
<yaxisside>0</yaxisside>
<calc_fnc>4</calc_fnc>
<type>0</type>
<item>
<host>Template App Nginx for 3.4</host>
<key>proc.mem[nginx,{$NGINX_USER},sum]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>Nginx: Workers</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
<yaxismax>100.0000</yaxismax>
<show_work_period>0</show_work_period>
<show_triggers>1</show_triggers>
<type>1</type>
<show_legend>1</show_legend>
<show_3d>0</show_3d>
<percent_left>0.0000</percent_left>
<percent_right>0.0000</percent_right>
<ymin_type_1>1</ymin_type_1>
<ymax_type_1>0</ymax_type_1>
<ymin_item_1>0</ymin_item_1>
<ymax_item_1>0</ymax_item_1>
<graph_items>
<graph_item>
<sortorder>0</sortorder>
<drawtype>2</drawtype>
<color>EE0000</color>
<yaxisside>0</yaxisside>
<calc_fnc>4</calc_fnc>
<type>0</type>
<item>
<host>Template App Nginx for 3.4</host>
<key>proc.num[nginx,{$NGINX_USER},zomb]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>5</drawtype>
<color>00EE00</color>
<yaxisside>0</yaxisside>
<calc_fnc>4</calc_fnc>
<type>0</type>
<item>
<host>Template App Nginx for 3.4</host>
<key>proc.num[nginx,{$NGINX_USER}]</key>
</item>
</graph_item>
</graph_items>
</graph>
</graphs>
<value_maps>
<value_map>
<name>Service state</name>
<mappings>
<mapping>
<value>0</value>
<newvalue>Down</newvalue>
</mapping>
<mapping>
<value>1</value>
<newvalue>Up</newvalue>
</mapping>
</mappings>
</value_map>
</value_maps>
</zabbix_export>
i am getting this issue while importing template,
Error in query [INSERT INTO items (name,type,snmp_community,snmp_oid,delay,history,trends,status,value_type,units,snmpv3_contextname,snmpv3_securityname,snmpv3_securitylevel,snmpv3_authprotocol,snmpv3_authpassphrase,snmpv3_privprotocol,snmpv3_privpassphrase,params,ipmi_sensor,authtype,username,password,publickey,privatekey,port,description,inventory_link,logtimefmt,jmxendpoint,key,trapper_hosts,hostid,interfaceid,flags,master_itemid,itemid) VALUES ('Use Memory of Nginx Master Process','0','','','10m','30d','365d','0','3','B','','','0','0','','0','','','','0','','','','','','メインプロセスのメモリ使用量','0','','','proc.mem[nginx,root,max]','','10280',NULL,'0',NULL,'28879')] [Incorrect string value: '\xE3\x83\xA1\xE3\x82\xA4...' for column 'description' at row 1] SQL statement execution has failed "INSERT INTO items (name,type,snmp_community,snmp_oid,delay,history,trends,status,value_type,units,snmpv3_contextname,snmpv3_securityname,snmpv3_securitylevel,snmpv3_authprotocol,snmpv3_authpassphrase,snmpv3_privprotocol,snmpv3_privpassphrase,params,ipmi_sensor,authtype,username,password,publickey,privatekey,port,description,inventory_link,logtimefmt,jmxendpoint,key,trapper_hosts,hostid,interfaceid,flags,master_itemid,itemid) VALUES ('Use Memory of Nginx Master Process','0','','','10m','30d','365d','0','3','B','','','0','0','','0','','','','0','','','','','','メインプロセスのメモリ使用量','0','','','proc.mem[nginx,root,max]','','10280',NULL,'0',NULL,'28879')". [conf.import.php:166 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CConfiguration->import() → CConfigurationImport->import() → CConfigurationImport->processItems() → CConfigurationImport->createEntitiesWithDependency() → CItem->create() → CItem->createReal() → DB::insert() → DB::exception() in include/classes/db/DB.php:468]