欢迎光临
我们一直在努力

森林火灾监控预警系统,雷达预警系统监控

1、Grafana安装(linux)

下载:https://grafana.com/grafana/download

下载wget https://dl.grafana.com/oss/release/grafana-6.5.1-1.x86_64.rpmsudo yum localinstall grafana-6.5.1-1.x86_64.rpm启动sudo service grafana-server start1访问安装成功后浏览器输入 localhost:3香港vps000 可以访问grafana主页,grafana默认端口3000、默认用户名和密码为admin/admin

2、Prometheus
下载地址:https://prometheus.io/download/

linux下安装tar -zxvf prometheus-2.14.0.linux-amd64.tar.gzmv prometheus-2.14.0.linux-amd64 promethues启动./prometheus &cd …/prometheusvi prometheus.yml————配置编辑—————— – job_name: ‘prometheus’ # metrics_path defaults to ‘/metrics’ # scheme defaults to ‘http’. static_configs: – targets: [‘localhost:9090’]—–prometheus – job_name: ‘linux’ static_configs: – targets: [‘localhost:9100’]—–linux终端的node-ip访问:输入ip+9090进行访问

3、Exporter(node_exporter)

监控的linux终端上进行下载并安装node

# 下载node_exporterwget https://github.com/prometheus/node_exporter/releases/download/v0.17.0/node_exporter-0.17.0.linux-amd64.tar.gz# 解压tar -zvxf node_exporter-0.17.0.linux-amd64.tar.gz# 修改目录名称mv node_exporter-0.17.0.linux-amd64 node_exporter# 启动node_exportercd node_exporter./node_exporter &

4、grafana操作显示

1)访问grafana地址,在设置中选择Data Sources

?

?

?

?

?

?

67561022

赞(0)
【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。