Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save snickerjp/4706313 to your computer and use it in GitHub Desktop.
Save snickerjp/4706313 to your computer and use it in GitHub Desktop.
Postfix Queues custom xml inspired from Cacti • View topic - Postfix Queues http://forums.cacti.net/viewtopic.php?f=12&t=16480
<cacti>
<hash_000024d9af2b79e2431a936082e0d73d3156cc>
<name>Postfix Queues</name>
<graph>
<t_title></t_title>
<title>|host_description| - Postfix Queues</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>0</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>0</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_10002478f6eecaa555301e9abf1d244d68e15a>
<task_item_id>hash_080024e0c970e3455a513c4b0e061487ecec25</task_item_id>
<color_id>0C5ECE</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>Active</text_format>
<hard_return></hard_return>
<sequence>1</sequence>
</hash_10002478f6eecaa555301e9abf1d244d68e15a>
<hash_1000245fb6aa53a2524a3d8c3fca1441c72d45>
<task_item_id>hash_080024e0c970e3455a513c4b0e061487ecec25</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_060024e9c43831e54eca8069317a2ce8c6f751</gprint_id>
<text_format>Current:</text_format>
<hard_return></hard_return>
<sequence>2</sequence>
</hash_1000245fb6aa53a2524a3d8c3fca1441c72d45>
<hash_10002450faa5d26ad5a9539ebe2876a77a98fe>
<task_item_id>hash_080024e0c970e3455a513c4b0e061487ecec25</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_060024e9c43831e54eca8069317a2ce8c6f751</gprint_id>
<text_format>Average:</text_format>
<hard_return></hard_return>
<sequence>3</sequence>
</hash_10002450faa5d26ad5a9539ebe2876a77a98fe>
<hash_10002477c6db75e1eeaa860fcd9802fea08b0d>
<task_item_id>hash_080024e0c970e3455a513c4b0e061487ecec25</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_060024e9c43831e54eca8069317a2ce8c6f751</gprint_id>
<text_format>Max:</text_format>
<hard_return>on</hard_return>
<sequence>4</sequence>
</hash_10002477c6db75e1eeaa860fcd9802fea08b0d>
<hash_100024d8175175015f12e6d2a09db6e97430d4>
<task_item_id>hash_080024f24b75d219c02e13246436b5df9cd7ce</task_item_id>
<color_id>FF4C4C</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>Deferred</text_format>
<hard_return></hard_return>
<sequence>5</sequence>
</hash_100024d8175175015f12e6d2a09db6e97430d4>
<hash_100024866865c832a35e5db415147cc197b687>
<task_item_id>hash_080024f24b75d219c02e13246436b5df9cd7ce</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_060024e9c43831e54eca8069317a2ce8c6f751</gprint_id>
<text_format>Current:</text_format>
<hard_return></hard_return>
<sequence>6</sequence>
</hash_100024866865c832a35e5db415147cc197b687>
<hash_10002434562e3711cc95af9bd945a513f0dfed>
<task_item_id>hash_080024f24b75d219c02e13246436b5df9cd7ce</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_060024e9c43831e54eca8069317a2ce8c6f751</gprint_id>
<text_format>Average:</text_format>
<hard_return></hard_return>
<sequence>7</sequence>
</hash_10002434562e3711cc95af9bd945a513f0dfed>
<hash_10002495be28839233cec675b1659c9f766991>
<task_item_id>hash_080024f24b75d219c02e13246436b5df9cd7ce</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_060024e9c43831e54eca8069317a2ce8c6f751</gprint_id>
<text_format>Max:</text_format>
<hard_return>on</hard_return>
<sequence>8</sequence>
</hash_10002495be28839233cec675b1659c9f766991>
<hash_1000240d48fed10b583b05be4710cb3e4dff25>
<task_item_id>hash_080024789fa0e9cae50f84640b4bcf5a366fb3</task_item_id>
<color_id>B84CB8</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>Hold</text_format>
<hard_return></hard_return>
<sequence>9</sequence>
</hash_1000240d48fed10b583b05be4710cb3e4dff25>
<hash_100024509a41a7a5308041b25589c01c5bd936>
<task_item_id>hash_080024789fa0e9cae50f84640b4bcf5a366fb3</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_060024e9c43831e54eca8069317a2ce8c6f751</gprint_id>
<text_format>Current:</text_format>
<hard_return></hard_return>
<sequence>10</sequence>
</hash_100024509a41a7a5308041b25589c01c5bd936>
<hash_100024343a07f06daa6c21318738f2ccb3bdf3>
<task_item_id>hash_080024789fa0e9cae50f84640b4bcf5a366fb3</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_060024e9c43831e54eca8069317a2ce8c6f751</gprint_id>
<text_format>Average:</text_format>
<hard_return></hard_return>
<sequence>11</sequence>
</hash_100024343a07f06daa6c21318738f2ccb3bdf3>
<hash_10002490272326017f7f0b4412fe44fcf928b7>
<task_item_id>hash_080024789fa0e9cae50f84640b4bcf5a366fb3</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_060024e9c43831e54eca8069317a2ce8c6f751</gprint_id>
<text_format>Max:</text_format>
<hard_return>on</hard_return>
<sequence>12</sequence>
</hash_10002490272326017f7f0b4412fe44fcf928b7>
<hash_100024f45536f163ac16faee56cd8b26da8fb8>
<task_item_id>hash_080024bb8e46300f10aab4611e6b8bcc702e29</task_item_id>
<color_id>4CFF4C</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>Incoming</text_format>
<hard_return></hard_return>
<sequence>13</sequence>
</hash_100024f45536f163ac16faee56cd8b26da8fb8>
<hash_100024b00e6698ef1b1f2ad3542e1af9e3f52a>
<task_item_id>hash_080024bb8e46300f10aab4611e6b8bcc702e29</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_060024e9c43831e54eca8069317a2ce8c6f751</gprint_id>
<text_format>Current:</text_format>
<hard_return></hard_return>
<sequence>14</sequence>
</hash_100024b00e6698ef1b1f2ad3542e1af9e3f52a>
<hash_100024951652889f0694059280f621f49a02ed>
<task_item_id>hash_080024bb8e46300f10aab4611e6b8bcc702e29</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_060024e9c43831e54eca8069317a2ce8c6f751</gprint_id>
<text_format>Average:</text_format>
<hard_return></hard_return>
<sequence>15</sequence>
</hash_100024951652889f0694059280f621f49a02ed>
<hash_1000249170ecd51fa8618bc3bbef6321383a09>
<task_item_id>hash_080024bb8e46300f10aab4611e6b8bcc702e29</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_060024e9c43831e54eca8069317a2ce8c6f751</gprint_id>
<text_format>Max:</text_format>
<hard_return></hard_return>
<sequence>16</sequence>
</hash_1000249170ecd51fa8618bc3bbef6321383a09>
</items>
<inputs>
<hash_0900240294fb5036ab139e0e39116ea2b239f4>
<name>Data Source [incoming]</name>
<description></description>
<column_name>task_item_id</column_name>
<items>hash_000024f45536f163ac16faee56cd8b26da8fb8|hash_000024b00e6698ef1b1f2ad3542e1af9e3f52a|hash_000024951652889f0694059280f621f49a02ed|hash_0000249170ecd51fa8618bc3bbef6321383a09</items>
</hash_0900240294fb5036ab139e0e39116ea2b239f4>
<hash_09002404d7ecb0fe8aca0ecf38de0f2522755c>
<name>Data Source [hold]</name>
<description></description>
<column_name>task_item_id</column_name>
<items>hash_0000240d48fed10b583b05be4710cb3e4dff25|hash_000024509a41a7a5308041b25589c01c5bd936|hash_000024343a07f06daa6c21318738f2ccb3bdf3|hash_00002490272326017f7f0b4412fe44fcf928b7</items>
</hash_09002404d7ecb0fe8aca0ecf38de0f2522755c>
<hash_0900249be5664d12e860440906df022e4562e1>
<name>Data Source [active]</name>
<description></description>
<column_name>task_item_id</column_name>
<items>hash_00002478f6eecaa555301e9abf1d244d68e15a|hash_0000245fb6aa53a2524a3d8c3fca1441c72d45|hash_00002450faa5d26ad5a9539ebe2876a77a98fe|hash_00002477c6db75e1eeaa860fcd9802fea08b0d</items>
</hash_0900249be5664d12e860440906df022e4562e1>
<hash_0900248a77bee67b36827dbeac63b83c5fa7ae>
<name>Data Source [deferred]</name>
<description></description>
<column_name>task_item_id</column_name>
<items>hash_000024d8175175015f12e6d2a09db6e97430d4|hash_000024866865c832a35e5db415147cc197b687|hash_00002434562e3711cc95af9bd945a513f0dfed|hash_00002495be28839233cec675b1659c9f766991</items>
</hash_0900248a77bee67b36827dbeac63b83c5fa7ae>
</inputs>
</hash_000024d9af2b79e2431a936082e0d73d3156cc>
<hash_0100245851704042b1d2a517a065e4487738c6>
<name>Postfix Queues</name>
<ds>
<t_name></t_name>
<name>|host_description| - Postfix Queues</name>
<data_input_id>hash_030024f59da6ce98d7ab5e67b5a620f86662de</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</rra_items>
</ds>
<items>
<hash_080024bb8e46300f10aab4611e6b8bcc702e29>
<t_data_source_name></t_data_source_name>
<data_source_name>incoming</data_source_name>
<t_rrd_minimum></t_rrd_minimum>
<rrd_minimum>0</rrd_minimum>
<t_rrd_maximum></t_rrd_maximum>
<rrd_maximum>2000</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_070024ca626f8b92750a37bc6bc676b6073191</data_input_field_id>
</hash_080024bb8e46300f10aab4611e6b8bcc702e29>
<hash_080024f24b75d219c02e13246436b5df9cd7ce>
<t_data_source_name></t_data_source_name>
<data_source_name>deferred</data_source_name>
<t_rrd_minimum></t_rrd_minimum>
<rrd_minimum>0</rrd_minimum>
<t_rrd_maximum></t_rrd_maximum>
<rrd_maximum>2000</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_07002456c1be24dcb3cc5d40f238643bfb1134</data_input_field_id>
</hash_080024f24b75d219c02e13246436b5df9cd7ce>
<hash_080024e0c970e3455a513c4b0e061487ecec25>
<t_data_source_name></t_data_source_name>
<data_source_name>active</data_source_name>
<t_rrd_minimum></t_rrd_minimum>
<rrd_minimum>0</rrd_minimum>
<t_rrd_maximum></t_rrd_maximum>
<rrd_maximum>2000</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_0700246ddb4b41e694efc8eb2a7df2fc9677c7</data_input_field_id>
</hash_080024e0c970e3455a513c4b0e061487ecec25>
<hash_080024789fa0e9cae50f84640b4bcf5a366fb3>
<t_data_source_name></t_data_source_name>
<data_source_name>hold</data_source_name>
<t_rrd_minimum></t_rrd_minimum>
<rrd_minimum>0</rrd_minimum>
<t_rrd_maximum></t_rrd_maximum>
<rrd_maximum>2000</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_0700242ce83e1eca5a679e4e5538faab9ad6fb</data_input_field_id>
</hash_080024789fa0e9cae50f84640b4bcf5a366fb3>
</items>
<data>
</data>
</hash_0100245851704042b1d2a517a065e4487738c6>
<hash_030024f59da6ce98d7ab5e67b5a620f86662de>
<name>Postfix Queues</name>
<type_id>1</type_id>
<input_string>/bin/bash &lt;path_cacti&gt;/scripts/postfixqueues.sh &lt;management_ip&gt; &lt;snmp_community&gt;</input_string>
<fields>
<hash_0700248bd84b011f1bb689843395ea17a512f1>
<name>Host IP Address</name>
<update_rra></update_rra>
<regexp_match></regexp_match>
<allow_nulls></allow_nulls>
<type_code>hostname</type_code>
<input_output>in</input_output>
<data_name>management_ip</data_name>
</hash_0700248bd84b011f1bb689843395ea17a512f1>
<hash_070024ca626f8b92750a37bc6bc676b6073191>
<name>Incoming</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>incoming</data_name>
</hash_070024ca626f8b92750a37bc6bc676b6073191>
<hash_0700246ddb4b41e694efc8eb2a7df2fc9677c7>
<name>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>active</data_name>
</hash_0700246ddb4b41e694efc8eb2a7df2fc9677c7>
<hash_07002456c1be24dcb3cc5d40f238643bfb1134>
<name>Deferred</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>deferred</data_name>
</hash_07002456c1be24dcb3cc5d40f238643bfb1134>
<hash_0700242ce83e1eca5a679e4e5538faab9ad6fb>
<name>Hold</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>hold</data_name>
</hash_0700242ce83e1eca5a679e4e5538faab9ad6fb>
<hash_070024b6d9dd41d1fa4bee4a2c6a6b7125545c>
<name>snmp community</name>
<update_rra></update_rra>
<regexp_match></regexp_match>
<allow_nulls></allow_nulls>
<type_code>snmp_community</type_code>
<input_output>in</input_output>
<data_name>snmp_community</data_name>
</hash_070024b6d9dd41d1fa4bee4a2c6a6b7125545c>
</fields>
</hash_030024f59da6ce98d7ab5e67b5a620f86662de>
<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_060024e9c43831e54eca8069317a2ce8c6f751>
<name>Normal</name>
<gprint_text>%8.2lf %s</gprint_text>
</hash_060024e9c43831e54eca8069317a2ce8c6f751>
</cacti>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment