sysom/script/server/monitor
huangtuq cfad4441a7 change --data-raw to --data
低版本curl-7.29不支持--data-raw选项

Signed-off-by: huangtuq <tuquanhuang@linux.alibaba.com>
2022-04-01 15:47:06 +08:00
..
Readme.txt fix deploy and initial scripts 2021-12-29 22:58:15 +08:00
grafana_api_set.sh change --data-raw to --data 2022-04-01 15:47:06 +08:00
init.sh fix deploy and initial scripts 2021-12-29 22:58:15 +08:00
local_copy_pkg.sh fix deploy and initial scripts 2021-12-29 22:58:15 +08:00
monitor_server_clear.sh fix deploy and initial scripts 2021-12-29 22:58:15 +08:00
monitor_server_deploy.sh add Restart=always in monitor services 2022-03-29 11:53:15 +08:00
netinfo_dashboard.json fix deploy and initial scripts 2021-12-29 22:58:15 +08:00
netinfo_dashboard_new.json fix deploy and initial scripts 2021-12-29 22:58:15 +08:00
prometheus_get_node.py fix deploy and initial scripts 2021-12-29 22:58:15 +08:00
sysom-dashboard.json fix deploy and initial scripts 2021-12-29 22:58:15 +08:00
test.py fix deploy and initial scripts 2021-12-29 22:58:15 +08:00

Readme.txt

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

本目录脚本主要用于一键部署prometheus + grafana监控
主要有以下步骤:
1、从grafana官网下载grafana安装包并安装启动
2、从prometheus官网下载prometheus的安装包并安装启动设置systemd 服务
3、从prometheus官网下载node_exporter安装包
4、配置grafana的prometheus数据库配置dashboard


直接在sysom server机器执行bash -x monitor_server_deploy.sh脚本即可。

另外,
1、如果受外网访问限制你也可以预先下载好grafana,prometheus,node_exporter等安装包
并把安装包,放置到/usr/local/sysom/monitor目录下。
2、sysom项目当前采用grafana-8.2.5-1.x86_64.rpmprometheus-2.29.1.linux-amd64.tar.gznode_exporter-1.2.2.linux-amd64.tar.gz
等软件包版本如果你需要使用其它软件包版本进行安装你需要修改一下monitor_server_deploy.sh中的版本号信息。