Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ElasticSearch监控服务搭建 #26

Open
margaretmm opened this issue Nov 16, 2018 · 0 comments
Open

ElasticSearch监控服务搭建 #26

margaretmm opened this issue Nov 16, 2018 · 0 comments

Comments

@margaretmm
Copy link
Owner

ElasticSearch监控服务搭建

安装部署测试ES 集群(单点也行)
了解被监控ES集群IP
 部署运行脚本(包括调用ES API 收集ES状态信息, 还有把数据传输给 测试ES保存)
https://github.com/trevorndodds/elasticsearch-metrics/blob/master/Grafana/elasticsearch2elastic.py

elasticServer = os.environ.get('ES_METRICS_CLUSTER_URL', 'http://server1:9200')//被监控ES IP
interval = int(os.environ.get('ES_METRICS_INTERVAL', '60'))

ElasticSearch Cluster to Send Metrics

elasticIndex = os.environ.get('ES_METRICS_INDEX_NAME', 'elasticsearch_metrics')
elasticMonitoringCluster = os.environ.get('ES_METRICS_MONITORING_CLUSTER_URL', 'http://server2:9200')//测试ES用于存储监控数据

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant