418ccf861d 
					 
					
						
						
							
							Format routers and monitors  
						
						
						
						
					 
					
						2019-05-10 10:31:12 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						60c1b15d60 
					 
					
						
						
							
							MXS-2441: Add slave support to galeramon  
						
						... 
						
						
						
						Slaves that replicate from galeramon now get the Slave status if they are
replicating from a joined Galera node. 
						
						
					 
					
						2019-04-23 11:57:10 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a471417150 
					 
					
						
						
							
							MXS-1922: Show GTIDs for Galera nodes  
						
						... 
						
						
						
						Galera generates GTIDs even if they are unique across all nodes and it
makes sense to display this. 
						
						
					 
					
						2019-04-18 12:04:56 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6b14479b6c 
					 
					
						
						
							
							MXS-2271 Rename MXS_MONITORED_SERVER to MonitorServer  
						
						
						
						
					 
					
						2019-03-19 13:32:38 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						14b4fa632a 
					 
					
						
						
							
							MXS-2271 Move Monitor inside maxscale-namespace  
						
						... 
						
						
						
						Rearranged monitor.cc by namespace. 
						
						
					 
					
						2019-03-15 12:57:35 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						10dc0f53e0 
					 
					
						
						
							
							MXS-2177 Move check_monitor_permissions() into class  
						
						
						
						
					 
					
						2019-01-25 13:46:01 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f6cec41dd8 
					 
					
						
						
							
							MXS-2271 Monitor config name and instance name are  parameters of createInstance()  
						
						... 
						
						
						
						Also adds/moves some comments from previous entrypoints. Name and module
are now constant fields. 
						
						
					 
					
						2019-01-24 09:49:53 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9ac8bf93bb 
					 
					
						
						
							
							MXS-2271 Rename monitor-related classes  
						
						... 
						
						
						
						MXS_MONITOR->Monitor
MonitorInstance->MonitorWorker
MonitorInstanceSimple->MonitorWorkerSimple 
						
						
					 
					
						2019-01-22 15:59:17 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						dadb6a1a79 
					 
					
						
						
							
							MXS-2271 All monitors inherit from MXS_MONITOR  
						
						... 
						
						
						
						Most of the API entrypoints are replaced with virtual functions. 
						
						
					 
					
						2019-01-22 15:59:17 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8a8ac26e32 
					 
					
						
						
							
							Cleanup monitor.hh  
						
						... 
						
						
						
						Also removes an unused field from several monitors. 
						
						
					 
					
						2018-12-11 10:41:56 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c447e5cf15 
					 
					
						
						
							
							Uncrustify maxscale  
						
						... 
						
						
						
						See script directory for method. The script to run in the top level
MaxScale directory is called maxscale-uncrustify.sh, which uses
another script, list-src, from the same directory (so you need to set
your PATH). The uncrustify version was 0.66. 
						
						
					 
					
						2018-09-09 22:26:19 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						24ab3c099c 
					 
					
						
						
							
							Move top of the file  "#pragma once" to after the following comment (swap them). If the comment is a BPL update it to the latest one  
						
						
						
						
					 
					
						2018-08-21 13:13:15 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f14380243b 
					 
					
						
						
							
							Rename cppdefs.hh to ccdefs.hh  
						
						... 
						
						
						
						For obvious reasons; the c++ suffix is .cc and not .cpp 
						
						
					 
					
						2018-08-10 07:50:18 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						77a1417479 
					 
					
						
						
							
							Replace TR1 headers with standard headers  
						
						... 
						
						
						
						Now that the C++11 standard is the default one, we can remove the TR1
headers and classes. 
						
						
					 
					
						2018-07-11 14:08:46 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cc0299aee6 
					 
					
						
						
							
							Update change date of 2.3  
						
						
						
						
					 
					
						2018-06-25 10:07:52 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9d961ece3a 
					 
					
						
						
							
							Clear galeramon server info in pre_tick  
						
						... 
						
						
						
						The server information in galeramon is gathered every monitoring
interval. To prevent stale information from being used, the server
information needs to be cleared at the start of each monitoring interval. 
						
						
					 
					
						2018-06-18 14:25:05 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c798a4ae36 
					 
					
						
						
							
							Remove use of HASHTABLE in galeramon  
						
						... 
						
						
						
						Replaced the HASHTABLE in galeramon with an std::unordered_map. This
