Hi all,
I've got in a host that I monitor with latest Zabbix the following among others:
# Enable the slow query log to see queries with especially long duration
slow_query_log_file = /var/log/mysql/mariadb-slow.log
long_query_time = 10
log_slow_rate_limit = 1000
log_slow_verbosity = query_plan
log-queries-not-using-indexes
The mariadb-slow.log has no slow queries on it but on Zabbix I do get a warning about "MySQL: Server has slow queries (over 3 for 5m)".
My question is where to go to edit that trigger in order to increase the long_query_time or whatever is related with it to not have that warning unless there is actually something written under mariadb-slow.log
Thanks in advance
I've got in a host that I monitor with latest Zabbix the following among others:
# Enable the slow query log to see queries with especially long duration
slow_query_log_file = /var/log/mysql/mariadb-slow.log
long_query_time = 10
log_slow_rate_limit = 1000
log_slow_verbosity = query_plan
log-queries-not-using-indexes
The mariadb-slow.log has no slow queries on it but on Zabbix I do get a warning about "MySQL: Server has slow queries (over 3 for 5m)".
My question is where to go to edit that trigger in order to increase the long_query_time or whatever is related with it to not have that warning unless there is actually something written under mariadb-slow.log
Thanks in advance
Comment