tengine是一个不错的nginx增强版本,特别是在统计request time的部分,以前必须要通过日志来进行后期统计,但是无法很实时。但是现在却是比较方便的。 但是也有点问题,在nginx status的部分显示的request time是nginx启动开始所有请求的request time的一个合计。也就是说nginx平均的request time是nginx status里的request time值除以request值。但是这个却无法展现最近的request time时间。用了一个取巧的办法,就是取检查当时5秒的平均request time。 最后展示的结果就是如下 稍微修改了一下get_nginx_socket_status.pl 这个文件和对应的xml文件 ```c
#!/usr/bin/perl if (! eval “require LWP::UserAgent;”) { $ret = “LWP::UserAgent not found”; } if ( exists $ARGV[0]) { if ($ret) { print “no ($ret)n”; exit 1; } my $ua = LWP::UserAgent->new(timeout => 5); my $req = HTTP::Headers->new; $req = HTTP::Request->new(GET => $ARGV[0]); $req->user_agent(‘no-monitor’); my $response = $ua->request($req); my @content = split (/n/, $response->content); sleep(10); my $response = $ua->request($req); my @newcontent = split (/n/, $response->content); # my $response = $ua->request(HTTP::Request->new(‘GET’,$ARGV[0])); # my @content = split (/n/, $response->content); # my $newcontent = split (/n/, $newresponse->newcontent); my $active_connections = -1; if ($content[0] =~ /^Active connections:s+(d+)s*$/i) { $active_connections = $1; } my $accepts = -1; my $handled = -1; my $requests = -1; my $requests_time = -1; if ($content[2] =~ /^s+(d+)s+(d+)s+(d+)s+(d+)s*$/) { $accepts = $1; $handled = $2; $requests = $3; $oldrequests_time = $4; } if ($newcontent[2] =~ /^s+(d+)s+(d+)s+(d+)s+(d+)s*$/) { $newrequests = $3; $requests_time = int(($4-$oldrequests_time) / ($newrequests-$requests)); } my $reading = -1; my $writing = -1; my $waiting = -1; if ($content[3] =~ /Reading: (d+) Writing: (d+) Waiting: (d+)s*$/) { $reading = $1; $writing = $2; $waiting = $3; } print “nginx_accepts:$accepts nginx_handled:$handled nginx_requests:$requests nginx_requests_time:$requests_time”; print “n”; }
```c 1 2 <cacti> <hash_02002121ea7f2064be4bb8c2a71a52ff96fdc1> <name>tengine</name> <graph_templates>hash_000021c35dc317aadf8219dabae7c29fd98694|hash_000021dca2bc381d19c91ceb1603b5062c83e2</graph_templates> <data_queries></data_queries> </hash_02002121ea7f2064be4bb8c2a71a52ff96fdc1> <hash_000021c35dc317aadf8219dabae7c29fd98694> <name>Nginx Clients Stat</name> <graph> <t_title></t_title> <title>|host_description| - Nginx Clients Stat</title> <t_image_format_id></t_image_format_id> <image_format_id>1</image_format_id> <t_height></t_height> <height>120</height> <t_width></t_width> <width>500</width> <t_slope_mode></t_slope_mode> <slope_mode>on</slope_mode> <t_auto_scale></t_auto_scale> <auto_scale>on</auto_scale> <t_auto_scale_opts></t_auto_scale_opts> <auto_scale_opts>2</auto_scale_opts> <t_auto_scale_log></t_auto_scale_log> <auto_scale_log></auto_scale_log> <t_scale_log_units></t_scale_log_units> <scale_log_units></scale_log_units> <t_auto_scale_rigid></t_auto_scale_rigid> <auto_scale_rigid></auto_scale_rigid> <t_auto_padding></t_auto_padding> <auto_padding>on</auto_padding> <t_export></t_export> <export>on</export> <t_upper_limit></t_upper_limit> <upper_limit>100</upper_limit> <t_lower_limit></t_lower_limit> <lower_limit>0</lower_limit> <t_base_value></t_base_value> <base_value>1000</base_value> <t_unit_value></t_unit_value> <unit_value></unit_value> <t_unit_exponent_value></t_unit_exponent_value> <unit_exponent_value></unit_exponent_value> <t_vertical_label></t_vertical_label> <vertical_label></vertical_label> </graph> <items> <hash_10002108f6db75c900100b68f5e707ea7651bf> <task_item_id>hash_0800216aa36fa51315e2d6d15b708307f2c53c</task_item_id> <color_id>005D57</color_id> <alpha>FF</alpha> <graph_type_id>4</graph_type_id> <consolidation_function_id>1</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Active</text_format> <hard_return></hard_return> <sequence>1</sequence> </hash_10002108f6db75c900100b68f5e707ea7651bf> <hash_100021d0e3bbf50c29a3069342cd408826b753> <task_item_id>hash_0800216aa36fa51315e2d6d15b708307f2c53c</task_item_id> <color_id>0</color_id> <alpha>FF</alpha> <graph_type_id>9</graph_type_id> <consolidation_function_id>4</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Current:</text_format> <hard_return></hard_return> <sequence>2</sequence> </hash_100021d0e3bbf50c29a3069342cd408826b753> <hash_100021161e34504642f56fef3225d5b506b8ae> <task_item_id>hash_0800216aa36fa51315e2d6d15b708307f2c53c</task_item_id> <color_id>0</color_id> <alpha>FF</alpha> <graph_type_id>9</graph_type_id> <consolidation_function_id>1</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Average:</text_format> <hard_return></hard_return> <sequence>3</sequence> </hash_100021161e34504642f56fef3225d5b506b8ae> <hash_100021da81390a6e5ba8a4f31aec4875cafb02> <task_item_id>hash_0800216aa36fa51315e2d6d15b708307f2c53c</task_item_id> <color_id>0</color_id> <alpha>FF</alpha> <graph_type_id>9</graph_type_id> <consolidation_function_id>3</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Max:</text_format> <hard_return>on</hard_return> <sequence>4</sequence> </hash_100021da81390a6e5ba8a4f31aec4875cafb02> <hash_10002187617c277de94698bdc3d784e2257595> <task_item_id>hash_080021729d4b3fa3813f2974ce01b29ca6850e</task_item_id> <color_id>4444FF</color_id> <alpha>FF</alpha> <graph_type_id>4</graph_type_id> <consolidation_function_id>1</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Reading</text_format> <hard_return></hard_return> <sequence>5</sequence> </hash_10002187617c277de94698bdc3d784e2257595> <hash_100021e88db2dfe01d9a68242f3b00af85da06> <task_item_id>hash_080021729d4b3fa3813f2974ce01b29ca6850e</task_item_id> <color_id>0</color_id> <alpha>FF</alpha> <graph_type_id>9</graph_type_id> <consolidation_function_id>4</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Current:</text_format> <hard_return></hard_return> <sequence>6</sequence> </hash_100021e88db2dfe01d9a68242f3b00af85da06> <hash_10002191cbdb8c81005e78564efaa2c7045408> <task_item_id>hash_080021729d4b3fa3813f2974ce01b29ca6850e</task_item_id> <color_id>0</color_id> <alpha>FF</alpha> <graph_type_id>9</graph_type_id> <consolidation_function_id>1</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Average:</text_format> <hard_return></hard_return> <sequence>7</sequence> </hash_10002191cbdb8c81005e78564efaa2c7045408> <hash_100021659f92f53f26f1dbb9ae3238e9fca3e8> <task_item_id>hash_080021729d4b3fa3813f2974ce01b29ca6850e</task_item_id> <color_id>0</color_id> <alpha>FF</alpha> <graph_type_id>9</graph_type_id> <consolidation_function_id>3</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Max:</text_format> <hard_return>on</hard_return> <sequence>8</sequence> </hash_100021659f92f53f26f1dbb9ae3238e9fca3e8> <hash_100021ad886e1f4f835761fddf7979e06cc06b> <task_item_id>hash_08002150e895b90a6d17b7a212997b7cb1afba</task_item_id> <color_id>F24AC8</color_id> <alpha>FF</alpha> <graph_type_id>4</graph_type_id> <consolidation_function_id>1</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Waiting</text_format> <hard_return></hard_return> <sequence>9</sequence> </hash_100021ad886e1f4f835761fddf7979e06cc06b> <hash_1000212a650f2015d0cd2075a13090e99c2e88> <task_item_id>hash_08002150e895b90a6d17b7a212997b7cb1afba</task_item_id> <color_id>0</color_id> <alpha>FF</alpha> <graph_type_id>9</graph_type_id> <consolidation_function_id>4</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Current:</text_format> <hard_return></hard_return> <sequence>10</sequence> </hash_1000212a650f2015d0cd2075a13090e99c2e88> <hash_100021d960bb2d2aa8e2013f1a6e6ec005f348> <task_item_id>hash_08002150e895b90a6d17b7a212997b7cb1afba</task_item_id> <color_id>0</color_id> <alpha>FF</alpha> <graph_type_id>9</graph_type_id> <consolidation_function_id>1</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Average:</text_format> <hard_return></hard_return> <sequence>11</sequence> </hash_100021d960bb2d2aa8e2013f1a6e6ec005f348> <hash_10002176e9b62101708aee0815b2e01508d41a> <task_item_id>hash_08002150e895b90a6d17b7a212997b7cb1afba</task_item_id> <color_id>0</color_id> <alpha>FF</alpha> <graph_type_id>9</graph_type_id> <consolidation_function_id>3</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Max:</text_format> <hard_return>on</hard_return> <sequence>12</sequence> </hash_10002176e9b62101708aee0815b2e01508d41a> <hash_1000211210e4ae921055593929a9f41703cf25> <task_item_id>hash_08002175698c6bd226db0b7cd67089e651f382</task_item_id> <color_id>00CF00</color_id> <alpha>FF</alpha> <graph_type_id>4</graph_type_id> <consolidation_function_id>1</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Writing</text_format> <hard_return></hard_return> <sequence>13</sequence> </hash_1000211210e4ae921055593929a9f41703cf25> <hash_10002144359da88929bda518ca1c8809708993> <task_item_id>hash_08002175698c6bd226db0b7cd67089e651f382</task_item_id> <color_id>0</color_id> <alpha>FF</alpha> <graph_type_id>9</graph_type_id> <consolidation_function_id>4</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Current:</text_format> <hard_return></hard_return> <sequence>14</sequence> </hash_10002144359da88929bda518ca1c8809708993> <hash_100021ac404e13020ab6f400dca560f37922d1> <task_item_id>hash_08002175698c6bd226db0b7cd67089e651f382</task_item_id> <color_id>0</color_id> <alpha>FF</alpha> <graph_type_id>9</graph_type_id> <consolidation_function_id>1</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Average:</text_format> <hard_return></hard_return> <sequence>15</sequence> </hash_100021ac404e13020ab6f400dca560f37922d1> <hash_10002115ec3c66d07404a13ad6e3c8178cd8f0> <task_item_id>hash_08002175698c6bd226db0b7cd67089e651f382</task_item_id> <color_id>0</color_id> <alpha>FF</alpha> <graph_type_id>9</graph_type_id> <consolidation_function_id>3</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Max:</text_format> <hard_return></hard_return> <sequence>16</sequence> </hash_10002115ec3c66d07404a13ad6e3c8178cd8f0> </items> <inputs> <hash_0900219eefdb6640f3f9fa2f6bfdf9135b0cd0> <name>Data Source \[nginx_writing\]</name> <description></description> <column_name>task_item_id</column_name> <items>hash_0000211210e4ae921055593929a9f41703cf25|hash_00002144359da88929bda518ca1c8809708993|hash_000021ac404e13020ab6f400dca560f37922d1|hash_00002115ec3c66d07404a13ad6e3c8178cd8f0</items> </hash_0900219eefdb6640f3f9fa2f6bfdf9135b0cd0> <hash_090021308e8e7eed3de1b7c06a8b0106f685e9> <name>Data Source \[nginx_reading\]</name> <description></description> <column_name>task_item_id</column_name> <items>hash_00002187617c277de94698bdc3d784e2257595|hash_000021e88db2dfe01d9a68242f3b00af85da06|hash_00002191cbdb8c81005e78564efaa2c7045408|hash_000021659f92f53f26f1dbb9ae3238e9fca3e8</items> </hash_090021308e8e7eed3de1b7c06a8b0106f685e9> <hash_090021b0c0622d26d92272f75b7b080b4db020> <name>Data Source \[nginx_waiting\]</name> <description></description> <column_name>task_item_id</column_name> <items>hash_000021ad886e1f4f835761fddf7979e06cc06b|hash_0000212a650f2015d0cd2075a13090e99c2e88|hash_000021d960bb2d2aa8e2013f1a6e6ec005f348|hash_00002176e9b62101708aee0815b2e01508d41a</items> </hash_090021b0c0622d26d92272f75b7b080b4db020> <hash_090021ea7f568913627a2846e874fc99ed9e4f> <name>Data Source \[nginx_active\]</name> <description></description> <column_name>task_item_id</column_name> <items>hash_00002108f6db75c900100b68f5e707ea7651bf|hash_000021d0e3bbf50c29a3069342cd408826b753|hash_000021161e34504642f56fef3225d5b506b8ae|hash_000021da81390a6e5ba8a4f31aec4875cafb02</items> </hash_090021ea7f568913627a2846e874fc99ed9e4f> </inputs> </hash_000021c35dc317aadf8219dabae7c29fd98694> <hash_000021dca2bc381d19c91ceb1603b5062c83e2> <name>nginx new socket status</name> <graph> <t_title></t_title> <title>|host_description| - nginx new socket status</title> <t_image_format_id></t_image_format_id> <image_format_id>1</image_format_id> <t_height></t_height> <height>120</height> <t_width></t_width> <width>500</width> <t_slope_mode></t_slope_mode> <slope_mode>on</slope_mode> <t_auto_scale></t_auto_scale> <auto_scale>on</auto_scale> <t_auto_scale_opts></t_auto_scale_opts> <auto_scale_opts>2</auto_scale_opts> <t_auto_scale_log></t_auto_scale_log> <auto_scale_log></auto_scale_log> <t_scale_log_units></t_scale_log_units> <scale_log_units></scale_log_units> <t_auto_scale_rigid></t_auto_scale_rigid> <auto_scale_rigid></auto_scale_rigid> <t_auto_padding></t_auto_padding> <auto_padding>on</auto_padding> <t_export></t_export> <export>on</export> <t_upper_limit></t_upper_limit> <upper_limit>100</upper_limit> <t_lower_limit></t_lower_limit> <lower_limit>0</lower_limit> <t_base_value></t_base_value> <base_value>1000</base_value> <t_unit_value></t_unit_value> <unit_value></unit_value> <t_unit_exponent_value></t_unit_exponent_value> <unit_exponent_value></unit_exponent_value> <t_vertical_label></t_vertical_label> <vertical_label></vertical_label> </graph> <items> <hash_100021c4e5c5bff13fa014835a58f0afa52839> <task_item_id>hash_080021fa92c49c5bd4360018b39053964860ad</task_item_id> <color_id>008A6D</color_id> <alpha>FF</alpha> <graph_type_id>4</graph_type_id> <consolidation_function_id>1</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Accept</text_format> <hard_return></hard_return> <sequence>1</sequence> </hash_100021c4e5c5bff13fa014835a58f0afa52839> <hash_10002199f3d6ea10e2dd9ec781da06e6842ea7> <task_item_id>hash_080021fa92c49c5bd4360018b39053964860ad</task_item_id> <color_id>0</color_id> <alpha>FF</alpha> <graph_type_id>9</graph_type_id> <consolidation_function_id>4</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Current:</text_format> <hard_return></hard_return> <sequence>2</sequence> </hash_10002199f3d6ea10e2dd9ec781da06e6842ea7> <hash_100021fccbc67b30290bde7df75ed3b421e7de> <task_item_id>hash_080021fa92c49c5bd4360018b39053964860ad</task_item_id> <color_id>0</color_id> <alpha>FF</alpha> <graph_type_id>9</graph_type_id> <consolidation_function_id>1</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Avg:</text_format> <hard_return></hard_return> <sequence>3</sequence> </hash_100021fccbc67b30290bde7df75ed3b421e7de> <hash_10002142f34addd922328413beb2798281f2bb> <task_item_id>hash_080021fa92c49c5bd4360018b39053964860ad</task_item_id> <color_id>0</color_id> <alpha>FF</alpha> <graph_type_id>9</graph_type_id> <consolidation_function_id>3</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Max:</text_format> <hard_return>on</hard_return> <sequence>4</sequence> </hash_10002142f34addd922328413beb2798281f2bb> <hash_10002196b0c4967a97e35e016f44e76492e993> <task_item_id>hash_080021d0687854b0fc4cfa9f739d52eeed7944</task_item_id> <color_id>0000FF</color_id> <alpha>FF</alpha> <graph_type_id>4</graph_type_id> <consolidation_function_id>1</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Handled</text_format> <hard_return></hard_return> <sequence>5</sequence> </hash_10002196b0c4967a97e35e016f44e76492e993> <hash_100021f0c5e45def97c9d37ba3e8a1e9c8df0a> <task_item_id>hash_080021d0687854b0fc4cfa9f739d52eeed7944</task_item_id> <color_id>0</color_id> <alpha>FF</alpha> <graph_type_id>9</graph_type_id> <consolidation_function_id>4</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Current:</text_format> <hard_return></hard_return> <sequence>6</sequence> </hash_100021f0c5e45def97c9d37ba3e8a1e9c8df0a> <hash_1000218b3b96978766aca9da12d15345f1bccb> <task_item_id>hash_080021d0687854b0fc4cfa9f739d52eeed7944</task_item_id> <color_id>0</color_id> <alpha>FF</alpha> <graph_type_id>9</graph_type_id> <consolidation_function_id>1</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Avg:</text_format> <hard_return></hard_return> <sequence>7</sequence> </hash_1000218b3b96978766aca9da12d15345f1bccb> <hash_100021061507df9ab92c7ae2d09b5f50a0bf67> <task_item_id>hash_080021d0687854b0fc4cfa9f739d52eeed7944</task_item_id> <color_id>0</color_id> <alpha>FF</alpha> <graph_type_id>9</graph_type_id> <consolidation_function_id>3</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Max:</text_format> <hard_return>on</hard_return> <sequence>8</sequence> </hash_100021061507df9ab92c7ae2d09b5f50a0bf67> <hash_1000215f097e55c7ab687d12c5ece5e0c5c831> <task_item_id>hash_0800212791d488dfb6b474464803abe233d7ef</task_item_id> <color_id>6EA100</color_id> <alpha>FF</alpha> <graph_type_id>4</graph_type_id> <consolidation_function_id>1</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Requests:</text_format> <hard_return></hard_return> <sequence>9</sequence> </hash_1000215f097e55c7ab687d12c5ece5e0c5c831> <hash_100021f457ee12576ad3f5ba36d0ca6bb80ede> <task_item_id>hash_0800212791d488dfb6b474464803abe233d7ef</task_item_id> <color_id>0</color_id> <alpha>FF</alpha> <graph_type_id>9</graph_type_id> <consolidation_function_id>4</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Current:</text_format> <hard_return></hard_return> <sequence>10</sequence> </hash_100021f457ee12576ad3f5ba36d0ca6bb80ede> <hash_10002127b33c5bf2e09e097c6cc989b5f4c58a> <task_item_id>hash_0800212791d488dfb6b474464803abe233d7ef</task_item_id> <color_id>0</color_id> <alpha>FF</alpha> <graph_type_id>9</graph_type_id> <consolidation_function_id>1</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Avg:</text_format> <hard_return></hard_return> <sequence>11</sequence> </hash_10002127b33c5bf2e09e097c6cc989b5f4c58a> <hash_1000217ddb167861fc158c3a7950eee1eadfc9> <task_item_id>hash_0800212791d488dfb6b474464803abe233d7ef</task_item_id> <color_id>0</color_id> <alpha>FF</alpha> <graph_type_id>9</graph_type_id> <consolidation_function_id>3</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Max:</text_format> <hard_return>on</hard_return> <sequence>12</sequence> </hash_1000217ddb167861fc158c3a7950eee1eadfc9> <hash_1000216e177d45cfe5a3e9bc4eb5f9b5b5eb90> <task_item_id>hash_0800213b832f9cba86e201cd5a74318b0c8454</task_item_id> <color_id>FF0000</color_id> <alpha>FF</alpha> <graph_type_id>4</graph_type_id> <consolidation_function_id>1</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Rt:</text_format> <hard_return></hard_return> <sequence>13</sequence> </hash_1000216e177d45cfe5a3e9bc4eb5f9b5b5eb90> <hash_1000215725c9cdf5d42b6e343b5f4697804ad1> <task_item_id>hash_0800213b832f9cba86e201cd5a74318b0c8454</task_item_id> <color_id>0</color_id> <alpha>FF</alpha> <graph_type_id>9</graph_type_id> <consolidation_function_id>4</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Current:</text_format> <hard_return></hard_return> <sequence>14</sequence> </hash_1000215725c9cdf5d42b6e343b5f4697804ad1> <hash_1000211d2be4d50c68750ed1ea13ec435f13e5> <task_item_id>hash_0800213b832f9cba86e201cd5a74318b0c8454</task_item_id> <color_id>0</color_id> <alpha>FF</alpha> <graph_type_id>9</graph_type_id> <consolidation_function_id>1</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Avg:</text_format> <hard_return></hard_return> <sequence>15</sequence> </hash_1000211d2be4d50c68750ed1ea13ec435f13e5> <hash_100021183ae753e27d28d8607b68ef7617e342> <task_item_id>hash_0800213b832f9cba86e201cd5a74318b0c8454</task_item_id> <color_id>0</color_id> <alpha>FF</alpha> <graph_type_id>9</graph_type_id> <consolidation_function_id>3</consolidation_function_id> <cdef_id>0</cdef_id> <value></value> <gprint_id>hash_060021e9c43831e54eca8069317a2ce8c6f751</gprint_id> <text_format>Max:</text_format> <hard_return>on</hard_return> <sequence>16</sequence> </hash_100021183ae753e27d28d8607b68ef7617e342> </items> <inputs> <hash_09002117add52492a065cdd7abb50ea89c4c96> <name>Data Source \[nginx_accepts\]</name> <description></description> <column_name>task_item_id</column_name> <items>hash_000021c4e5c5bff13fa014835a58f0afa52839|hash_00002199f3d6ea10e2dd9ec781da06e6842ea7|hash_000021fccbc67b30290bde7df75ed3b421e7de|hash_00002142f34addd922328413beb2798281f2bb</items> </hash_09002117add52492a065cdd7abb50ea89c4c96> <hash_090021dfa9a67c325da545b0ee928fe920b2bf> <name>Data Source \[nginx_handled\]</name> <description></description> <column_name>task_item_id</column_name> <items>hash_00002196b0c4967a97e35e016f44e76492e993|hash_000021f0c5e45def97c9d37ba3e8a1e9c8df0a|hash_0000218b3b96978766aca9da12d15345f1bccb|hash_000021061507df9ab92c7ae2d09b5f50a0bf67</items> </hash_090021dfa9a67c325da545b0ee928fe920b2bf> <hash_0900219b11ad285b24ad904f0c7057e7980004> <name>Data Source \[nginx_requests\]</name> <description></description> <column_name>task_item_id</column_name> <items>hash_0000215f097e55c7ab687d12c5ece5e0c5c831|hash_000021f457ee12576ad3f5ba36d0ca6bb80ede|hash_00002127b33c5bf2e09e097c6cc989b5f4c58a|hash_0000217ddb167861fc158c3a7950eee1eadfc9</items> </hash_0900219b11ad285b24ad904f0c7057e7980004> <hash_09002128ebd13668327f56a71dc853f3c9b1a0> <name>Data Source \[nginx_requests_time\]</name> <description></description> <column_name>task_item_id</column_name> <items>hash_0000216e177d45cfe5a3e9bc4eb5f9b5b5eb90|hash_0000215725c9cdf5d42b6e343b5f4697804ad1|hash_0000211d2be4d50c68750ed1ea13ec435f13e5|hash_000021183ae753e27d28d8607b68ef7617e342</items> </hash_09002128ebd13668327f56a71dc853f3c9b1a0> </inputs> </hash_000021dca2bc381d19c91ceb1603b5062c83e2> <hash_010021e0657ab786701649f57bdd91b48a2f14> <name>Nginx Clients Stat</name> <ds> <t_name></t_name> <name>|host_description| - Nginx Clients Stat</name> <data_input_id>hash_030021960615ed5ce72756b8e7a787439d0a2d</data_input_id> <t_rra_id></t_rra_id> <t_rrd_step></t_rrd_step> <rrd_step>300</rrd_step> <t_active></t_active> <active>on</active> <rra_items>hash_150021c21df5178e5c955013591239eb0afd46|hash_1500210d9c0af8b8acdc7807943937b3208e29|hash_1500216fc2d038fb42950138b0ce3e9874cc60|hash_150021e36f3adb9f152adfa5dc50fd2b23337e|hash_150021283ea2bf1634d92ce081ec82a634f513</rra_items> </ds> <items> <hash_0800216aa36fa51315e2d6d15b708307f2c53c> <t_data_source_name></t_data_source_name> <data_source_name>nginx_active</data_source_name> <t_rrd_minimum></t_rrd_minimum> <rrd_minimum>0</rrd_minimum> <t_rrd_maximum></t_rrd_maximum> <rrd_maximum>0</rrd_maximum> <t_data_source_type_id></t_data_source_type_id> <data_source_type_id>1</data_source_type_id> <t_rrd_heartbeat></t_rrd_heartbeat> <rrd_heartbeat>600</rrd_heartbeat> <t_data_input_field_id></t_data_input_field_id> <data_input_field_id>hash_070021cccbd578f0c2868c1e0a6f5f3329fc0b</data_input_field_id> </hash_0800216aa36fa51315e2d6d15b708307f2c53c> <hash_080021729d4b3fa3813f2974ce01b29ca6850e> <t_data_source_name></t_data_source_name> <data_source_name>nginx_reading</data_source_name> <t_rrd_minimum></t_rrd_minimum> <rrd_minimum>0</rrd_minimum> <t_rrd_maximum></t_rrd_maximum> <rrd_maximum>0</rrd_maximum> <t_data_source_type_id></t_data_source_type_id> <data_source_type_id>1</data_source_type_id> <t_rrd_heartbeat></t_rrd_heartbeat> <rrd_heartbeat>600</rrd_heartbeat> <t_data_input_field_id></t_data_input_field_id> <data_input_field_id>hash_0700212520eb79ec6e083c89a1056140fd741b</data_input_field_id> </hash_080021729d4b3fa3813f2974ce01b29ca6850e> <hash_08002175698c6bd226db0b7cd67089e651f382> <t_data_source_name></t_data_source_name> <data_source_name>nginx_writing</data_source_name> <t_rrd_minimum></t_rrd_minimum> <rrd_minimum>0</rrd_minimum> <t_rrd_maximum></t_rrd_maximum> <rrd_maximum>0</rrd_maximum> <t_data_source_type_id></t_data_source_type_id> <data_source_type_id>1</data_source_type_id> <t_rrd_heartbeat></t_rrd_heartbeat> <rrd_heartbeat>600</rrd_heartbeat> <t_data_input_field_id></t_data_input_field_id> <data_input_field_id>hash_070021170a796e21241e35063ecf3a62a62269</data_input_field_id> </hash_08002175698c6bd226db0b7cd67089e651f382> <hash_08002150e895b90a6d17b7a212997b7cb1afba> <t_data_source_name></t_data_source_name> <data_source_name>nginx_waiting</data_source_name> <t_rrd_minimum></t_rrd_minimum> <rrd_minimum>0</rrd_minimum> <t_rrd_maximum></t_rrd_maximum> <rrd_maximum>0</rrd_maximum> <t_data_source_type_id></t_data_source_type_id> <data_source_type_id>1</data_source_type_id> <t_rrd_heartbeat></t_rrd_heartbeat> <rrd_heartbeat>600</rrd_heartbeat> <t_data_input_field_id></t_data_input_field_id> <data_input_field_id>hash_070021cf6292f045b8cec3ec1784f559d5883e</data_input_field_id> </hash_08002150e895b90a6d17b7a212997b7cb1afba> </items> <data> <item_000> <data_input_field_id>hash_0700218cd1791fab89b88a3ff3ca112c6534b7</data_input_field_id> <t_value>on</t_value> <value>http://|host|/server-status</value> </item_000> </data> </hash_010021e0657ab786701649f57bdd91b48a2f14> <hash_010021616fb6fb1f1680db7189868d258b765f> <name>Nginx New Sockets Stat</name> <ds> <t_name></t_name> <name>|host_description| - Nginx New Sockets Stat</name> <data_input_id>hash_03002149705386e433946082cb113112b9659e</data_input_id> <t_rra_id></t_rra_id> <t_rrd_step></t_rrd_step> <rrd_step>300</rrd_step> <t_active></t_active> <active>on</active> <rra_items>hash_150021c21df5178e5c955013591239eb0afd46|hash_1500210d9c0af8b8acdc7807943937b3208e29|hash_1500216fc2d038fb42950138b0ce3e9874cc60|hash_150021e36f3adb9f152adfa5dc50fd2b23337e</rra_items> </ds> <items> <hash_0800213b832f9cba86e201cd5a74318b0c8454> <t_data_source_name></t_data_source_name> <data_source_name>nginx_requests_time</data_source_name> <t_rrd_minimum></t_rrd_minimum> <rrd_minimum>0</rrd_minimum> <t_rrd_maximum></t_rrd_maximum> <rrd_maximum>0</rrd_maximum> <t_data_source_type_id></t_data_source_type_id> <data_source_type_id>1</data_source_type_id> <t_rrd_heartbeat></t_rrd_heartbeat> <rrd_heartbeat>600</rrd_heartbeat> <t_data_input_field_id></t_data_input_field_id> <data_input_field_id>hash_0700219bc1b272b4e3019fbc0f32f9661f79a9</data_input_field_id> </hash_0800213b832f9cba86e201cd5a74318b0c8454> <hash_0800212791d488dfb6b474464803abe233d7ef> <t_data_source_name></t_data_source_name> <data_source_name>nginx_requests</data_source_name> <t_rrd_minimum></t_rrd_minimum> <rrd_minimum>0</rrd_minimum> <t_rrd_maximum></t_rrd_maximum> <rrd_maximum>0</rrd_maximum> <t_data_source_type_id></t_data_source_type_id> <data_source_type_id>3</data_source_type_id> <t_rrd_heartbeat></t_rrd_heartbeat> <rrd_heartbeat>600</rrd_heartbeat> <t_data_input_field_id></t_data_input_field_id> <data_input_field_id>hash_0700211be81ce0f8d85ea2a47ef92e3d2aba46</data_input_field_id> </hash_0800212791d488dfb6b474464803abe233d7ef> <hash_080021d0687854b0fc4cfa9f739d52eeed7944> <t_data_source_name></t_data_source_name> <data_source_name>nginx_handled</data_source_name> <t_rrd_minimum></t_rrd_minimum> <rrd_minimum>0</rrd_minimum> <t_rrd_maximum></t_rrd_maximum> <rrd_maximum>0</rrd_maximum> <t_data_source_type_id></t_data_source_type_id> <data_source_type_id>3</data_source_type_id> <t_rrd_heartbeat></t_rrd_heartbeat> <rrd_heartbeat>600</rrd_heartbeat> <t_data_input_field_id></t_data_input_field_id> <data_input_field_id>hash_07002153a02dd9a224657e030a82c77689899d</data_input_field_id> </hash_080021d0687854b0fc4cfa9f739d52eeed7944> <hash_080021fa92c49c5bd4360018b39053964860ad> <t_data_source_name></t_data_source_name> <data_source_name>nginx_accepts</data_source_name> <t_rrd_minimum></t_rrd_minimum> <rrd_minimum>0</rrd_minimum> <t_rrd_maximum></t_rrd_maximum> <rrd_maximum>0</rrd_maximum> <t_data_source_type_id></t_data_source_type_id> <data_source_type_id>3</data_source_type_id> <t_rrd_heartbeat></t_rrd_heartbeat> <rrd_heartbeat>600</rrd_heartbeat> <t_data_input_field_id></t_data_input_field_id> <data_input_field_id>hash_0700213b78c38f0571e68fb18cab9cb906b4aa</data_input_field_id> </hash_080021fa92c49c5bd4360018b39053964860ad> </items> <data> <item_000> <data_input_field_id>hash_0700210ca81cc6c7c4a33bec63ea4f25cb2d1d</data_input_field_id> <t_value>on</t_value> <value>http://|host|/server-status</value> </item_000> </data> </hash_010021616fb6fb1f1680db7189868d258b765f> <hash_030021960615ed5ce72756b8e7a787439d0a2d> <name>nginx clients stat</name> <type_id>1</type_id> <input_string>/usr/bin/perl <path_cacti>/scripts/get_nginx_clients_status.pl <stub_status_url></input_string> <fields> <hash_0700218cd1791fab89b88a3ff3ca112c6534b7> <name>URL of nginx stub status</name> <update_rra></update_rra> <regexp_match></regexp_match> <allow_nulls></allow_nulls> <type_code></type_code> <input_output>in</input_output> <data_name>stub_status_url</data_name> </hash_0700218cd1791fab89b88a3ff3ca112c6534b7> <hash_070021cccbd578f0c2868c1e0a6f5f3329fc0b> <name>nginx_active</name> <update_rra>on</update_rra> <regexp_match></regexp_match> <allow_nulls></allow_nulls> <type_code></type_code> <input_output>out</input_output> <data_name>nginx_active</data_name> </hash_070021cccbd578f0c2868c1e0a6f5f3329fc0b> <hash_0700212520eb79ec6e083c89a1056140fd741b> <name>nginx_reading</name> <update_rra>on</update_rra> <regexp_match></regexp_match> <allow_nulls></allow_nulls> <type_code></type_code> <input_output>out</input_output> <data_name>nginx_reading</data_name> </hash_0700212520eb79ec6e083c89a1056140fd741b> <hash_070021170a796e21241e35063ecf3a62a62269> <name>nginx_writing</name> <update_rra>on</update_rra> <regexp_match></regexp_match> <allow_nulls></allow_nulls> <type_code></type_code> <input_output>out</input_output> <data_name>nginx_writing</data_name> </hash_070021170a796e21241e35063ecf3a62a62269> <hash_070021cf6292f045b8cec3ec1784f559d5883e> <name>nginx_waiting</name> <update_rra>on</update_rra> <regexp_match></regexp_match> <allow_nulls></allow_nulls> <type_code></type_code> <input_output>out</input_output> <data_name>nginx_waiting</data_name> </hash_070021cf6292f045b8cec3ec1784f559d5883e> </fields> </hash_030021960615ed5ce72756b8e7a787439d0a2d> <hash_03002149705386e433946082cb113112b9659e> <name>nginx new socket status</name> <type_id>1</type_id> <input_string>/usr/bin/perl <path_cacti>/scripts/new_get_nginx_socket_status.pl <stub_status_url></input_string> <fields> <hash_0700210ca81cc6c7c4a33bec63ea4f25cb2d1d> <name>URL of nginx stub status</name> <update_rra></update_rra> <regexp_match></regexp_match> <allow_nulls></allow_nulls> <type_code></type_code> <input_output>in</input_output> <data_name>stub_status_url</data_name> </hash_0700210ca81cc6c7c4a33bec63ea4f25cb2d1d> <hash_0700213b78c38f0571e68fb18cab9cb906b4aa> <name>nginx_accepts</name> <update_rra>on</update_rra> <regexp_match></regexp_match> <allow_nulls></allow_nulls> <type_code></type_code> <input_output>out</input_output> <data_name>nginx_accepts</data_name> </hash_0700213b78c38f0571e68fb18cab9cb906b4aa> <hash_07002153a02dd9a224657e030a82c77689899d> <name>nginx_handled</name> <update_rra>on</update_rra> <regexp_match></regexp_match> <allow_nulls></allow_nulls> <type_code></type_code> <input_output>out</input_output> <data_name>nginx_handled</data_name> </hash_07002153a02dd9a224657e030a82c77689899d> <hash_0700211be81ce0f8d85ea2a47ef92e3d2aba46> <name>nginx_requests</name> <update_rra>on</update_rra> <regexp_match></regexp_match> <allow_nulls></allow_nulls> <type_code></type_code> <input_output>out</input_output> <data_name>nginx_requests</data_name> </hash_0700211be81ce0f8d85ea2a47ef92e3d2aba46> <hash_0700219bc1b272b4e3019fbc0f32f9661f79a9> <name>nginx_requests_time</name> <update_rra>on</update_rra> <regexp_match></regexp_match> <allow_nulls></allow_nulls> <type_code></type_code> <input_output>out</input_output> <data_name>nginx_requests_time</data_name> </hash_0700219bc1b272b4e3019fbc0f32f9661f79a9> </fields> </hash_03002149705386e433946082cb113112b9659e> <hash_150021c21df5178e5c955013591239eb0afd46> <name>Daily (5 Minute Average)</name> <x_files_factor>0.5</x_files_factor> <steps>1</steps> <rows>600</rows> <timespan>86400</timespan> <cf_items>1|3</cf_items> </hash_150021c21df5178e5c955013591239eb0afd46> <hash_1500210d9c0af8b8acdc7807943937b3208e29> <name>Weekly (30 Minute Average)</name> <x_files_factor>0.5</x_files_factor> <steps>6</steps> <rows>700</rows> <timespan>604800</timespan> <cf_items>1|3</cf_items> </hash_1500210d9c0af8b8acdc7807943937b3208e29> <hash_1500216fc2d038fb42950138b0ce3e9874cc60> <name>Monthly (2 Hour Average)</name> <x_files_factor>0.5</x_files_factor> <steps>24</steps> <rows>775</rows> <timespan>2678400</timespan> <cf_items>1|3</cf_items> </hash_1500216fc2d038fb42950138b0ce3e9874cc60> <hash_150021e36f3adb9f152adfa5dc50fd2b23337e> <name>Yearly (1 Day Average)</name> <x_files_factor>0.5</x_files_factor> <steps>288</steps> <rows>797</rows> <timespan>33053184</timespan> <cf_items>1|3</cf_items> </hash_150021e36f3adb9f152adfa5dc50fd2b23337e> <hash_150021283ea2bf1634d92ce081ec82a634f513> <name>Hourly (1 Minute Average)</name> <x_files_factor>0.5</x_files_factor> <steps>1</steps> <rows>500</rows> <timespan>14400</timespan> <cf_items>1|3</cf_items> </hash_150021283ea2bf1634d92ce081ec82a634f513> <hash_060021e9c43831e54eca8069317a2ce8c6f751> <name>Normal</name> <gprint_text>%8.2lf %s</gprint_text> </hash_060021e9c43831e54eca8069317a2ce8c6f751>