Skip to content

Instantly share code, notes, and snippets.

@ssplatt
Created May 12, 2015 19:03
Show Gist options
  • Save ssplatt/64051fc053eb2b02a459 to your computer and use it in GitHub Desktop.
Save ssplatt/64051fc053eb2b02a459 to your computer and use it in GitHub Desktop.
elasticsearch template for Zenoss ControlCenter
{
"ID": "",
"Name": "Elasticsearch (latest)",
"Description": "Elasticsearch",
"Services": [
{
"Name": "Elasticsearch (latest)",
"Command": "",
"Description": "Elasticsearch",
"Tags": null,
"ImageID": "",
"Instances": {
"Min": 0,
"Max": 0
},
"ChangeOptions": null,
"Launch": "auto",
"HostPolicy": "",
"Hostname": "",
"Privileged": false,
"ConfigFiles": {},
"Context": null,
"Endpoints": null,
"Services": [
{
"Name": "elasticsearch",
"Command": "/usr/share/elasticsearch/bin/elasticsearch -d",
"Description": "",
"Tags": [
"daemon"
],
"ImageID": "elasticsearch:latest",
"Instances": {
"Min": 1,
"Max": 0
},
"ChangeOptions": null,
"Launch": "auto",
"HostPolicy": "",
"Hostname": "",
"Privileged": false,
"ConfigFiles": {
"/etc/elasticsearch/elasticsearch.yml": {
"Filename": "/etc/elasticsearch/elasticsearch.yml",
"Owner": "root",
"Permissions": "",
"Content": "#example config"
}
},
"Context": null,
"Endpoints": [
{
"Name": "elasticsearch",
"Purpose": "export",
"Protocol": "tcp",
"PortNumber": 9220,
"PortTemplate": "",
"VirtualAddress": "",
"Application": "elasticsearch",
"ApplicationTemplate": "",
"AddressConfig": {
"Port": 9220,
"Protocol": "tcp"
},
"VHosts": [
""
]
}
],
"Services": [],
"Tasks": null,
"LogFilters": null,
"Volumes": null,
"LogConfigs": [
{
"Path": "/var/log/elasticsearch/elasticsearch.log",
"Type": "system",
"Filters": null,
"LogTags": null
}
],
"Snapshot": {
"Pause": "",
"Resume": ""
},
"RAMCommitment": 136870912,
"CPUCommitment": 0,
"Runs": null,
"Actions": {
"status": "ps -ef | grep [e]lasticsearch"
},
"HealthChecks": {
"running": {
"Script": "echo $?",
"Interval": 20
}
},
"Prereqs": null,
"MonitoringProfile": {
"MetricConfigs": null,
"GraphConfigs": null,
"ThresholdConfigs": null
},
"MemoryLimit": 0,
"CPUShares": 0,
"PIDFile": ""
}
],
"Tasks": null,
"LogFilters": null,
"Volumes": null,
"LogConfigs": null,
"Snapshot": {
"Pause": "",
"Resume": ""
},
"RAMCommitment": 1073741824,
"CPUCommitment": 2,
"Runs": null,
"Actions": null,
"HealthChecks": null,
"Prereqs": null,
"MonitoringProfile": {
"MetricConfigs": null,
"GraphConfigs": null,
"ThresholdConfigs": null
},
"MemoryLimit": 0,
"CPUShares": 0,
"PIDFile": ""
}
],
"ConfigFiles": null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment