0 Data Query Returned, Mikrotik Cacti Plugin v1.x
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: 0 Data Query Returned, Mikrotik Cacti Plugin v1.x
The only other thing it can be is that the plugin is installed, but not enabled. That error message basically only triggers. Make sure the plugin is enabled as well as data collection is enabled.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Posts: 21
- Joined: Mon Jan 02, 2023 11:43 am
Re: 0 Data Query Returned, Mikrotik Cacti Plugin v1.x
Hi Witness,
Apologies for such error, I totally forgot to enable the plugin, the last time I had installed was years back. I still get the errors, please see the logs
09-Jan-2023 07:25:17 - SYSTEM MIKROTIK STATS: Time:15.03 Processes:10 Hosts:1 Interfaces:7 Queues:0 Users:0 Trees:0 Waps:0 Wreg:0
09-Jan-2023 07:25:03 - SYSTEM MIKROTIK RouterOS API STATS: Device[Test 02], API Returned 0 PPPoe Users in 0.21 seconds.
09-Jan-2023 07:25:02 - SYSTEM MAINT STATS: Time:0.00
09-Jan-2023 07:25:02 - SYSTEM STATS: Time:1.2150 Method:cmd.php Processes:1 Threads:1 Hosts:2 HostsPerProcess:2 DataSources:34 RRDsProcessed:34
09-Jan-2023 07:20:17 - SYSTEM MIKROTIK STATS: Time:15.03 Processes:10 Hosts:1 Interfaces:7 Queues:0 Users:0 Trees:0 Waps:0 Wreg:0
09-Jan-2023 07:20:03 - SYSTEM MIKROTIK RouterOS API STATS: Device[Test 02], API Returned 0 PPPoe Users in 0.21 seconds.
################
DEBUG: Elapsed: 0, Message: Function snmp_read_mib() EXISTS!
PHP Warning: Undefined array key "id" in /var/www/html/cacti/plugins/mikrotik/poller_mikrotik.php on line 776
Apologies for such error, I totally forgot to enable the plugin, the last time I had installed was years back. I still get the errors, please see the logs
09-Jan-2023 07:25:17 - SYSTEM MIKROTIK STATS: Time:15.03 Processes:10 Hosts:1 Interfaces:7 Queues:0 Users:0 Trees:0 Waps:0 Wreg:0
09-Jan-2023 07:25:03 - SYSTEM MIKROTIK RouterOS API STATS: Device[Test 02], API Returned 0 PPPoe Users in 0.21 seconds.
09-Jan-2023 07:25:02 - SYSTEM MAINT STATS: Time:0.00
09-Jan-2023 07:25:02 - SYSTEM STATS: Time:1.2150 Method:cmd.php Processes:1 Threads:1 Hosts:2 HostsPerProcess:2 DataSources:34 RRDsProcessed:34
09-Jan-2023 07:20:17 - SYSTEM MIKROTIK STATS: Time:15.03 Processes:10 Hosts:1 Interfaces:7 Queues:0 Users:0 Trees:0 Waps:0 Wreg:0
09-Jan-2023 07:20:03 - SYSTEM MIKROTIK RouterOS API STATS: Device[Test 02], API Returned 0 PPPoe Users in 0.21 seconds.
################
DEBUG: Elapsed: 0, Message: Function snmp_read_mib() EXISTS!
PHP Warning: Undefined array key "id" in /var/www/html/cacti/plugins/mikrotik/poller_mikrotik.php on line 776
-
- Posts: 21
- Joined: Mon Jan 02, 2023 11:43 am
Re: 0 Data Query Returned, Mikrotik Cacti Plugin v1.x
I tried to debug and saw errors, it could not locate files under scrips / resources, I unzip from version 2.4 and index returned results, can this be a bug in file location? Thank you.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: 0 Data Query Returned, Mikrotik Cacti Plugin v1.x
Well, I've been planning on re-publishing the Template with everything in the 'correct' Cacti location and out of the plugin directory now that the Cacti supports "packages". It's on my rather long and arduous to-do list.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 1 guest