Adding host-alive checks for the agent

Change-Id: I8657695ef5c1770adb58c991e5e6de837626c19b
This commit is contained in:
gary-hessler 2014-09-23 17:23:13 -06:00
parent 22e0a1e48e
commit 4293d23b36
6 changed files with 113 additions and 0 deletions

View File

@ -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": {

View File

@ -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": {

View File

@ -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": {
},

View File

@ -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": {

View File

@ -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": {
},

View File

@ -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": {