diff options
author | Yang Yu <Gabriel.yuyang@huawei.com> | 2018-05-02 16:52:11 +0800 |
---|---|---|
committer | Yang Yu <Gabriel.yuyang@huawei.com> | 2018-05-03 15:59:28 +0800 |
commit | cb67313c1e14b6eca057bdfc7722bc11506b7a2a (patch) | |
tree | 226b177ff6e8a227368c2d765174ba9d4f875829 /monitor/config/prometheus.yaml | |
parent | 742fc9ab94ede1187c9146e5336e28fe84d510c5 (diff) |
Restructure monitoring scripts
Restructure the monitoring scripts and modify the scripts to remove the
redundance
Change-Id: Ib4a5d7bea2dc455ec03ad61780b6caf06831daa8
Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
Diffstat (limited to 'monitor/config/prometheus.yaml')
-rw-r--r-- | monitor/config/prometheus.yaml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/monitor/config/prometheus.yaml b/monitor/config/prometheus.yaml index 3736d8e4..b218711d 100644 --- a/monitor/config/prometheus.yaml +++ b/monitor/config/prometheus.yaml @@ -25,7 +25,7 @@ scrape_configs: scrape_interval: 5s static_configs: - - targets: ['192.168.121.2:9090'] + - targets: ['192.168.114.2:9090'] - job_name: 'cadvisor' @@ -33,7 +33,7 @@ scrape_configs: scrape_interval: 5s static_configs: - - targets: ['192.168.121.2:8080','10.1.0.50:8080','10.1.0.51:8080'] + - targets: ['192.168.114.2:8080','10.1.0.50:8080','10.1.0.51:8080','10.1.0.52:8080','10.1.0.53:8080','10.1.0.54:8080'] - job_name: 'collectd' @@ -41,7 +41,7 @@ scrape_configs: scrape_interval: 5s static_configs: - - targets: ['192.168.121.2:9103'] + - targets: ['192.168.114.2:9103'] - job_name: 'node' @@ -49,4 +49,4 @@ scrape_configs: scrape_interval: 5s static_configs: - - targets: ['192.168.121.2:9100'] + - targets: ['192.168.114.2:9100'] |