I'm trying to add a new Data Query for my PLC Equipments (Powerline Communications) in Cacti, but I always get this error when add this query to my device... I have this error:
Code: Select all
Notice: Undefined index: arg_index in /usr/share/cacti/site/lib/data_query.php on line 98
Notice: Undefined index: script_path in /usr/share/cacti/site/lib/data_query.php on line 98
Notice: Undefined index: arg_query in /usr/share/cacti/site/lib/data_query.php on line 109
Notice: Undefined index: query_name in /usr/share/cacti/site/lib/data_query.php on line 109
Notice: Undefined index: script_path in /usr/share/cacti/site/lib/data_query.php on line 109
Warning: Cannot modify header information - headers already sent by (output started at /usr/share/cacti/site/lib/data_query.php:98) in /usr/share/cacti/site/host.php on line 129
Code: Select all
+ Running data query [10].
+ Found type = '4 '[script query].
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/enlaceplctx.xml'
+ XML file parsed ok.
+ Executing script for list of indexes ' '
+ Executing script query ' '
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/enlaceplctx.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/enlaceplctx.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/enlaceplctx.xml'
Code: Select all
<enlaceplctx>
<name>Get PLC Enlace Statistics</name>
<description>Queries a PLC</description>
<oid_index>.1.3.6.1.4.1.6798.3.3.1.1.11.1</oid_index>
<index_order_type>numeric</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>
<fields>
<plPhyByMACTXPhySpeed>
<name>Transmission</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.6798.3.3.1.1.11.1</oid>
</plPhyByMACTXPhySpeed>
</fields>
</enlaceplctx>
Thanks!
André