<?xml version="1.0" encoding="UTF-8"?> <zabbix_export> <version>3.4</version> <date>2018-06-11T11:38:58Z</date> <groups> <group> <name>Templates</name> </group> </groups> <templates> <template> <template>Service Nginx</template> <name>Service Nginx</name> <description>Nginx http server monitoring template. Version: 1.0.4 (2018-06-11) URL: https://github.com/kloczek/zabbix-templates/tree/master/Service%20Nginx Notes: * The ngx_http_stub_status_module module provides access to basic status information. - This template uses nginx stub_status loadable module metrics - To use this template add nginx.conf configuration file: location /stub_status { stub_status on; # do not log query for stats in access log access_log off; allow 127.0.0.1; deny all; }</description> <groups> <group> <name>Templates</name> </group> </groups> <applications> <application> <name>SVC::nginx</name> </application> <application> <name>SVC::nginx::connections</name> </application> <application> <name>SVC::nginx::requests</name> </application> </applications> <items> <item> <name>SVC::$1 tcp/$3</name> <type>7</type> <snmp_community/> <snmp_oid/> <key>net.tcp.service[http,,80]</key> <delay>1m</delay> <history>2w</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>Checking is it possible to connect to tcp/80.</description> <inventory_link>0</inventory_link> <applications> <application> <name>SVC::nginx</name> </application> </applications> <valuemap> <name>Service state</name> </valuemap> <logtimefmt/> <preprocessing/> <jmx_endpoint/> <master_item/> </item> <item> <name>connections::$1</name> <type>18</type> <snmp_community/> <snmp_oid/> <key>nginx.connections[active]</key> <delay>0</delay> <history>2w</history> <trends>365d</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units>connections</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>The current number of all open connections. This doesn’t mean number of users. A single user, for a single pageview can open many concurrent connections to your server.</description> <inventory_link>0</inventory_link> <applications> <application> <name>SVC::nginx::connections</name> </application> </applications> <valuemap/> <logtimefmt/> <preprocessing> <step> <type>5</type> <params>Active(.*) \0</params> </step> <step> <type>5</type> <params>\d+ \0</params> </step> </preprocessing> <jmx_endpoint/> <master_item> <key>web.page.get[{$NGINX_HOST},{$NGINX_STATS_URI},{$NGINX_PORT}]</key> </master_item> </item> <item> <name>connections::$1</name> <type>18</type> <snmp_community/> <snmp_oid/> <key>nginx.connections[reading]</key> <delay>0</delay> <history>2w</history> <trends>365d</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units>connections</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>The current number of client connections in reading the request state.</description> <inventory_link>0</inventory_link> <applications> <application> <name>SVC::nginx::connections</name> </application> </applications> <valuemap/> <logtimefmt/> <preprocessing> <step> <type>5</type> <params>Reading:(.*) \0</params> </step> <step> <type>5</type> <params>\d+ \0</params> </step> </preprocessing> <jmx_endpoint/> <master_item> <key>web.page.get[{$NGINX_HOST},{$NGINX_STATS_URI},{$NGINX_PORT}]</key> </master_item> </item> <item> <name>connections::$1</name> <type>18</type> <snmp_community/> <snmp_oid/> <key>nginx.connections[waiting]</key> <delay>0</delay> <history>2w</history> <trends>365d</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units>connections</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>The current number of client connections in waiting state. keep-alive connections, actually it is active – (reading + writing).This value depends on keepalive-timeout. Do not confuse non-zero waiting value for poor performance. It can be ignored. Although, you can force zero waiting by setting keepalive_timeout 0; http://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_disable http://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_requests http://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_timeout</description> <inventory_link>0</inventory_link> <applications> <application> <name>SVC::nginx::connections</name> </application> </applications> <valuemap/> <logtimefmt/> <preprocessing> <step> <type>5</type> <params>Waiting:(.*) \0</params> </step> <step> <type>5</type> <params>\d+ \0</params> </step> </preprocessing> <jmx_endpoint/> <master_item> <key>web.page.get[{$NGINX_HOST},{$NGINX_STATS_URI},{$NGINX_PORT}]</key> </master_item> </item> <item> <name>connections::$1</name> <type>18</type> <snmp_community/> <snmp_oid/> <key>nginx.connections[writing]</key> <delay>0</delay> <history>2w</history> <trends>365d</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units>connections</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>The current number of client connections writing the response back to the client.</description> <inventory_link>0</inventory_link> <applications> <application> <name>SVC::nginx::connections</name> </application> </applications> <valuemap/> <logtimefmt/> <preprocessing> <step> <type>5</type> <params>Writing:(.*) \0</params> </step> <step> <type>5</type> <params>\d+ \0</params> </step> </preprocessing> <jmx_endpoint/> <master_item> <key>web.page.get[{$NGINX_HOST},{$NGINX_STATS_URI},{$NGINX_PORT}]</key> </master_item> </item> <item> <name>requests</name> <type>18</type> <snmp_community/> <snmp_oid/> <key>nginx.requests</key> <delay>0</delay> <history>2w</history> <trends>365d</trends> <status>0</status> <value_type>0</value_type> <allowed_hosts/> <units>req/s</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>The number of client requests per second.</description> <inventory_link>0</inventory_link> <applications> <application> <name>SVC::nginx::requests</name> </application> </applications> <valuemap/> <logtimefmt/> <preprocessing> <step> <type>5</type> <params>\s\d+\s\d+\s\d+ \0</params> </step> <step> <type>5</type> <params>\s\d+\s\d+\s(.*) \1</params> </step> <step> <type>10</type> <params/> </step> </preprocessing> <jmx_endpoint/> <master_item> <key>web.page.get[{$NGINX_HOST},{$NGINX_STATS_URI},{$NGINX_PORT}]</key> </master_item> </item> <item> <name>requests::$1</name> <type>18</type> <snmp_community/> <snmp_oid/> <key>nginx.requests[accepts]</key> <delay>0</delay> <history>2w</history> <trends>365d</trends> <status>0</status> <value_type>0</value_type> <allowed_hosts/> <units>req/s</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>The number of accepted client connections per second.</description> <inventory_link>0</inventory_link> <applications> <application> <name>SVC::nginx::requests</name> </application> </applications> <valuemap/> <logtimefmt/> <preprocessing> <step> <type>5</type> <params>\s\d+\s\d+\s\d+ \0</params> </step> <step> <type>5</type> <params>\d+ \0</params> </step> <step> <type>10</type> <params/> </step> </preprocessing> <jmx_endpoint/> <master_item> <key>web.page.get[{$NGINX_HOST},{$NGINX_STATS_URI},{$NGINX_PORT}]</key> </master_item> </item> <item> <name>requests::$1</name> <type>18</type> <snmp_community/> <snmp_oid/> <key>nginx.requests[handled]</key> <delay>0</delay> <history>2w</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>The number of handled connections per second by Nginx server. Generally, the parameter value is the same as accepts unless some resource limits have been reached (for example, the worker_connections limit).</description> <inventory_link>0</inventory_link> <applications> <application> <name>SVC::nginx::requests</name> </application> </applications> <valuemap/> <logtimefmt/> <preprocessing> <step> <type>5</type> <params>\s\d+\s\d+\s\d+ \0</params> </step> <step> <type>5</type> <params>\s\d+\s\d+\s \0</params> </step> <step> <type>5</type> <params>\s\d+\s(.*) \1</params> </step> <step> <type>10</type> <params/> </step> </preprocessing> <jmx_endpoint/> <master_item> <key>web.page.get[{$NGINX_HOST},{$NGINX_STATS_URI},{$NGINX_PORT}]</key> </master_item> </item> <item> <name>memory::master</name> <type>7</type> <snmp_community/> <snmp_oid/> <key>proc.mem[nginx,root,]</key> <delay>30s</delay> <history>2w</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 nginx process memory usage.</description> <inventory_link>0</inventory_link> <applications> <application> <name>SVC::nginx</name> </application> </applications> <valuemap/> <logtimefmt/> <preprocessing/> <jmx_endpoint/> <master_item/> </item> <item> <name>memory::workers</name> <type>7</type> <snmp_community/> <snmp_oid/> <key>proc.mem[nginx,{$NGINX_USER},sum]</key> <delay>30s</delay> <history>2w</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>Sum of memory of all ngingx worker process.</description> <inventory_link>0</inventory_link> <applications> <application> <name>SVC::nginx</name> </application> </applications> <valuemap/> <logtimefmt/> <preprocessing/> <jmx_endpoint/> <master_item/> </item> <item> <name>memory</name> <type>7</type> <snmp_community/> <snmp_oid/> <key>proc.mem[nginx]</key> <delay>30s</delay> <history>2w</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 by all nginx processes.</description> <inventory_link>0</inventory_link> <applications> <application> <name>SVC::nginx</name> </application> </applications> <valuemap/> <logtimefmt/> <preprocessing/> <jmx_endpoint/> <master_item/> </item> <item> <name>PROC::$1</name> <type>7</type> <snmp_community/> <snmp_oid/> <key>proc.num[nginx,root]</key> <delay>1m</delay> <history>2w</history> <trends>365d</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units>processes</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 Nginx processes.</description> <inventory_link>0</inventory_link> <applications> <application> <name>SVC::nginx</name> </application> </applications> <valuemap/> <logtimefmt/> <preprocessing/> <jmx_endpoint/> <master_item/> </item> <item> <name>PROC::nginx::workers</name> <type>7</type> <snmp_community/> <snmp_oid/> <key>proc.num[nginx,{$NGINX_USER}]</key> <delay>1m</delay> <history>2w</history> <trends>365d</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units>processes</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 Nginx worker processes.</description> <inventory_link>0</inventory_link> <applications> <application> <name>SVC::nginx</name> </application> </applications> <valuemap/> <logtimefmt/> <preprocessing/> <jmx_endpoint/> <master_item/> </item> <item> <name>version</name> <type>7</type> <snmp_community/> <snmp_oid/> <key>system.run["/usr/sbin/nginx -v 2>&1|/bin/sed -n 's/nginx version: nginx\/\(.*\)/\1/ p'"]</key> <delay>1h</delay> <history>2w</history> <trends>0</trends> <status>0</status> <value_type>1</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>Version of the nginx.</description> <inventory_link>0</inventory_link> <applications> <application> <name>SVC::nginx</name> </application> </applications> <valuemap/> <logtimefmt/> <preprocessing/> <jmx_endpoint/> <master_item/> </item> <item> <name>stub_status:</name> <type>7</type> <snmp_community/> <snmp_oid/> <key>web.page.get[{$NGINX_HOST},{$NGINX_STATS_URI},{$NGINX_PORT}]</key> <delay>30s</delay> <history>0d</history> <trends>0</trends> <status>0</status> <value_type>4</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>Master item sampling all nginx stub_status module data.</description> <inventory_link>0</inventory_link> <applications> <application> <name>SVC::nginx</name> </application> </applications> <valuemap/> <logtimefmt/> <preprocessing/> <jmx_endpoint/> <master_item/> </item> </items> <discovery_rules/> <httptests/> <macros> <macro> <macro>{$NGINX_HOST}</macro> <value>localhost</value> </macro> <macro> <macro>{$NGINX_PORT}</macro> <value>80</value> </macro> <macro> <macro>{$NGINX_STATS_URI}</macro> <value>/stub_status</value> </macro> <macro> <macro>{$NGINX_USER}</macro> <value>nginx</value> </macro> </macros> <templates/> <screens> <screen> <name>SVC::Nginx</name> <hsize>1</hsize> <vsize>4</vsize> <screen_items> <screen_item> <resourcetype>3</resourcetype> <width>500</width> <height>100</height> <x>0</x> <y>0</y> <colspan>1</colspan> <rowspan>1</rowspan> <elements>1</elements> <valign>1</valign> <halign>0</halign> <style>0</style> <url/> <dynamic>0</dynamic> <sort_triggers>0</sort_triggers> <resource> <key>system.run["/usr/sbin/nginx -v 2>&1|/bin/sed -n 's/nginx version: nginx\/\(.*\)/\1/ p'"]</key> <host>Service Nginx</host> </resource> <max_columns>3</max_columns> <application/> </screen_item> <screen_item> <resourcetype>0</resourcetype> <width>1200</width> <height>300</height> <x>0</x> <y>1</y> <colspan>1</colspan> <rowspan>1</rowspan> <elements>0</elements> <valign>1</valign> <halign>1</halign> <style>0</style> <url/> <dynamic>0</dynamic> <sort_triggers>0</sort_triggers> <resource> <name>SVC::Nginx::requests</name> <host>Service Nginx</host> </resource> <max_columns>3</max_columns> <application/> </screen_item> <screen_item> <resourcetype>0</resourcetype> <width>1200</width> <height>300</height> <x>0</x> <y>2</y> <colspan>1</colspan> <rowspan>1</rowspan> <elements>0</elements> <valign>1</valign> <halign>1</halign> <style>0</style> <url/> <dynamic>0</dynamic> <sort_triggers>0</sort_triggers> <resource> <name>SVC::Nginx::connection</name> <host>Service Nginx</host> </resource> <max_columns>3</max_columns> <application/> </screen_item> <screen_item> <resourcetype>0</resourcetype> <width>1200</width> <height>300</height> <x>0</x> <y>3</y> <colspan>1</colspan> <rowspan>1</rowspan> <elements>0</elements> <valign>1</valign> <halign>1</halign> <style>0</style> <url/> <dynamic>0</dynamic> <sort_triggers>0</sort_triggers> <resource> <name>SVC::Nginx::memory</name> <host>Service Nginx</host> </resource> <max_columns>3</max_columns> <application/> </screen_item> </screen_items> </screen> </screens> </template> </templates> <triggers> <trigger> <expression>{Service Nginx:net.tcp.service[http,,80].max(#3)}=0</expression> <recovery_mode>0</recovery_mode> <recovery_expression/> <name>SVC::http tcp/{$NGINX_PORT} is DOWN</name> <correlation_mode>0</correlation_mode> <correlation_tag/> <url/> <status>0</status> <priority>3</priority> <description>Nothing listens on http tcp/{$NGINX_PORT} port or traffic on this port is filtered by firewall.</description> <type>0</type> <manual_close>0</manual_close> <dependencies/> <tags/> </trigger> <trigger> <expression>{Service Nginx:proc.num[nginx,root].last()}=0</expression> <recovery_mode>0</recovery_mode> <recovery_expression/> <name>SVC::nginx::master process is 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>{Service Nginx:proc.num[nginx,{$NGINX_USER}].avg(#3)}=0</expression> <recovery_mode>0</recovery_mode> <recovery_expression/> <name>SVC::nginx::workers DOWN</name> <correlation_mode>0</correlation_mode> <correlation_tag/> <url/> <status>0</status> <priority>5</priority> <description>The Nginx worker process are not running. Please confirm the state.</description> <type>0</type> <manual_close>0</manual_close> <dependencies> <dependency> <name>SVC::nginx::master process is DOWN</name> <expression>{Service Nginx:proc.num[nginx,root].last()}=0</expression> <recovery_expression/> </dependency> </dependencies> <tags/> </trigger> </triggers> <graphs> <graph> <name>SVC::Nginx::connection</name> <width>1200</width> <height>300</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>0</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>00C800</color> <yaxisside>0</yaxisside> <calc_fnc>7</calc_fnc> <type>0</type> <item> <host>Service Nginx</host> <key>nginx.connections[active]</key> </item> </graph_item> <graph_item> <sortorder>1</sortorder> <drawtype>2</drawtype> <color>0000C8</color> <yaxisside>0</yaxisside> <calc_fnc>7</calc_fnc> <type>0</type> <item> <host>Service Nginx</host> <key>nginx.connections[reading]</key> </item> </graph_item> <graph_item> <sortorder>2</sortorder> <drawtype>2</drawtype> <color>C80000</color> <yaxisside>0</yaxisside> <calc_fnc>7</calc_fnc> <type>0</type> <item> <host>Service Nginx</host> <key>nginx.connections[waiting]</key> </item> </graph_item> <graph_item> <sortorder>3</sortorder> <drawtype>2</drawtype> <color>C800C8</color> <yaxisside>0</yaxisside> <calc_fnc>7</calc_fnc> <type>0</type> <item> <host>Service Nginx</host> <key>nginx.connections[writing]</key> </item> </graph_item> </graph_items> </graph> <graph> <name>SVC::Nginx::memory</name> <width>1200</width> <height>300</height> <yaxismin>0.0000</yaxismin> <yaxismax>100.0000</yaxismax> <show_work_period>1</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>0</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>DD0000</color> <yaxisside>0</yaxisside> <calc_fnc>2</calc_fnc> <type>0</type> <item> <host>Service Nginx</host> <key>proc.mem[nginx,root,]</key> </item> </graph_item> <graph_item> <sortorder>1</sortorder> <drawtype>2</drawtype> <color>00BB00</color> <yaxisside>0</yaxisside> <calc_fnc>2</calc_fnc> <type>0</type> <item> <host>Service Nginx</host> <key>proc.mem[nginx,{$NGINX_USER},sum]</key> </item> </graph_item> </graph_items> </graph> <graph> <name>SVC::Nginx::requests</name> <width>1200</width> <height>300</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>0</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>0000AA</color> <yaxisside>0</yaxisside> <calc_fnc>7</calc_fnc> <type>0</type> <item> <host>Service Nginx</host> <key>nginx.requests</key> </item> </graph_item> <graph_item> <sortorder>1</sortorder> <drawtype>2</drawtype> <color>DD0000</color> <yaxisside>0</yaxisside> <calc_fnc>7</calc_fnc> <type>0</type> <item> <host>Service Nginx</host> <key>nginx.requests[accepts]</key> </item> </graph_item> <graph_item> <sortorder>2</sortorder> <drawtype>2</drawtype> <color>00BB00</color> <yaxisside>0</yaxisside> <calc_fnc>7</calc_fnc> <type>0</type> <item> <host>Service Nginx</host> <key>nginx.requests[handled]</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>