I downloaded the templates from the topic listed above. I was able to import all, except for one: cacti_data_query_snmp_interface_statistics.xml
If I import this one, it will not respond me with a notification (success or failed). I tried to put it in C:\cacti2\resource\snmp_queries and after that link the data query "SNMP - Interface Statistics" to the .xml file listed above. It will succesfully locate the .xml file. But when I do a verbose query it outputs:
Notice: Undefined index: oid_index in C:\cacti2\lib\data_query.php on line 156
Notice: Undefined index: oid_index in C:\cacti2\lib\data_query.php on line 159
Warning: Variable passed to each() is not an array or object in C:\cacti2\lib\data_query.php on line 181
Warning: Variable passed to each() is not an array or object in C:\cacti2\lib\data_query.php on line 515
Warning: Cannot modify header information - headers already sent by (output started at C:\cacti2\lib\data_query.php:156) in C:\cacti2\host.php on line 77
Is the xml file incorrect or am I doing it the wrong way?
regards