Cacti / plugin_hmib

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

SQL Backtraces at line 1 #32

Closed jdcoats closed 1 year ago

jdcoats commented 1 year ago
2023/06/26 10:36:43 - CMDPHP SQL Backtrace: (/plugins/hmib/poller_graphs.php[105]:add_graphs(), /plugins/hmib/poller_graphs.php[151]:add_host_based_graphs(), /plugins/hmib/poller_graphs.php[207]:add_host_dq_graphs(), /plugins/hmib/poller_graphs.php[239]:db_fetch_assoc(), /lib/database.php[679]:db_fetch_assoc_prepared(), /lib/database.php[699]:db_execute_prepared())
2023/06/26 10:36:43 - CMDPHP ERROR: A DB Row Failed!, Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '?' at line 1
2023/06/26 10:36:43 - CMDPHP SQL Backtrace: (/plugins/hmib/poller_graphs.php[105]:add_graphs(), /plugins/hmib/poller_graphs.php[151]:add_host_based_graphs(), /plugins/hmib/poller_graphs.php[203]:add_host_dq_graphs(), /plugins/hmib/poller_graphs.php[239]:db_fetch_assoc(), /lib/database.php[679]:db_fetch_assoc_prepared(), /lib/database.php[699]:db_execute_prepared())
2023/06/26 10:36:43 - CMDPHP ERROR: A DB Row Failed!, Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '?' at line 1

2023/06/26 10:31:08 - CMDPHP SQL Backtrace: (/plugins/hmib/poller_hmib.php[139]:checkHost(), /plugins/hmib/poller_hmib.php[576]:collect_hrSWRun(), /plugins/hmib/poller_hmib.php[966]:collectHostIndexedOid(), /plugins/hmib/poller_hmib.php[956]:db_execute(), /lib/database.php[357]:db_execute_prepared())
2023/06/26 10:31:08 - CMDPHP ERROR: A DB Exec Failed!, Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'Restricted -Command $Res = 0; $Infs, "", "", '-ExecutionPolicy Restricted -C...' at line 1
2023/06/26 10:31:06 - CMDPHP SQL Backtrace: (/plugins/hmib/poller_hmib.php[139]:checkHost(), /plugins/hmib/poller_hmib.php[576]:collect_hrSWRun(), /plugins/hmib/poller_hmib.php[966]:collectHostIndexedOid(), /plugins/hmib/poller_hmib.php[956]:db_execute(), /lib/database.php[357]:db_execute_prepared())
2023/06/26 10:31:06 - CMDPHP ERROR: A DB Exec Failed!, Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '"-ExecutionPolicy Restricted -Command $Res = 0; $Infs, "", "", '-ExecutionPo...' at line 1
2023/06/26 10:30:42 - CMDPHP SQL Backtrace: (/plugins/hmib/poller_hmib.php[139]:checkHost(), /plugins/hmib/poller_hmib.php[576]:collect_hrSWRun(), /plugins/hmib/poller_hmib.php[966]:collectHostIndexedOid(), /plugins/hmib/poller_hmib.php[956]:db_execute(), /lib/database.php[357]:db_execute_prepared())
2023/06/26 10:30:42 - CMDPHP ERROR: A DB Exec Failed!, Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '"-ExecutionPolicy Restricted -Command $res, "", "", '-ExecutionPolicy Restric...' at line 1
jdcoats commented 1 year ago

RTFM and follow instruction

TheWitness commented 1 year ago

What was the issue?

jdcoats commented 1 year ago

Didn’t have the updated packages installed