17 Commits

Author SHA1 Message Date
Johan Wikman
df7b4829d4 server/modules/monitor LOGIFs and skygw_write_logs removed.
All LOGIFs and skygw_log_writes replaced with MXS_[ERROR|
WARNING|NOTICE|INFO|DEBUG] macros.
2015-11-17 13:09:21 +02:00
Markus Makela
5d4fe65b19 Fixed some misaligned brackets. 2015-11-16 21:00:22 +02:00
Markus Makela
797d9dc03d Ndbclustermon formatting changes
Fixed indentation, bracket alignment and other minor things.
2015-11-16 20:56:39 +02:00
Markus Makela
5efd564573 Fix to MXS-288: https://mariadb.atlassian.net/browse/MXS-288 Added MySQL 5.7 authentication
The change to the mysql.user table in MySQL 5.7 caused MaxScale to stop
working with it. This commit adds functionality that checks which version of
the user data query should be made. It also moves common code related to
server version strings to server.c
2015-11-12 15:24:27 +02:00
Markus Makela
466224b316 Moved common monitor code to externcmd.c
File existence and permission checks are now done in externcmd_can_execute
2015-11-11 21:19:07 +02:00
Johan Wikman
834a88aeda Log variables moved to log_manager.h
The log manager variables lm_enabled_log_files_bitmask, log_ses_count
and tls_log_info that earlier were declared separately in every
c-file are now declared in the log_manager.h header.
2015-11-04 14:26:53 +02:00
Markus Makela
91bb3b288c Moved common monitor code to monitor_common.c 2015-10-26 17:31:19 +02:00
Markus Makela
5c7a30e9fe Added more error logging. 2015-06-28 10:43:06 +03:00
Markus Makela
113fb4c33b Fix to MXS-209: https://mariadb.atlassian.net/browse/MXS-209
Added missing checks for proper column count on query result.
2015-06-28 08:43:05 +03:00
Markus Makela
3fb1213dee Added more error logging when monitor scripts fail. 2015-06-10 06:09:42 +03:00
Markus Makela
9c461450e2 Fixes to Coverity defects. 2015-05-22 05:36:58 +03:00
Markus Makela
ac55f7c6fe Merge branch 'MXS-121' into develop 2015-05-21 17:53:01 +03:00
Markus Makela
91bc7b2792 Added missing spinlock calls to all monitors. 2015-05-21 11:41:11 +03:00
Markus Makela
7dbc021149 Added more logging when a monitor script cannot be executed. 2015-05-20 16:16:49 +03:00
Markus Makela
c4f51c0b8c Fixed a possible bug with multiple monitors monitoring the same servers. 2015-05-19 15:42:11 +03:00
Markus Makela
b94f494d80 Added filtering of monitor events. 2015-05-14 12:05:58 +03:00
Markus Makela
1aba13177b Added ndbclustermon and mmmon headers. 2015-05-11 20:35:54 +03:00