Last active
August 29, 2015 13:58
-
-
Save abriko/10382451 to your computer and use it in GitHub Desktop.
Nagios network plugins
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # script created by nsc | |
| # usage ./bw_watch bw_warning bw_critical pkt_warning pkt_critical | |
| # bw usage is in kbits/s | |
| if [ -z $1 ] || [ -z $2 ] || [ -z $3 ] || [ -z $4 ] | |
| then | |
| echo "VARIABLES ARE NOT SET!!!" | |
| echo "usage $0 bw_warning bw_critical pkt_warning pkt_critical" | |
| echo "bw usage is in kbits/s" | |
| exit 2 | |
| fi | |
| bw_warn=$1 | |
| bw_crit=$2 | |
| packets_warn=$3 | |
| packets_crit=$4 | |
| bw_output=$(vnstat -tr 5 -s) | |
| rx_value=$(echo $bw_output | grep -o "rx [[:digit:]]*\.*[[:digit:]]* .bit/s" | cut -f2 -d' ' ) | |
| rx_unit=$(echo $bw_output | grep -o "rx [[:digit:]]*\.*[[:digit:]]* .bit/s" | cut -f3 -d' ' ) | |
| rx_packets=$(echo $bw_output | grep -o "rx [[:digit:]]*\.*[[:digit:]]* .bit/s [[:digit:]]* packets/s" | cut -f4 -d' ' ) | |
| tx_value=$(echo $bw_output | grep -o "tx [[:digit:]]*\.*[[:digit:]]* .bit/s" | cut -f2 -d' ' ) | |
| tx_unit=$(echo $bw_output | grep -o "tx [[:digit:]]*\.*[[:digit:]]* .bit/s" | cut -f3 -d' ' ) | |
| tx_packets=$(echo $bw_output | grep -o "tx [[:digit:]]*\.*[[:digit:]]* .bit/s [[:digit:]]* packets/s" | cut -f4 -d' ' ) | |
| #convert rx to kbits/s | |
| if [ "$rx_unit" == "Mbit/s" ]; then | |
| rx_value=`echo "$rx_value * 1024" | bc` | |
| fi | |
| #convert tx to kbits/s | |
| if [ "$tx_unit" == "Mbit/s" ]; then | |
| tx_value=`echo "$tx_value * 1024" | bc` | |
| fi | |
| #convert to integer | |
| rx_value=${rx_value/.*} | |
| tx_value=${tx_value/.*} | |
| if [ $bw_crit -lt $rx_value ] || [ $bw_crit -lt $tx_value ] || [ $packets_crit -lt $rx_packets ] || [ $packets_crit -lt $tx_packets ] | |
| then | |
| echo "BW CRITICAL - RX/TX: $rx_value/$tx_value kbits/s. PKT: RX/TX: $rx_packets/$tx_packets|rx_value=$rx_value;$bw_warn;$bw_crit;0; tx_value=$tx_value;$bw_warn;$bw_crit;0; rx_packets=$rx_packets;$packets_warn;$packets_crit;0; tx_packets=$tx_packets;$packets_warn;$packets_crit;0" | |
| exit 2 | |
| elif [ $bw_warn -lt $rx_value ] || [ $bw_warn -lt $tx_value ] || [ $packets_warn -lt $rx_packets ] || [ $packets_warn -lt $tx_packets ] | |
| then | |
| echo "BW WARNING - RX/TX: $rx_value/$tx_value kbits/s. PKT: RX/TX: $rx_packets/$tx_packets|rx_value=$rx_value;$bw_warn;$bw_crit;0; tx_value=$tx_value;$bw_warn;$bw_crit;0; rx_packets=$rx_packets;$packets_warn;$packets_crit;0; tx_packets=$tx_packets;$packets_warn;$packets_crit;0" | |
| exit 1 | |
| else | |
| echo "BW OK - RX/TX: $rx_value/$tx_value kbits/s. PKT: RX/TX: $rx_packets/$tx_packets|rx_value=$rx_value;$bw_warn;$bw_crit;0; tx_value=$tx_value;$bw_warn;$bw_crit;0; rx_packets=$rx_packets;$packets_warn;$packets_crit;0; tx_packets=$tx_packets;$packets_warn;$packets_crit;0" | |
| exit 0 | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cacti> | |
| <hash_00002487504c1da855125bd073ee0f6982f8bb> | |
| <name>VMS - Bandwidth</name> | |
| <graph> | |
| <t_title></t_title> | |
| <title>|host_description| - VMS Bandwidth</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>800</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_1000243eb677caa7a96de4badf820c95ec9302> | |
| <task_item_id>hash_0800248e9266369b96e7a858986515be4c1323</task_item_id> | |
| <color_id>00BF47</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_060024e9c43831e54eca8069317a2ce8c6f751</gprint_id> | |
| <text_format>RX kbits/s</text_format> | |
| <hard_return></hard_return> | |
| <sequence>1</sequence> | |
| </hash_1000243eb677caa7a96de4badf820c95ec9302> | |
| <hash_100024f1a7b57f902dfc2bf6f688d859880058> | |
| <task_item_id>hash_0800248e9266369b96e7a858986515be4c1323</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_06002419414480d6897c8731c7dc6c5310653e</gprint_id> | |
| <text_format></text_format> | |
| <hard_return></hard_return> | |
| <sequence>2</sequence> | |
| </hash_100024f1a7b57f902dfc2bf6f688d859880058> | |
| <hash_100024c537dce42bdb30be8c9582b29cfc31bd> | |
| <task_item_id>hash_0800248ef1a3dd90738088e268b0248147d64a</task_item_id> | |
| <color_id>00A348</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_060024e9c43831e54eca8069317a2ce8c6f751</gprint_id> | |
| <text_format>RX packets/s</text_format> | |
| <hard_return></hard_return> | |
| <sequence>3</sequence> | |
| </hash_100024c537dce42bdb30be8c9582b29cfc31bd> | |
| <hash_100024fd261a4d29643c5dc796da66369c0ea3> | |
| <task_item_id>hash_0800248ef1a3dd90738088e268b0248147d64a</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_06002419414480d6897c8731c7dc6c5310653e</gprint_id> | |
| <text_format></text_format> | |
| <hard_return>on</hard_return> | |
| <sequence>4</sequence> | |
| </hash_100024fd261a4d29643c5dc796da66369c0ea3> | |
| <hash_10002481b0c173ebbc15f89c7b012dd48c0de0> | |
| <task_item_id>hash_0800241d1576be9b1a3bb482a382b6dd028938</task_item_id> | |
| <color_id>ED7600</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_060024e9c43831e54eca8069317a2ce8c6f751</gprint_id> | |
| <text_format>TX kbits/s</text_format> | |
| <hard_return></hard_return> | |
| <sequence>5</sequence> | |
| </hash_10002481b0c173ebbc15f89c7b012dd48c0de0> | |
| <hash_100024ebd114376d352c48428ca9928c6c5562> | |
| <task_item_id>hash_0800241d1576be9b1a3bb482a382b6dd028938</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_06002419414480d6897c8731c7dc6c5310653e</gprint_id> | |
| <text_format></text_format> | |
| <hard_return></hard_return> | |
| <sequence>6</sequence> | |
| </hash_100024ebd114376d352c48428ca9928c6c5562> | |
| <hash_100024fc6960bf826518c66763cb832787e1be> | |
| <task_item_id>hash_080024ed55ef5c964655cfa32beffddd96bfee</task_item_id> | |
| <color_id>DA4725</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_060024e9c43831e54eca8069317a2ce8c6f751</gprint_id> | |
| <text_format>TX packets/s</text_format> | |
| <hard_return></hard_return> | |
| <sequence>7</sequence> | |
| </hash_100024fc6960bf826518c66763cb832787e1be> | |
| <hash_100024d0a5c66cd9408156e208c09a75c5e94b> | |
| <task_item_id>hash_080024ed55ef5c964655cfa32beffddd96bfee</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_06002419414480d6897c8731c7dc6c5310653e</gprint_id> | |
| <text_format></text_format> | |
| <hard_return>on</hard_return> | |
| <sequence>8</sequence> | |
| </hash_100024d0a5c66cd9408156e208c09a75c5e94b> | |
| </items> | |
| <inputs> | |
| <hash_09002448a6b1828c4e6fc818d9b07dc71d10fa> | |
| <name>Data Source [rx_value]</name> | |
| <description></description> | |
| <column_name>task_item_id</column_name> | |
| <items>hash_000024f1a7b57f902dfc2bf6f688d859880058|hash_0000243eb677caa7a96de4badf820c95ec9302</items> | |
| </hash_09002448a6b1828c4e6fc818d9b07dc71d10fa> | |
| <hash_090024c0793bab5c430091638811653d6626c6> | |
| <name>Data Source [tx_value]</name> | |
| <description></description> | |
| <column_name>task_item_id</column_name> | |
| <items>hash_00002481b0c173ebbc15f89c7b012dd48c0de0|hash_000024ebd114376d352c48428ca9928c6c5562</items> | |
| </hash_090024c0793bab5c430091638811653d6626c6> | |
| <hash_0900247f74ecd535baf966108dce0c82397e35> | |
| <name>Data Source [rx_packets]</name> | |
| <description></description> | |
| <column_name>task_item_id</column_name> | |
| <items>hash_000024c537dce42bdb30be8c9582b29cfc31bd|hash_000024fd261a4d29643c5dc796da66369c0ea3</items> | |
| </hash_0900247f74ecd535baf966108dce0c82397e35> | |
| <hash_090024adec2d89d1a423be6a16c381ab35f569> | |
| <name>Data Source [tx_packets]</name> | |
| <description></description> | |
| <column_name>task_item_id</column_name> | |
| <items>hash_000024fc6960bf826518c66763cb832787e1be|hash_000024d0a5c66cd9408156e208c09a75c5e94b</items> | |
| </hash_090024adec2d89d1a423be6a16c381ab35f569> | |
| </inputs> | |
| </hash_00002487504c1da855125bd073ee0f6982f8bb> | |
| <hash_01002405485e02ea548b1fa20f8055f799553d> | |
| <name>vm0c - Bandwidth</name> | |
| <ds> | |
| <t_name></t_name> | |
| <name>vm0c - Bandwidth</name> | |
| <data_input_id>hash_0300249a1bb01d9fe5826463ed7a683fe0bacc</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_150024c21df5178e5c955013591239eb0afd46|hash_1500240d9c0af8b8acdc7807943937b3208e29|hash_1500246fc2d038fb42950138b0ce3e9874cc60|hash_150024e36f3adb9f152adfa5dc50fd2b23337e|hash_150024283ea2bf1634d92ce081ec82a634f513</rra_items> | |
| </ds> | |
| <items> | |
| <hash_0800248e9266369b96e7a858986515be4c1323> | |
| <t_data_source_name></t_data_source_name> | |
| <data_source_name>rx_value</data_source_name> | |
| <t_rrd_minimum></t_rrd_minimum> | |
| <rrd_minimum>0</rrd_minimum> | |
| <t_rrd_maximum></t_rrd_maximum> | |
| <rrd_maximum>100000000</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_07002430f8e7ae9853b082dc47b5a4f9c1f3fd</data_input_field_id> | |
| </hash_0800248e9266369b96e7a858986515be4c1323> | |
| <hash_0800241d1576be9b1a3bb482a382b6dd028938> | |
| <t_data_source_name></t_data_source_name> | |
| <data_source_name>tx_value</data_source_name> | |
| <t_rrd_minimum></t_rrd_minimum> | |
| <rrd_minimum>0</rrd_minimum> | |
| <t_rrd_maximum>on</t_rrd_maximum> | |
| <rrd_maximum>100000000</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_070024b37664ed981be196d2539444fa4673d9</data_input_field_id> | |
| </hash_0800241d1576be9b1a3bb482a382b6dd028938> | |
| <hash_0800248ef1a3dd90738088e268b0248147d64a> | |
| <t_data_source_name></t_data_source_name> | |
| <data_source_name>rx_packets</data_source_name> | |
| <t_rrd_minimum></t_rrd_minimum> | |
| <rrd_minimum>0</rrd_minimum> | |
| <t_rrd_maximum>on</t_rrd_maximum> | |
| <rrd_maximum>100000000</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_070024d48d43294da16c06c4c58ead702ad4a2</data_input_field_id> | |
| </hash_0800248ef1a3dd90738088e268b0248147d64a> | |
| <hash_080024ed55ef5c964655cfa32beffddd96bfee> | |
| <t_data_source_name></t_data_source_name> | |
| <data_source_name>tx_packets</data_source_name> | |
| <t_rrd_minimum></t_rrd_minimum> | |
| <rrd_minimum>0</rrd_minimum> | |
| <t_rrd_maximum>on</t_rrd_maximum> | |
| <rrd_maximum>100000000</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_070024d48d43294da16c06c4c58ead702ad4a2</data_input_field_id> | |
| </hash_080024ed55ef5c964655cfa32beffddd96bfee> | |
| </items> | |
| <data> | |
| </data> | |
| </hash_01002405485e02ea548b1fa20f8055f799553d> | |
| <hash_0300249a1bb01d9fe5826463ed7a683fe0bacc> | |
| <name>NPC - Perfdata - VM0C: Bandwidth</name> | |
| <type_id>1</type_id> | |
| <input_string>php <path_cacti>/plugins/npc/perfdata.php --type=service --id=63 2> /dev/null</input_string> | |
| <fields> | |
| <hash_07002430f8e7ae9853b082dc47b5a4f9c1f3fd> | |
| <name>rx_value</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>rx_value</data_name> | |
| </hash_07002430f8e7ae9853b082dc47b5a4f9c1f3fd> | |
| <hash_070024b37664ed981be196d2539444fa4673d9> | |
| <name>tx_value</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>tx_value</data_name> | |
| </hash_070024b37664ed981be196d2539444fa4673d9> | |
| <hash_0700240d7ff67a56b8cf6b34af49a11f47a979> | |
| <name>rx_packets</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>rx_packets</data_name> | |
| </hash_0700240d7ff67a56b8cf6b34af49a11f47a979> | |
| <hash_070024d48d43294da16c06c4c58ead702ad4a2> | |
| <name>tx_packets</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>tx_packets</data_name> | |
| </hash_070024d48d43294da16c06c4c58ead702ad4a2> | |
| </fields> | |
| </hash_0300249a1bb01d9fe5826463ed7a683fe0bacc> | |
| <hash_150024c21df5178e5c955013591239eb0afd46> | |
| <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_150024c21df5178e5c955013591239eb0afd46> | |
| <hash_1500240d9c0af8b8acdc7807943937b3208e29> | |
| <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_1500240d9c0af8b8acdc7807943937b3208e29> | |
| <hash_1500246fc2d038fb42950138b0ce3e9874cc60> | |
| <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_1500246fc2d038fb42950138b0ce3e9874cc60> | |
| <hash_150024e36f3adb9f152adfa5dc50fd2b23337e> | |
| <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_150024e36f3adb9f152adfa5dc50fd2b23337e> | |
| <hash_150024283ea2bf1634d92ce081ec82a634f513> | |
| <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_150024283ea2bf1634d92ce081ec82a634f513> | |
| <hash_060024e9c43831e54eca8069317a2ce8c6f751> | |
| <name>Normal</name> | |
| <gprint_text>%8.2lf %s</gprint_text> | |
| </hash_060024e9c43831e54eca8069317a2ce8c6f751> | |
| <hash_06002419414480d6897c8731c7dc6c5310653e> | |
| <name>Exact Numbers</name> | |
| <gprint_text>%8.0lf</gprint_text> | |
| </hash_06002419414480d6897c8731c7dc6c5310653e> | |
| </cacti> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cacti> | |
| <hash_000024afae69b6ec24f91a09e825e6dba2133f> | |
| <name>VMS - TCP connections</name> | |
| <graph> | |
| <t_title></t_title> | |
| <title>|host_description| - VMS TCP connections</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_10002462eb13221c925052eff9d2ca432e42a0> | |
| <task_item_id>hash_080024bc36cbfe3afbad818c9fb26ad1d10f14</task_item_id> | |
| <color_id>FFD660</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_06002419414480d6897c8731c7dc6c5310653e</gprint_id> | |
| <text_format>CLOSE_WAIT:</text_format> | |
| <hard_return></hard_return> | |
| <sequence>1</sequence> | |
| </hash_10002462eb13221c925052eff9d2ca432e42a0> | |
| <hash_10002461162375888cd910ef1c17e6ace6a253> | |
| <task_item_id>hash_080024bc36cbfe3afbad818c9fb26ad1d10f14</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_06002419414480d6897c8731c7dc6c5310653e</gprint_id> | |
| <text_format></text_format> | |
| <hard_return></hard_return> | |
| <sequence>2</sequence> | |
| </hash_10002461162375888cd910ef1c17e6ace6a253> | |
| <hash_100024b30738d1dad5d88351c068edfffb66a0> | |
| <task_item_id>hash_0800247f5edde9cc450770f14d01d3eecfc8fb</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_06002419414480d6897c8731c7dc6c5310653e</gprint_id> | |
| <text_format>ESTABLISHED:</text_format> | |
| <hard_return></hard_return> | |
| <sequence>3</sequence> | |
| </hash_100024b30738d1dad5d88351c068edfffb66a0> | |
| <hash_1000242846fea32f4c8e36035516481233e9f6> | |
| <task_item_id>hash_0800247f5edde9cc450770f14d01d3eecfc8fb</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_06002419414480d6897c8731c7dc6c5310653e</gprint_id> | |
| <text_format></text_format> | |
| <hard_return>on</hard_return> | |
| <sequence>4</sequence> | |
| </hash_1000242846fea32f4c8e36035516481233e9f6> | |
| <hash_100024ba2adc2b4b1378a59fe9da9d707fd0e4> | |
| <task_item_id>hash_0800247295938252f6e288aadf30bdbd3eca92</task_item_id> | |
| <color_id>CDCFC4</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_06002419414480d6897c8731c7dc6c5310653e</gprint_id> | |
| <text_format>FIN_WAIT1:</text_format> | |
| <hard_return></hard_return> | |
| <sequence>5</sequence> | |
| </hash_100024ba2adc2b4b1378a59fe9da9d707fd0e4> | |
| <hash_100024947c52c70a7b344cc6353bb738a5014b> | |
| <task_item_id>hash_0800247295938252f6e288aadf30bdbd3eca92</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_06002419414480d6897c8731c7dc6c5310653e</gprint_id> | |
| <text_format></text_format> | |
| <hard_return></hard_return> | |
| <sequence>6</sequence> | |
| </hash_100024947c52c70a7b344cc6353bb738a5014b> | |
| <hash_100024859faeae1f03ecb4849396a453be70e3> | |
| <task_item_id>hash_0800242b1050b3cfcd2733266704dda8bcf395</task_item_id> | |
| <color_id>C0C0C0</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_060024e9c43831e54eca8069317a2ce8c6f751</gprint_id> | |
| <text_format>FIN_WAIT2:</text_format> | |
| <hard_return></hard_return> | |
| <sequence>7</sequence> | |
| </hash_100024859faeae1f03ecb4849396a453be70e3> | |
| <hash_100024b59edfa0349e5f3a0b8e869291bea6ad> | |
| <task_item_id>hash_0800242b1050b3cfcd2733266704dda8bcf395</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_06002419414480d6897c8731c7dc6c5310653e</gprint_id> | |
| <text_format></text_format> | |
| <hard_return>on</hard_return> | |
| <sequence>8</sequence> | |
| </hash_100024b59edfa0349e5f3a0b8e869291bea6ad> | |
| <hash_10002461b2edfcc5791f50a84b405239128f3d> | |
| <task_item_id>hash_080024300af14f7e7547aa242c3b4298d92b97</task_item_id> | |
| <color_id>837C04</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_06002419414480d6897c8731c7dc6c5310653e</gprint_id> | |
| <text_format>LAST_ACK:</text_format> | |
| <hard_return></hard_return> | |
| <sequence>9</sequence> | |
| </hash_10002461b2edfcc5791f50a84b405239128f3d> | |
| <hash_100024014df0972ef1cc0c6cb0a741b56a8668> | |
| <task_item_id>hash_080024300af14f7e7547aa242c3b4298d92b97</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_06002419414480d6897c8731c7dc6c5310653e</gprint_id> | |
| <text_format></text_format> | |
| <hard_return></hard_return> | |
| <sequence>10</sequence> | |
| </hash_100024014df0972ef1cc0c6cb0a741b56a8668> | |
| <hash_100024ac768299d206249df8e977f28bf486b9> | |
| <task_item_id>hash_080024300af14f7e7547aa242c3b4298d92b97</task_item_id> | |
| <color_id>00A0C1</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_06002419414480d6897c8731c7dc6c5310653e</gprint_id> | |
| <text_format>LISTEN:</text_format> | |
| <hard_return></hard_return> | |
| <sequence>11</sequence> | |
| </hash_100024ac768299d206249df8e977f28bf486b9> | |
| <hash_100024fe8bedd2dfd121b3ebaed7ce5e15f9e0> | |
| <task_item_id>hash_080024300af14f7e7547aa242c3b4298d92b97</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_06002419414480d6897c8731c7dc6c5310653e</gprint_id> | |
| <text_format></text_format> | |
| <hard_return>on</hard_return> | |
| <sequence>12</sequence> | |
| </hash_100024fe8bedd2dfd121b3ebaed7ce5e15f9e0> | |
| <hash_10002437102d0db8646c5895d07411c2083d20> | |
| <task_item_id>hash_080024aec847c777b58c896d03991420f8a1e9</task_item_id> | |
| <color_id>4668E4</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_06002419414480d6897c8731c7dc6c5310653e</gprint_id> | |
| <text_format>SYN_RECV:</text_format> | |
| <hard_return></hard_return> | |
| <sequence>13</sequence> | |
| </hash_10002437102d0db8646c5895d07411c2083d20> | |
| <hash_1000242308b47d27527228e6ee24d620c8bc4c> | |
| <task_item_id>hash_080024aec847c777b58c896d03991420f8a1e9</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_06002419414480d6897c8731c7dc6c5310653e</gprint_id> | |
| <text_format></text_format> | |
| <hard_return></hard_return> | |
| <sequence>14</sequence> | |
| </hash_1000242308b47d27527228e6ee24d620c8bc4c> | |
| <hash_1000246cb09bc672c82c641687fd4a063ba135> | |
| <task_item_id>hash_080024539c23daf522fd295ab74f9703ae2bf0</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_06002419414480d6897c8731c7dc6c5310653e</gprint_id> | |
| <text_format>SYN_SENT:</text_format> | |
| <hard_return></hard_return> | |
| <sequence>15</sequence> | |
| </hash_1000246cb09bc672c82c641687fd4a063ba135> | |
| <hash_1000249dfe57226f58a2c7d2acbdb7ad4274fa> | |
| <task_item_id>hash_080024539c23daf522fd295ab74f9703ae2bf0</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_06002419414480d6897c8731c7dc6c5310653e</gprint_id> | |
| <text_format></text_format> | |
| <hard_return>on</hard_return> | |
| <sequence>16</sequence> | |
| </hash_1000249dfe57226f58a2c7d2acbdb7ad4274fa> | |
| <hash_1000242a940f05b86a93f274e4df3c814853c2> | |
| <task_item_id>hash_080024362fc10e7caa730098c79a6a7874ec95</task_item_id> | |
| <color_id>FF5576</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_06002419414480d6897c8731c7dc6c5310653e</gprint_id> | |
| <text_format>TIME_WAIT:</text_format> | |
| <hard_return></hard_return> | |
| <sequence>17</sequence> | |
| </hash_1000242a940f05b86a93f274e4df3c814853c2> | |
| <hash_10002454cfbbafe5db0d58240bfcfa307fbf1f> | |
| <task_item_id>hash_080024362fc10e7caa730098c79a6a7874ec95</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_06002419414480d6897c8731c7dc6c5310653e</gprint_id> | |
| <text_format></text_format> | |
| <hard_return></hard_return> | |
| <sequence>18</sequence> | |
| </hash_10002454cfbbafe5db0d58240bfcfa307fbf1f> | |
| <hash_100024cda5ed02d11f8d338197e8789385c46b> | |
| <task_item_id>hash_0800249c10dc400af971e46f458c2d3e73c2be</task_item_id> | |
| <color_id>FF4105</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_06002419414480d6897c8731c7dc6c5310653e</gprint_id> | |
| <text_format>UNKNOWN:</text_format> | |
| <hard_return></hard_return> | |
| <sequence>19</sequence> | |
| </hash_100024cda5ed02d11f8d338197e8789385c46b> | |
| <hash_100024d3975b0b59c5ee11f0a8b1f0a11e06e9> | |
| <task_item_id>hash_0800249c10dc400af971e46f458c2d3e73c2be</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_06002419414480d6897c8731c7dc6c5310653e</gprint_id> | |
| <text_format></text_format> | |
| <hard_return>on</hard_return> | |
| <sequence>20</sequence> | |
| </hash_100024d3975b0b59c5ee11f0a8b1f0a11e06e9> | |
| </items> | |
| <inputs> | |
| <hash_090024c9300de86cc3a61515b00cc0db0c2fb4> | |
| <name>Data Source [CLOSE_WAIT]</name> | |
| <description></description> | |
| <column_name>task_item_id</column_name> | |
| <items>hash_00002462eb13221c925052eff9d2ca432e42a0|hash_00002461162375888cd910ef1c17e6ace6a253</items> | |
| </hash_090024c9300de86cc3a61515b00cc0db0c2fb4> | |
| <hash_09002461a0c954080d9f7d1b92200f2dc5563d> | |
| <name>Data Source [ESTABLISHED]</name> | |
| <description></description> | |
| <column_name>task_item_id</column_name> | |
| <items>hash_000024b30738d1dad5d88351c068edfffb66a0|hash_0000242846fea32f4c8e36035516481233e9f6</items> | |
| </hash_09002461a0c954080d9f7d1b92200f2dc5563d> | |
| <hash_090024c6c3afc16b91c1dd6c094e5488e02666> | |
| <name>Data Source [FIN_WAIT1]</name> | |
| <description></description> | |
| <column_name>task_item_id</column_name> | |
| <items>hash_000024ba2adc2b4b1378a59fe9da9d707fd0e4|hash_000024947c52c70a7b344cc6353bb738a5014b</items> | |
| </hash_090024c6c3afc16b91c1dd6c094e5488e02666> | |
| <hash_09002434fd4ff9fec46a12d6ae302c57468f85> | |
| <name>Data Source [FIN_WAIT2]</name> | |
| <description></description> | |
| <column_name>task_item_id</column_name> | |
| <items>hash_000024859faeae1f03ecb4849396a453be70e3|hash_000024b59edfa0349e5f3a0b8e869291bea6ad</items> | |
| </hash_09002434fd4ff9fec46a12d6ae302c57468f85> | |
| <hash_09002494f4ca60c2613fd1d4a8c526ee16f7e9> | |
| <name>Data Source [LAST_ACK]</name> | |
| <description></description> | |
| <column_name>task_item_id</column_name> | |
| <items>hash_00002461b2edfcc5791f50a84b405239128f3d|hash_000024014df0972ef1cc0c6cb0a741b56a8668|hash_000024ac768299d206249df8e977f28bf486b9|hash_000024fe8bedd2dfd121b3ebaed7ce5e15f9e0</items> | |
| </hash_09002494f4ca60c2613fd1d4a8c526ee16f7e9> | |
| <hash_0900248c9edb09958c5a47d1a90062e0bde2ff> | |
| <name>Data Source [SYN_RECV]</name> | |
| <description></description> | |
| <column_name>task_item_id</column_name> | |
| <items>hash_00002437102d0db8646c5895d07411c2083d20|hash_0000242308b47d27527228e6ee24d620c8bc4c</items> | |
| </hash_0900248c9edb09958c5a47d1a90062e0bde2ff> | |
| <hash_0900249342ce29221472b1d08e8cab3159c43f> | |
| <name>Data Source [SYN_SENT]</name> | |
| <description></description> | |
| <column_name>task_item_id</column_name> | |
| <items>hash_0000246cb09bc672c82c641687fd4a063ba135|hash_0000249dfe57226f58a2c7d2acbdb7ad4274fa</items> | |
| </hash_0900249342ce29221472b1d08e8cab3159c43f> | |
| <hash_090024c73fef729236a9409d0b9050c2ad1e3a> | |
| <name>Data Source [TIME_WAIT]</name> | |
| <description></description> | |
| <column_name>task_item_id</column_name> | |
| <items>hash_0000242a940f05b86a93f274e4df3c814853c2|hash_00002454cfbbafe5db0d58240bfcfa307fbf1f</items> | |
| </hash_090024c73fef729236a9409d0b9050c2ad1e3a> | |
| <hash_090024b10e497f39f0384e84030d50828295cf> | |
| <name>Data Source [UNKNOWN]</name> | |
| <description></description> | |
| <column_name>task_item_id</column_name> | |
| <items>hash_000024cda5ed02d11f8d338197e8789385c46b|hash_000024d3975b0b59c5ee11f0a8b1f0a11e06e9</items> | |
| </hash_090024b10e497f39f0384e84030d50828295cf> | |
| </inputs> | |
| </hash_000024afae69b6ec24f91a09e825e6dba2133f> | |
| <hash_01002422476cb786bc554e965ed27528e86c6e> | |
| <name>VMS - TCP connections</name> | |
| <ds> | |
| <t_name></t_name> | |
| <name>|host_description| - TCP connections</name> | |
| <data_input_id>hash_030024e79a77563cffc73a67bb37c721628a6d</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_150024c21df5178e5c955013591239eb0afd46|hash_1500240d9c0af8b8acdc7807943937b3208e29|hash_1500246fc2d038fb42950138b0ce3e9874cc60|hash_150024e36f3adb9f152adfa5dc50fd2b23337e|hash_150024283ea2bf1634d92ce081ec82a634f513</rra_items> | |
| </ds> | |
| <items> | |
| <hash_080024bc36cbfe3afbad818c9fb26ad1d10f14> | |
| <t_data_source_name></t_data_source_name> | |
| <data_source_name>CLOSE_WAIT</data_source_name> | |
| <t_rrd_minimum></t_rrd_minimum> | |
| <rrd_minimum>0</rrd_minimum> | |
| <t_rrd_maximum></t_rrd_maximum> | |
| <rrd_maximum>10000</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_0700240495c14f597ceb35a4cc5ed8b4f60c65</data_input_field_id> | |
| </hash_080024bc36cbfe3afbad818c9fb26ad1d10f14> | |
| <hash_0800247f5edde9cc450770f14d01d3eecfc8fb> | |
| <t_data_source_name></t_data_source_name> | |
| <data_source_name>ESTABLISHED</data_source_name> | |
| <t_rrd_minimum></t_rrd_minimum> | |
| <rrd_minimum>0</rrd_minimum> | |
| <t_rrd_maximum></t_rrd_maximum> | |
| <rrd_maximum>10000</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_0700246ce4bd8bbdfa64bdd9e78817d668340f</data_input_field_id> | |
| </hash_0800247f5edde9cc450770f14d01d3eecfc8fb> | |
| <hash_0800247295938252f6e288aadf30bdbd3eca92> | |
| <t_data_source_name></t_data_source_name> | |
| <data_source_name>FIN_WAIT1</data_source_name> | |
| <t_rrd_minimum></t_rrd_minimum> | |
| <rrd_minimum>0</rrd_minimum> | |
| <t_rrd_maximum></t_rrd_maximum> | |
| <rrd_maximum>10000</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_07002468a2e24a1db9e80994a6503967704e3c</data_input_field_id> | |
| </hash_0800247295938252f6e288aadf30bdbd3eca92> | |
| <hash_0800242b1050b3cfcd2733266704dda8bcf395> | |
| <t_data_source_name></t_data_source_name> | |
| <data_source_name>FIN_WAIT2</data_source_name> | |
| <t_rrd_minimum></t_rrd_minimum> | |
| <rrd_minimum>0</rrd_minimum> | |
| <t_rrd_maximum></t_rrd_maximum> | |
| <rrd_maximum>10000</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_070024c487724e795b38abe199b28be982e17a</data_input_field_id> | |
| </hash_0800242b1050b3cfcd2733266704dda8bcf395> | |
| <hash_080024300af14f7e7547aa242c3b4298d92b97> | |
| <t_data_source_name></t_data_source_name> | |
| <data_source_name>LAST_ACK</data_source_name> | |
| <t_rrd_minimum></t_rrd_minimum> | |
| <rrd_minimum>0</rrd_minimum> | |
| <t_rrd_maximum></t_rrd_maximum> | |
| <rrd_maximum>10000</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_070024f07e57520d554778767d63f5bc6f3685</data_input_field_id> | |
| </hash_080024300af14f7e7547aa242c3b4298d92b97> | |
| <hash_0800248cb72665e1ec658f5e1c05dd4160f1f0> | |
| <t_data_source_name></t_data_source_name> | |
| <data_source_name>LISTEN</data_source_name> | |
| <t_rrd_minimum></t_rrd_minimum> | |
| <rrd_minimum>0</rrd_minimum> | |
| <t_rrd_maximum></t_rrd_maximum> | |
| <rrd_maximum>10000</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_0700244d6ea09661ff233d2555bf5896b22f06</data_input_field_id> | |
| </hash_0800248cb72665e1ec658f5e1c05dd4160f1f0> | |
| <hash_080024aec847c777b58c896d03991420f8a1e9> | |
| <t_data_source_name></t_data_source_name> | |
| <data_source_name>SYN_RECV</data_source_name> | |
| <t_rrd_minimum></t_rrd_minimum> | |
| <rrd_minimum>0</rrd_minimum> | |
| <t_rrd_maximum></t_rrd_maximum> | |
| <rrd_maximum>10000</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_07002424842a13e0dfe3834d8a33b517bc1441</data_input_field_id> | |
| </hash_080024aec847c777b58c896d03991420f8a1e9> | |
| <hash_080024539c23daf522fd295ab74f9703ae2bf0> | |
| <t_data_source_name></t_data_source_name> | |
| <data_source_name>SYN_SENT</data_source_name> | |
| <t_rrd_minimum></t_rrd_minimum> | |
| <rrd_minimum>0</rrd_minimum> | |
| <t_rrd_maximum></t_rrd_maximum> | |
| <rrd_maximum>10000</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_070024a335d95dcd070dc8ef41a75a85bdb3e4</data_input_field_id> | |
| </hash_080024539c23daf522fd295ab74f9703ae2bf0> | |
| <hash_080024362fc10e7caa730098c79a6a7874ec95> | |
| <t_data_source_name></t_data_source_name> | |
| <data_source_name>TIME_WAIT</data_source_name> | |
| <t_rrd_minimum></t_rrd_minimum> | |
| <rrd_minimum>0</rrd_minimum> | |
| <t_rrd_maximum></t_rrd_maximum> | |
| <rrd_maximum>10000</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_0700246caa3d496defda5abfa377fd669532fe</data_input_field_id> | |
| </hash_080024362fc10e7caa730098c79a6a7874ec95> | |
| <hash_0800249c10dc400af971e46f458c2d3e73c2be> | |
| <t_data_source_name></t_data_source_name> | |
| <data_source_name>UNKNOWN</data_source_name> | |
| <t_rrd_minimum></t_rrd_minimum> | |
| <rrd_minimum>0</rrd_minimum> | |
| <t_rrd_maximum></t_rrd_maximum> | |
| <rrd_maximum>10000</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_07002437c62034fec15e0650586fad700445b1</data_input_field_id> | |
| </hash_0800249c10dc400af971e46f458c2d3e73c2be> | |
| </items> | |
| <data> | |
| </data> | |
| </hash_01002422476cb786bc554e965ed27528e86c6e> | |
| <hash_030024e79a77563cffc73a67bb37c721628a6d> | |
| <name>NPC - Perfdata - vm0c: TCP connections</name> | |
| <type_id>1</type_id> | |
| <input_string>php <path_cacti>/plugins/npc/perfdata.php --type=service --id=59 2> /dev/null</input_string> | |
| <fields> | |
| <hash_07002437c62034fec15e0650586fad700445b1> | |
| <name>UNKNOWN</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>UNKNOWN</data_name> | |
| </hash_07002437c62034fec15e0650586fad700445b1> | |
| <hash_070024c487724e795b38abe199b28be982e17a> | |
| <name>FIN_WAIT2</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>FIN_WAIT2</data_name> | |
| </hash_070024c487724e795b38abe199b28be982e17a> | |
| <hash_07002468a2e24a1db9e80994a6503967704e3c> | |
| <name>FIN_WAIT1</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>FIN_WAIT1</data_name> | |
| </hash_07002468a2e24a1db9e80994a6503967704e3c> | |
| <hash_0700240495c14f597ceb35a4cc5ed8b4f60c65> | |
| <name>CLOSE_WAIT</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>CLOSE_WAIT</data_name> | |
| </hash_0700240495c14f597ceb35a4cc5ed8b4f60c65> | |
| <hash_0700246caa3d496defda5abfa377fd669532fe> | |
| <name>TIME_WAIT</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>TIME_WAIT</data_name> | |
| </hash_0700246caa3d496defda5abfa377fd669532fe> | |
| <hash_070024a335d95dcd070dc8ef41a75a85bdb3e4> | |
| <name>SYN_SENT</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>SYN_SENT</data_name> | |
| </hash_070024a335d95dcd070dc8ef41a75a85bdb3e4> | |
| <hash_07002424842a13e0dfe3834d8a33b517bc1441> | |
| <name>SYN_RECV</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>SYN_RECV</data_name> | |
| </hash_07002424842a13e0dfe3834d8a33b517bc1441> | |
| <hash_0700244d6ea09661ff233d2555bf5896b22f06> | |
| <name>LISTEN</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>LISTEN</data_name> | |
| </hash_0700244d6ea09661ff233d2555bf5896b22f06> | |
| <hash_0700246ce4bd8bbdfa64bdd9e78817d668340f> | |
| <name>ESTABLISHED</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>ESTABLISHED</data_name> | |
| </hash_0700246ce4bd8bbdfa64bdd9e78817d668340f> | |
| <hash_070024f07e57520d554778767d63f5bc6f3685> | |
| <name>LAST_ACK</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>LAST_ACK</data_name> | |
| </hash_070024f07e57520d554778767d63f5bc6f3685> | |
| </fields> | |
| </hash_030024e79a77563cffc73a67bb37c721628a6d> | |
| <hash_150024c21df5178e5c955013591239eb0afd46> | |
| <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_150024c21df5178e5c955013591239eb0afd46> | |
| <hash_1500240d9c0af8b8acdc7807943937b3208e29> | |
| <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_1500240d9c0af8b8acdc7807943937b3208e29> | |
| <hash_1500246fc2d038fb42950138b0ce3e9874cc60> | |
| <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_1500246fc2d038fb42950138b0ce3e9874cc60> | |
| <hash_150024e36f3adb9f152adfa5dc50fd2b23337e> | |
| <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_150024e36f3adb9f152adfa5dc50fd2b23337e> | |
| <hash_150024283ea2bf1634d92ce081ec82a634f513> | |
| <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_150024283ea2bf1634d92ce081ec82a634f513> | |
| <hash_060024e9c43831e54eca8069317a2ce8c6f751> | |
| <name>Normal</name> | |
| <gprint_text>%8.2lf %s</gprint_text> | |
| </hash_060024e9c43831e54eca8069317a2ce8c6f751> | |
| <hash_06002419414480d6897c8731c7dc6c5310653e> | |
| <name>Exact Numbers</name> | |
| <gprint_text>%8.0lf</gprint_text> | |
| </hash_06002419414480d6897c8731c7dc6c5310653e> | |
| </cacti> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| define command{ | |
| command_name check_nrpe | |
| command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ | |
| } | |
| define command{ | |
| command_name check_remote_bw | |
| command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c check_bandwidth -a $ARG1$ $ARG2$ $ARG3$ $ARG4$ | |
| } | |
| define command{ | |
| command_name check_remote_tcp | |
| command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c check_tcp_connections | |
| } | |
| define service{ | |
| use local-service | |
| host_name vm0c | |
| service_description Bandwidth | |
| check_command check_remote_bw!6500!7500!2500!3000!/ | |
| } | |
| define service{ | |
| use local-service | |
| host_name vm0c | |
| service_description TCP connections | |
| check_command check_remote_tcp | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| command[check_bandwidth]=/usr/lib/nagios/plugins/bw_watch $ARG1$ $ARG2$ $ARG3$ $ARG4$ | |
| command[check_tcp_connections]=/usr/lib/nagios/plugins/tcp_watch | |
| dont_blame_nrpe=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| status=`netstat -an|grep tcp|awk '{a[$6]++} END {for (i in a) print i,"="a[i]}'|sed 's/ //g'|xargs` | |
| template_status="ESTABLISHED LISTEN SYN_RECV SYN_SENT TIME_WAIT CLOSE_WAIT FIN_WAIT1 FIN_WAIT2 UNKNOWN LAST_ACK" | |
| for status_output in $template_status | |
| do | |
| for status_in in $status | |
| do | |
| if [ `echo $status_in|awk -F= '{print $1}'` = $status_output ];then | |
| tmp="$status_in" | |
| break | |
| else | |
| tmp="$status_output=0" | |
| fi | |
| done | |
| if [ $status_output == 'ESTABLISHED' ];then | |
| est=$tmp | |
| fi | |
| output="$output$tmp;;;0; " | |
| done | |
| echo "TCP OK - $est|$output" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment