In mmm manual there are the check sections:
7.3.5 check sections
check_period Description: Perform check every 5 seconds Default value:5 Used by: monitor
trap_period Description: Check is considered as failed if it doesn't succeed for at least trap_period seconds. Default value:10 Used by: monitor
timeout Description: Check times out after timeout seconds
Used by: monitor
restart_after Description: Restart checker process after restart_after checks Default value:10000 Used by: monitor
max_backlog Description: Maximum backlog for check rep_backlog. Default value:60 Used by: monitor
I already read the description but still not understand. Can you tell me what is the purpose of this section and the differences between check_period, trap_period and timeout? I want to extend the timeout of master server: For example: if db1 got the error for xxx seconds, then it will be changed to db2 using replication. I want to config the xxx seconds. Can you help me how to config it in mmm_mon.conf file? Thank you so much!