I eventually exported the ucd/net CPU Usage graph template and I noticed a problem. there is a section for the CPU Usage User and CPU Usage Nice bu there is no section for System. There is also an error "Invalid data template" in the section where I would expect to find the CPU Usage System section.
I am not knowledgeable in xml but this doesn't look right to me.
Code: Select all
<cacti>
<hash_000011e334bdcf821cd27270a4cc945e80915e>
<name>ucd/net - CPU Usage</name>
<graph>
<t_title></t_title>
<title>|host_description| - CPU Usage</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_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_auto_scale_rigid></t_auto_scale_rigid>
<auto_scale_rigid>on</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>percent</vertical_label>
</graph>
<items>
<hash_100011ff0a6125acbb029b814ed1f271ad2d38>
<task_item_id>hash_0800117bee7987bbf30a3bc429d2a67c6b2595</task_item_id>
<color_id>FF0000</color_id>
<graph_type_id>7</graph_type_id>
<consolidation_function_id>1</consolidation_function_id>
<cdef_id>0</cdef_id>
<value></value>
<gprint_id>hash_060011e9c43831e54eca8069317a2ce8c6f751</gprint_id>
<text_format>System</text_format>
<hard_return></hard_return>
<sequence>1</sequence>
</hash_100011ff0a6125acbb029b814ed1f271ad2d38>
<hash_100011f0776f7d6638bba76c2c27f75a424f0f>
<task_item_id>0</task_item_id>
<color_id>0</color_id>
<graph_type_id>9</graph_type_id>
<consolidation_function_id>4</consolidation_function_id>
<cdef_id>0</cdef_id>
<value></value>
<gprint_id>hash_060011e9c43831e54eca8069317a2ce8c6f751</gprint_id>
<text_format>Current:</text_format>
<hard_return></hard_return>
<sequence>2</sequence>
</hash_100011f0776f7d6638bba76c2c27f75a424f0f>
<hash_10001139f4e021aa3fed9207b5f45a82122b21>
<task_item_id>hash_0800117bee7987bbf30a3bc429d2a67c6b2595</task_item_id>
<color_id>0</color_id>
<graph_type_id>9</graph_type_id>
<consolidation_function_id>1</consolidation_function_id>
<cdef_id>0</cdef_id>
<value></value>
<gprint_id>hash_060011e9c43831e54eca8069317a2ce8c6f751</gprint_id>
<text_format>Average:</text_format>
<hard_return></hard_return>
<sequence>3</sequence>
</hash_10001139f4e021aa3fed9207b5f45a82122b21>
<hash_100011800f0b067c06f4ec9c2316711ea83c1e>
<task_item_id>hash_0800117bee7987bbf30a3bc429d2a67c6b2595</task_item_id>
<color_id>0</color_id>
<graph_type_id>9</graph_type_id>
<consolidation_function_id>3</consolidation_function_id>
<cdef_id>0</cdef_id>
<value></value>
<gprint_id>hash_060011e9c43831e54eca8069317a2ce8c6f751</gprint_id>
<text_format>Maximum:</text_format>
<hard_return>on</hard_return>
<sequence>4</sequence>
</hash_100011800f0b067c06f4ec9c2316711ea83c1e>
<hash_1000119419dd5dbf549ba4c5dc1462da6ee321>
<task_item_id>hash_080011ddccd7fbdece499da0235b4098b87f9e</task_item_id>
<color_id>0000FF</color_id>
<graph_type_id>8</graph_type_id>
<consolidation_function_id>1</consolidation_function_id>
<cdef_id>0</cdef_id>
<value></value>
<gprint_id>hash_060011e9c43831e54eca8069317a2ce8c6f751</gprint_id>
<text_format>User</text_format>
<hard_return></hard_return>
<sequence>5</sequence>
</hash_1000119419dd5dbf549ba4c5dc1462da6ee321>
<hash_100011e461dd263ae47657ea2bf3fd82bec096>
<task_item_id>hash_080011ddccd7fbdece499da0235b4098b87f9e</task_item_id>
<color_id>0</color_id>
<graph_type_id>9</graph_type_id>
<consolidation_function_id>4</consolidation_function_id>
<cdef_id>0</cdef_id>
<value></value>
<gprint_id>hash_060011e9c43831e54eca8069317a2ce8c6f751</gprint_id>
<text_format>Current:</text_format>
<hard_return></hard_return>
<sequence>6</sequence>
</hash_100011e461dd263ae47657ea2bf3fd82bec096>
<hash_100011f2d1fbb8078a424ffc8a6c9d44d8caa0>
<task_item_id>hash_080011ddccd7fbdece499da0235b4098b87f9e</task_item_id>
<color_id>0</color_id>
<graph_type_id>9</graph_type_id>
<consolidation_function_id>1</consolidation_function_id>
<cdef_id>0</cdef_id>
<value></value>
<gprint_id>hash_060011e9c43831e54eca8069317a2ce8c6f751</gprint_id>
<text_format>Average:</text_format>
<hard_return></hard_return>
<sequence>7</sequence>
</hash_100011f2d1fbb8078a424ffc8a6c9d44d8caa0>
<hash_100011e70a5de639df5ba1705b5883da7fccfc>
<task_item_id>hash_080011ddccd7fbdece499da0235b4098b87f9e</task_item_id>
<color_id>0</color_id>
<graph_type_id>9</graph_type_id>
<consolidation_function_id>3</consolidation_function_id>
<cdef_id>0</cdef_id>
<value></value>
<gprint_id>hash_060011e9c43831e54eca8069317a2ce8c6f751</gprint_id>
<text_format>Maximum:</text_format>
<hard_return>on</hard_return>
<sequence>8</sequence>
</hash_100011e70a5de639df5ba1705b5883da7fccfc>
<hash_10001185fefb25ce9fd0317da2706a5463fc42>
<task_item_id>hash_080011122ab2097f8c6403b7b90cde7b9e2bc2</task_item_id>
<color_id>00FF00</color_id>
<graph_type_id>8</graph_type_id>
<consolidation_function_id>1</consolidation_function_id>
<cdef_id>0</cdef_id>
<value></value>
<gprint_id>hash_060011e9c43831e54eca8069317a2ce8c6f751</gprint_id>
<text_format>Nice</text_format>
<hard_return></hard_return>
<sequence>9</sequence>
</hash_10001185fefb25ce9fd0317da2706a5463fc42>
<hash_100011a1cb26878776999db16f1de7577b3c2a>
<task_item_id>hash_080011122ab2097f8c6403b7b90cde7b9e2bc2</task_item_id>
<color_id>0</color_id>
<graph_type_id>9</graph_type_id>
<consolidation_function_id>4</consolidation_function_id>
<cdef_id>0</cdef_id>
<value></value>
<gprint_id>hash_060011e9c43831e54eca8069317a2ce8c6f751</gprint_id>
<text_format>Current:</text_format>
<hard_return></hard_return>
<sequence>10</sequence>
</hash_100011a1cb26878776999db16f1de7577b3c2a>
<hash_1000117d0f9bf64a0898a0095f099674754273>
<task_item_id>hash_080011122ab2097f8c6403b7b90cde7b9e2bc2</task_item_id>
<color_id>0</color_id>
<graph_type_id>9</graph_type_id>
<consolidation_function_id>1</consolidation_function_id>
<cdef_id>0</cdef_id>
<value></value>
<gprint_id>hash_060011e9c43831e54eca8069317a2ce8c6f751</gprint_id>
<text_format>Average:</text_format>
<hard_return></hard_return>
<sequence>11</sequence>
</hash_1000117d0f9bf64a0898a0095f099674754273>
<hash_100011b2879248a522d9679333e1f29e9a87c3>
<task_item_id>hash_080011122ab2097f8c6403b7b90cde7b9e2bc2</task_item_id>
<color_id>0</color_id>
<graph_type_id>9</graph_type_id>
<consolidation_function_id>3</consolidation_function_id>
<cdef_id>0</cdef_id>
<value></value>
<gprint_id>hash_060011e9c43831e54eca8069317a2ce8c6f751</gprint_id>
<text_format>Maximum:</text_format>
<hard_return>on</hard_return>
<sequence>12</sequence>
</hash_100011b2879248a522d9679333e1f29e9a87c3>
<hash_100011d800aa59eee45383b3d6d35a11cdc864>
<task_item_id>0</task_item_id>
<color_id>000000</color_id>
<graph_type_id>4</graph_type_id>
<consolidation_function_id>1</consolidation_function_id>
<cdef_id>hash_050011f1ac79f05f255c02f914c920f1038c54</cdef_id>
<value></value>
<gprint_id>hash_060011e9c43831e54eca8069317a2ce8c6f751</gprint_id>
<text_format>Total</text_format>
<hard_return></hard_return>
<sequence>13</sequence>
</hash_100011d800aa59eee45383b3d6d35a11cdc864>
<hash_100011cab4ae79a546826288e273ca1411c867>
<task_item_id>0</task_item_id>
<color_id>0</color_id>
<graph_type_id>9</graph_type_id>
<consolidation_function_id>4</consolidation_function_id>
<cdef_id>hash_050011f1ac79f05f255c02f914c920f1038c54</cdef_id>
<value></value>
<gprint_id>hash_060011e9c43831e54eca8069317a2ce8c6f751</gprint_id>
<text_format>Current:</text_format>
<hard_return></hard_return>
<sequence>14</sequence>
</hash_100011cab4ae79a546826288e273ca1411c867>
<hash_100011d44306ae85622fec971507460be63f5c>
<task_item_id>0</task_item_id>
<color_id>0</color_id>
<graph_type_id>9</graph_type_id>
<consolidation_function_id>1</consolidation_function_id>
<cdef_id>hash_050011f1ac79f05f255c02f914c920f1038c54</cdef_id>
<value></value>
<gprint_id>hash_060011e9c43831e54eca8069317a2ce8c6f751</gprint_id>
<text_format>Average:</text_format>
<hard_return></hard_return>
<sequence>15</sequence>
</hash_100011d44306ae85622fec971507460be63f5c>
<hash_100011aa5c2118035bb83be497d4e099afcc0d>
<task_item_id>0</task_item_id>
<color_id>0</color_id>
<graph_type_id>9</graph_type_id>
<consolidation_function_id>3</consolidation_function_id>
<cdef_id>hash_050011f1ac79f05f255c02f914c920f1038c54</cdef_id>
<value></value>
<gprint_id>hash_060011e9c43831e54eca8069317a2ce8c6f751</gprint_id>
<text_format>Maximum:</text_format>
<hard_return></hard_return>
<sequence>16</sequence>
</hash_100011aa5c2118035bb83be497d4e099afcc0d>
</items>
<inputs>
<hash_0900114d52e112a836d4c9d451f56602682606>
<name>System CPU Data Source</name>
<description></description>
<column_name>task_item_id</column_name>
<items>hash_000011ff0a6125acbb029b814ed1f271ad2d38|hash_000011f0776f7d6638bba76c2c27f75a424f0f|hash_00001139f4e021aa3fed9207b5f45a82122b21|hash_000011800f0b067c06f4ec9c2316711ea83c1e</items>
</hash_0900114d52e112a836d4c9d451f56602682606>
<hash_090011f0310b066cc919d2f898b8d1ebf3b518>
<name>User CPU Data Source</name>
<description></description>
<column_name>task_item_id</column_name>
<items>hash_0000119419dd5dbf549ba4c5dc1462da6ee321|hash_000011e461dd263ae47657ea2bf3fd82bec096|hash_000011f2d1fbb8078a424ffc8a6c9d44d8caa0|hash_000011e70a5de639df5ba1705b5883da7fccfc</items>
</hash_090011f0310b066cc919d2f898b8d1ebf3b518>
<hash_090011d9eb6b9eb3d7dd44fd14fdefb4096b54>
<name>Nice CPU Data Source</name>
<description></description>
<column_name>task_item_id</column_name>
<items>hash_00001185fefb25ce9fd0317da2706a5463fc42|hash_000011a1cb26878776999db16f1de7577b3c2a|hash_0000117d0f9bf64a0898a0095f099674754273|hash_000011b2879248a522d9679333e1f29e9a87c3</items>
</hash_090011d9eb6b9eb3d7dd44fd14fdefb4096b54>
</inputs>
</hash_000011e334bdcf821cd27270a4cc945e80915e>
<hash_010011a27e816377d2ac6434a87c494559c726>
<name>ucd/net - CPU Usage - User</name>
<ds>
<t_name></t_name>
<name>|host_description| - CPU Usage - User</name>
<data_input_id>hash_0300113eb92bb845b9660a7445cf9740726522</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_150011c21df5178e5c955013591239eb0afd46|hash_1500110d9c0af8b8acdc7807943937b3208e29|hash_1500116fc2d038fb42950138b0ce3e9874cc60|hash_150011e36f3adb9f152adfa5dc50fd2b23337e</rra_items>
</ds>
<items>
<hash_080011ddccd7fbdece499da0235b4098b87f9e>
<t_data_source_name></t_data_source_name>
<data_source_name>cpu_user</data_source_name>
<t_rrd_minimum></t_rrd_minimum>
<rrd_minimum>0</rrd_minimum>
<t_rrd_maximum></t_rrd_maximum>
<rrd_maximum>100</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>0</data_input_field_id>
</hash_080011ddccd7fbdece499da0235b4098b87f9e>
</items>
<data>
<item_000>
<data_input_field_id>hash_0700114276a5ec6e3fe33995129041b1909762</data_input_field_id>
<t_value></t_value>
<value>.1.3.6.1.4.1.2021.11.50.0</value>
</item_000>
<item_001>
<data_input_field_id>hash_070011012ccb1d3687d3edb29c002ea66e72da</data_input_field_id>
<t_value></t_value>
<value></value>
</item_001>
<item_002>
<data_input_field_id>hash_0700119c55a74bd571b4f00a96fd4b793278c6</data_input_field_id>
<t_value></t_value>
<value></value>
</item_002>
<item_003>
<data_input_field_id>hash_070011ad14ac90641aed388139f6ba86a2e48b</data_input_field_id>
<t_value></t_value>
<value></value>
</item_003>
<item_004>
<data_input_field_id>hash_07001132285d5bf16e56c478f5e83f32cda9ef</data_input_field_id>
<t_value></t_value>
<value></value>
</item_004>
<item_005>
<data_input_field_id>hash_07001192f5906c8dc0f964b41f4253df582c38</data_input_field_id>
<t_value></t_value>
<value></value>
</item_005>
</data>
</hash_010011a27e816377d2ac6434a87c494559c726>
<hash_010011c06c3d20eccb9598939dc597701ff574>
<name>ucd/net - CPU Usage - Nice</name>
<ds>
<t_name></t_name>
<name>|host_description| - CPU Usage - Nice</name>
<data_input_id>hash_0300113eb92bb845b9660a7445cf9740726522</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_150011c21df5178e5c955013591239eb0afd46|hash_1500110d9c0af8b8acdc7807943937b3208e29|hash_1500116fc2d038fb42950138b0ce3e9874cc60|hash_150011e36f3adb9f152adfa5dc50fd2b23337e</rra_items>
</ds>
<items>
<hash_080011122ab2097f8c6403b7b90cde7b9e2bc2>
<t_data_source_name></t_data_source_name>
<data_source_name>cpu_nice</data_source_name>
<t_rrd_minimum></t_rrd_minimum>
<rrd_minimum>0</rrd_minimum>
<t_rrd_maximum></t_rrd_maximum>
<rrd_maximum>100</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>0</data_input_field_id>
</hash_080011122ab2097f8c6403b7b90cde7b9e2bc2>
</items>
<data>
<item_000>
<data_input_field_id>hash_0700114276a5ec6e3fe33995129041b1909762</data_input_field_id>
<t_value></t_value>
<value>.1.3.6.1.4.1.2021.11.51.0</value>
</item_000>
<item_001>
<data_input_field_id>hash_070011012ccb1d3687d3edb29c002ea66e72da</data_input_field_id>
<t_value></t_value>
<value></value>
</item_001>
<item_002>
<data_input_field_id>hash_0700119c55a74bd571b4f00a96fd4b793278c6</data_input_field_id>
<t_value></t_value>
<value></value>
</item_002>
<item_003>
<data_input_field_id>hash_070011ad14ac90641aed388139f6ba86a2e48b</data_input_field_id>
<t_value></t_value>
<value></value>
</item_003>
<item_004>
<data_input_field_id>hash_07001132285d5bf16e56c478f5e83f32cda9ef</data_input_field_id>
<t_value></t_value>
<value></value>
</item_004>
<item_005>
<data_input_field_id>hash_07001192f5906c8dc0f964b41f4253df582c38</data_input_field_id>
<t_value></t_value>
<value></value>
</item_005>
</data>
</hash_010011c06c3d20eccb9598939dc597701ff574>
Invalid data template.
<hash_0300113eb92bb845b9660a7445cf9740726522>
<name>Get SNMP Data</name>
<type_id>2</type_id>
<input_string></input_string>
<fields>
<hash_07001192f5906c8dc0f964b41f4253df582c38>
<name>SNMP 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_07001192f5906c8dc0f964b41f4253df582c38>
<hash_07001132285d5bf16e56c478f5e83f32cda9ef>
<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_07001132285d5bf16e56c478f5e83f32cda9ef>
<hash_070011ad14ac90641aed388139f6ba86a2e48b>
<name>SNMP Username</name>
<update_rra></update_rra>
<regexp_match></regexp_match>
<allow_nulls>on</allow_nulls>
<type_code>snmp_username</type_code>
<input_output>in</input_output>
<data_name>snmp_username</data_name>
</hash_070011ad14ac90641aed388139f6ba86a2e48b>
<hash_0700119c55a74bd571b4f00a96fd4b793278c6>
<name>SNMP Password</name>
<update_rra></update_rra>
<regexp_match></regexp_match>
<allow_nulls>on</allow_nulls>
<type_code>snmp_password</type_code>
<input_output>in</input_output>
<data_name>snmp_password</data_name>
</hash_0700119c55a74bd571b4f00a96fd4b793278c6>
<hash_070011012ccb1d3687d3edb29c002ea66e72da>
<name>SNMP Version (1, 2, or 3)</name>
<update_rra></update_rra>
<regexp_match></regexp_match>
<allow_nulls>on</allow_nulls>
<type_code>snmp_version</type_code>
<input_output>in</input_output>
<data_name>snmp_version</data_name>
</hash_070011012ccb1d3687d3edb29c002ea66e72da>
<hash_0700114276a5ec6e3fe33995129041b1909762>
<name>OID</name>
<update_rra></update_rra>
<regexp_match></regexp_match>
<allow_nulls></allow_nulls>
<type_code>snmp_oid</type_code>
<input_output>in</input_output>
<data_name>oid</data_name>
</hash_0700114276a5ec6e3fe33995129041b1909762>
</fields>
</hash_0300113eb92bb845b9660a7445cf9740726522>
<hash_150011c21df5178e5c955013591239eb0afd46>
<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_150011c21df5178e5c955013591239eb0afd46>
<hash_1500110d9c0af8b8acdc7807943937b3208e29>
<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_1500110d9c0af8b8acdc7807943937b3208e29>
<hash_1500116fc2d038fb42950138b0ce3e9874cc60>
<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_1500116fc2d038fb42950138b0ce3e9874cc60>
<hash_150011e36f3adb9f152adfa5dc50fd2b23337e>
<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_150011e36f3adb9f152adfa5dc50fd2b23337e>
<hash_050011f1ac79f05f255c02f914c920f1038c54>
<name>Total All Data Sources</name>
<items>
<hash_1400110ef6b8a42dc83b4e43e437960fccd2ea>
<sequence>1</sequence>
<type>4</type>
<value>ALL_DATA_SOURCES_NODUPS</value>
</hash_1400110ef6b8a42dc83b4e43e437960fccd2ea>
</items>
</hash_050011f1ac79f05f255c02f914c920f1038c54>
<hash_060011e9c43831e54eca8069317a2ce8c6f751>
<name>Normal</name>
<gprint_text>%8.2lf %s</gprint_text>
</hash_060011e9c43831e54eca8069317a2ce8c6f751>
</cacti>