diff --git a/roles/Devstack.json b/roles/Devstack.json index 77fe4d4..20097a9 100644 --- a/roles/Devstack.json +++ b/roles/Devstack.json @@ -5,6 +5,24 @@ "default_attributes": { "apt": { "periodic_update_min_delay": 60 + }, + "monasca_agent": { + "plugin": { + "host_alive": { + "init_config": { + "ssh_port": 22, + "ssh_timeout": 0.5, + "ping_timeout": 1 + }, + "instances": { + "mini-mon": { + "name": "mini-mon", + "host_name": "192.168.10.4", + "alive_test": "ssh" + } + } + } + } } }, "override_attributes": { diff --git a/roles/Mini-Mon.json b/roles/Mini-Mon.json index 825eda9..596d531 100644 --- a/roles/Mini-Mon.json +++ b/roles/Mini-Mon.json @@ -6,6 +6,24 @@ "apt": { "periodic_update_min_delay": 60 }, + "monasca_agent": { + "plugin": { + "host_alive": { + "init_config": { + "ssh_port": 22, + "ssh_timeout": 0.5, + "ping_timeout": 1 + }, + "instances": { + "devstack": { + "name": "devstack", + "host_name": "192.168.10.5", + "alive_test": "ssh" + } + } + } + } + }, "influxdb": { "config": { "logging": { diff --git a/split/roles/Api.json b/split/roles/Api.json index 2aa6ea0..d4f1dfd 100644 --- a/split/roles/Api.json +++ b/split/roles/Api.json @@ -3,6 +3,29 @@ "description": "Sets up the Monitoring Api", "json_class": "Chef::Role", "default_attributes": { + "monasca_agent": { + "plugin": { + "host_alive": { + "init_config": { + "ssh_port": 22, + "ssh_timeout": 0.5, + "ping_timeout": 1 + }, + "instances": { + "mysql": { + "name": "mysql", + "host_name": "192.168.10.6", + "alive_test": "ssh" + }, + "kafka": { + "name": "kafka", + "host_name": "192.168.10.10", + "alive_test": "ssh" + } + } + } + } + } }, "override_attributes": { }, diff --git a/split/roles/Devstack.json b/split/roles/Devstack.json index 77fe4d4..4372006 100644 --- a/split/roles/Devstack.json +++ b/split/roles/Devstack.json @@ -5,6 +5,24 @@ "default_attributes": { "apt": { "periodic_update_min_delay": 60 + }, + "monasca_agent": { + "plugin": { + "host_alive": { + "init_config": { + "ssh_port": 22, + "ssh_timeout": 0.5, + "ping_timeout": 1 + }, + "instances": { + "thresh": { + "name": "thresh", + "host_name": "192.168.10.14", + "alive_test": "ssh" + } + } + } + } } }, "override_attributes": { diff --git a/split/roles/Persister.json b/split/roles/Persister.json index 9879108..ef97e3c 100644 --- a/split/roles/Persister.json +++ b/split/roles/Persister.json @@ -3,6 +3,24 @@ "description": "Sets up Persister", "json_class": "Chef::Role", "default_attributes": { + "monasca_agent": { + "plugin": { + "host_alive": { + "init_config": { + "ssh_port": 22, + "ssh_timeout": 0.5, + "ping_timeout": 1 + }, + "instances": { + "vertica": { + "name": "vertica", + "host_name": "192.168.10.8", + "alive_test": "ssh" + } + } + } + } + } }, "override_attributes": { }, diff --git a/split/roles/Thresh.json b/split/roles/Thresh.json index e3ec77c..2187620 100644 --- a/split/roles/Thresh.json +++ b/split/roles/Thresh.json @@ -21,6 +21,24 @@ "192.168.10.10" ] } + }, + "monasca_agent": { + "plugin": { + "host_alive": { + "init_config": { + "ssh_port": 22, + "ssh_timeout": 0.5, + "ping_timeout": 1 + }, + "instances": { + "devstack": { + "name": "devstack", + "host_name": "192.168.10.5", + "alive_test": "ssh" + } + } + } + } } }, "override_attributes": {