Cacti / plugin_hmib

HMib Plugin for Cacti
GNU General Public License v2.0
5 stars 6 forks source link

Please Select Data Query First #7

Closed hackdefendr closed 7 years ago

hackdefendr commented 7 years ago

On the initial hMIB screen it lists several processes that are all greyed out. When I hover my cursor over any of the icons I see the below warning. Per the screenshot below, the message points to a place where their are no Data Query options.

untitled

cigamit commented 7 years ago

Please see this note: https://github.com/Cacti/plugin_hmib/issues/6

hackdefendr commented 7 years ago

I followed the instructions in note #6 but I still see that message "Please Select Data..."

When I go to Console -> Settings -> Host Mib, there are no options for selecting data queries.

hackdefendr commented 7 years ago

Not sure if this has anything to do with it...

2017-05-03 08:19:02 - CMDPHP SQL Backtrace: (/plugins/hmib/hmib.php: 81 hmib_devices)(/plugins/hmib/hmib.php: 1658 db_fetch_cell)(/lib/database.php: 204 db_fetch_cell_prepared)(/lib/database.php: 251 cacti_debug_backtrace) 2017-05-03 08:19:02 - CMDPHP SQL Backtrace: (/plugins/hmib/hmib.php: 81 hmib_devices)(/plugins/hmib/hmib.php: 1653 db_fetch_assoc)(/lib/database.php: 331 db_fetch_assoc_prepared)(/lib/database.php: 372 cacti_debug_backtrace)

2017-05-03 08:19:02 - DBCALL ERROR: SQL Assoc Failed!, Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY description ASC LIMIT 0,30' at line 1 2017-05-03 08:19:02 - DBCALL ERROR: SQL Assoc Failed!, Error:1064, SQL:"SELECT hrs.*, host.hostname, host.description, host.disabled FROM plugin_hmib_hrSystem AS hrs INNER JOIN host ON host.id=hrs.host_id WHERE hrs.host_type= ORDER BY description ASC LIMIT 0,30"

cigamit commented 7 years ago

Going to re-open. Even though you did not import the package, we should still not be throwing errors.

cigamit commented 7 years ago

Oops, reclosing. Just noted you opened a separate issue.