{"action":"created","issue":{"url":"https://api.github.com/repos/tanji/replication-manager/issues/98","repository_url":"https://api.github.com/repos/tanji/replication-manager","labels_url":"https://api.github.com/repos/tanji/replication-manager/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/tanji/replication-manager/issues/98/comments","events_url":"https://api.github.com/repos/tanji/replication-manager/issues/98/events","html_url":"https://github.com/tanji/replication-manager/issues/98","id":182175557,"number":98,"title":"Automatic failover does not work even when running in interactive=false ","user":{"login":"vipul-nextev","id":21321090,"avatar_url":"https://avatars.githubusercontent.com/u/21321090?v=3","gravatar_id":"","url":"https://api.github.com/users/vipul-nextev","html_url":"https://github.com/vipul-nextev","followers_url":"https://api.github.com/users/vipul-nextev/followers","following_url":"https://api.github.com/users/vipul-nextev/following{/other_user}","gists_url":"https://api.github.com/users/vipul-nextev/gists{/gist_id}","starred_url":"https://api.github.com/users/vipul-nextev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vipul-nextev/subscriptions","organizations_url":"https://api.github.com/users/vipul-nextev/orgs","repos_url":"https://api.github.com/users/vipul-nextev/repos","events_url":"https://api.github.com/users/vipul-nextev/events{/privacy}","received_events_url":"https://api.github.com/users/vipul-nextev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-11T05:14:44Z","updated_at":"2016-10-11T09:25:42Z","closed_at":null,"body":"I am trying to setup automatic failover via maxscale.conf , but it does not work . Here is the input from maxscale.conf file \r\n\r\n[db_rw_router Monitor]\r\ntype=monitor\r\nmodule=mysqlmon\r\nservers=db1,db2,db3,db4\r\nuser=maxscale_user\r\npasswd=xxxxx\r\ndetect_replication_lag=true\r\ndetect_stale_master=true\r\nmonitor_interval=500\r\nscript=/usr/bin/replication-manager  failover  --interactive=false\r\nevents=master_down\r\n---\r\nWhen I turn off master . I see the output from list servers\r\n# maxadmin -pxxxx list servers\r\nServers.\r\n-------------------+-----------------+-------+-------------+--------------------\r\nServer             | Address         | Port  | Connections | Status\r\n-------------------+-----------------+-------+-------------+--------------------\r\ndb1                | 10.118.130.52   |  3306 |           0 | Down\r\ndb2                | 10.118.130.51   |  3306 |           0 | Slave, Running\r\ndb3                | 10.118.134.87   |  3306 |           0 | Down\r\ndb4                | 10.118.134.84   |  3306 |           0 | Slave, Running\r\n-------------------+-----------------+-------+-------------+--------------------\r\n\r\nCan you please help .. Maybe I am not doing something right \r\n"},"comment":{"url":"https://api.github.com/repos/tanji/replication-manager/issues/comments/252858598","html_url":"https://github.com/tanji/replication-manager/issues/98#issuecomment-252858598","issue_url":"https://api.github.com/repos/tanji/replication-manager/issues/98","id":252858598,"user":{"login":"tanji","id":971260,"avatar_url":"https://avatars.githubusercontent.com/u/971260?v=3","gravatar_id":"","url":"https://api.github.com/users/tanji","html_url":"https://github.com/tanji","followers_url":"https://api.github.com/users/tanji/followers","following_url":"https://api.github.com/users/tanji/following{/other_user}","gists_url":"https://api.github.com/users/tanji/gists{/gist_id}","starred_url":"https://api.github.com/users/tanji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanji/subscriptions","organizations_url":"https://api.github.com/users/tanji/orgs","repos_url":"https://api.github.com/users/tanji/repos","events_url":"https://api.github.com/users/tanji/events{/privacy}","received_events_url":"https://api.github.com/users/tanji/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T09:25:42Z","updated_at":"2016-10-11T09:25:42Z","body":"Please enable logs: --logfile=/tmp/mrm.log and attach to this issue"}}
{"actor":{"display_login":"tanji"}}