simplifies the code by a great amount and makes it more readable. Removed
the extraneous functions that mostly logged debug information and
simplified the logic by removing redundant checks. 
						
						
					 
					
						2018-06-11 10:22:23 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8afa8c2c5a 
					 
					
						
						
							
							MXS-1775 Add MonitorInstanceSimple class  
						
						... 
						
						
						
						MonitorInstanceSimple is intended for simple monitors that
probe servers in a straightforward fashion. More complex monitors
can be derived directly from MonitorInstance. 
						
						
					 
					
						2018-06-07 15:13:26 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9b7e37e112 
					 
					
						
						
							
							MXS-1775 Change MonitorInstance::configure() prototype  
						
						... 
						
						
						
						Now return boolean, to allow derived class to signal a failure
to configure. 
						
						
					 
					
						2018-06-01 13:48:15 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0783af88ed 
					 
					
						
						
							
							MXS-1775 Make general cleanup  
						
						... 
						
						
						
						Document and rearrrange so that things look nice and tidy. 
						
						
					 
					
						2018-06-01 13:48:15 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b439857a84 
					 
					
						
						
							
							MXS-1775 Remove destroy()  
						
						... 
						
						
						
						Now the instance is deleted simply by deleting it. 
						
						
					 
					
						2018-06-01 13:48:15 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						68505a0bcb 
					 
					
						
						
							
							MXS-1775 Consistently name the argument to update_server_status()  
						
						
						
						
					 
					
						2018-06-01 13:48:15 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cb1da5538c 
					 
					
						
						
							
							MXS-1775 Monitoring function named consistently  
						
						... 
						
						
						
						The main monitoring function now has the same name in all
monitors (except MariaDBMonitor) and is a member function. 
						
						
					 
					
						2018-06-01 13:48:15 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						650a739c92 
					 
					
						
						
							
							MXS-1775 Move monitor loop to MonitorInstance  
						
						
						
						
					 
					
						2018-05-18 16:00:05 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						db30ea96f2 
					 
					
						
						
							
							MXS-1775 m_master is now a member variable of MonitorInstance  
						
						
						
						
					 
					
						2018-05-18 16:00:05 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2396b555f8 
					 
					
						
						
							
							MXS-1775 Monitor loop and monitoring separated  
						
						... 
						
						
						
						In preparation for moving the monitor loop to MonitorInstance. 
						
						
					 
					
						2018-05-18 16:00:05 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6fff5a4f23 
					 
					
						
						
							
							MXS-1775 Preparatory work for moving main loop to MonitorInstance  
						
						
						
						
					 
					
						2018-05-18 16:00:05 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c7eb0a9958 
					 
					
						
						
							
							MXS-1775 Thread starting is now handled by MonitorInstance  
						
						
						
						
					 
					
						2018-05-18 16:00:05 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						adb7f156d6 
					 
					
						
						
							
							MXS-1775 Introduce MonitorInstance::has_sufficient_permissions()  
						
						... 
						
						
						
						With this function in place, it is now possible to move the thread
starting to MonitorInstance. 
						
						
					 
					
						2018-05-18 16:00:05 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3606a5ed1c 
					 
					
						
						
							
							MXS-1775 Introduce MonitorInstance::configure() function  
						
						... 
						
						
						
						The configuring of the monitor instance is now performed in a
separate function. That is in preparation for the moving of the
start function to maxscale::MonitorInstance. 
						
						
					 
					
						2018-05-18 16:00:05 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bcb7d09a15 
					 
					
						
						
							
							MXS-1775 Monitor stopping moved to maxscale::MonitorInstance  
						
						
						
						
					 
					
						2018-05-18 16:00:05 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1304fd6147 
					 
					
						
						
							
							MXS-1775 Move thread main function to maxscale::MonitorInstance  
						
						
						
						
					 
					
						2018-05-18 16:00:05 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3c277f4e5e 
					 
					
						
						
							
							MXS-1775 Introduce maxscale::MonitorInstance  
						
						... 
						
						
						
						- All monitors (but MariaDBMon for the time being) inherit
  from that.
- All common member variables moved to that class. Still
  manipulated in derived classes.
In subsequent commits common functionality will be moved to
that class. 
						
						
					 
					
						2018-05-18 16:00:05 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						787a0b50ef 
					 
					
						
						
							
							MXS-1775 Cleanup monitor class headers  
						
						... 
						
						
						
						- All classes now declared in separate header file
- Header files have .hh-suffix 
						
						
					 
					
						2018-05-18 16:00:05 +03:00