Closed Rameshkc998 closed 4 years ago
When i open the graph in debuugging mode i get
Only few graphs are showing currently
Have you set the data collection frequencies and enabled data collection? Settings > MikroTik.
Have you set the data collection frequencies and enabled data collection? Settings > MikroTik.
Hi I have the same Problem with same error message and I set data collection frequencies and I enabled data collection in Settings > MikroTik, but i still have problem and no interface and queue information displayed. do you have any ideas? tanx
/lib/data_query.php sizeof($script_num_index_array) return 0 looks like a bug
That would mean nothing was returned by the MySQL query. You could try var_dump
'ing the $script_num_index_array
var_dump($script_num_index_array) return empty
but foreach working normally.
foreach ($script_num_index_array as $element) {
query_debug_timer_offset('data_query', __('Found number of indexes: %s' , $element));
}
comment out //return false;
can be solved temporarily.
What data query is this for. I don't see any microtik device templates that use arg_num_indexes, which is what you have commented out.
My guess is that if you update Cacti to 1.2.5, this issue will be resolved on it's own.
Data query
MikroTik - Interfaces
MikroTik - Queues
commented out:
return false;
same problem with cacti 1.2.5, php73, mariadb10.4, rrdtool1.8+
any update?
This issue is solved here. It will be a part of 1.2.7.
I just fresh installed Latest Cacti Version 1.2.4 in centos 7 with latest Mikrotik Plugin v1.x installed from github. But I cannot create graph for my Mikrotik Device, because the system said Data Query Returned 0 like this images![image](https://user-images.githubusercontent.com/47779207/58161006-31e13d80-7c9f-11e9-96ce-ea4843666384.png)