I am trying to check the numeric value of:
show status like 'Threads_connected';
that is returned from a MySQL database in a MySQL sensor. Can you provide some examples of syntax that works in the "SQL-Expression" form? As soo as i enable the sensor, it goes into error state and doesnt provide feedback as to what is wrong.
My query if done on a command line:
mysql> show status like 'Threads_connected';
+-------------------+-------+ | Variable_name | Value | +-------------------+-------+ | Threads_connected | 372 | +-------------------+-------+ 1 row in set (0.00 sec)
Thanks,
-chuck
Add comment