So far, so cool.
Now I took the chance to extend this new template with a new OID. So I've just added a new part to my existing snmp_query:
Code: Select all
<docsIf31CmtsDsOfdmChanUtilization>
<name>D31 Downstream Utilization</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.4491.2.1.28.1.19.1.20</oid>
</docsIf31CmtsDsOfdmChanUtilization>
So there is now a new GraphTemplate, DataTemplate, DataQuery with a new AssociatedGraphTemplate.
As a final step I wanted to add the GraphTemplate to the existing DeviceTemplate. But I couldn't find it on the pulldownlist.
So, for a test, I deleted an already included but unused GraphTemplate from the DeviceTemplate. But I couldn't find it then in pulldownlist either.
I went then into the mariadb and made it by hand.
Code: Select all
insert into host_template_graph set (host_template_id,graph_template_id) values ('8','86');
insert into host_template_graph (host_template_id,graph_template_id) values ('8','95');
I've created two new graphs with my new template and cactilog shows ugly messages:
Code: Select all
2022-07-06 16:10:50 - CMDPHP ERROR: Suggested value column error. Column title for Data Template ID 79 is not a compatible field name for tables data_template_data and data_template_rrd. Please correct this suggested value mapping
2022-07-06 16:10:50 - CMDPHP ERROR: Suggested value column error. Column title for Data Template ID 79 is not a compatible field name for tables data_template_data and data_template_rrd. Please correct this suggested value mapping