promethus
文章平均质量分 52
水巷石子
大道至简
展开
-
外部访问真空机中虚拟机9090端口
可以使用nginx实现完整的nginx配置#user nobody;worker_processes 1;#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info;#pid logs/nginx.pid;events { worker_connections 1024;}stream{ upstream as_原创 2021-06-24 10:30:19 · 1136 阅读 · 1 评论 -
Prometheus(普罗米修斯)监控系统03安装和使用
安装首先上传到linux,然后解压解压tar xf prometheus-2.5.0.linux-amd64.tar.gz -C /usr/local/启动命令//先切到运行目录cd /usr/local/prometheus-2.5.0.linux-amd64./prometheus --config.file="/usr/local/prometheus-2.5.0.linux-amd64/prometheus.yml" &其中末尾的&,是后台运行的意思,如果不加,原创 2021-06-23 18:29:42 · 344 阅读 · 1 评论 -
真空机搭建原理
在ip地址为:192.168.1.27的机器上,安装虚拟机,供其他机器使用。下图是我远程桌面连接192.168.1.27机器。1.27机器很干净。只有虚拟机、启动脚本、nginx停止脚本。win_start.bat文件cd C:\Users\tingyun\Desktop\nginx-1.20.0\start nginx.execd C:\Users\tingyun\Desktop\nginx-1.20.0 -23start nginx.execd C:\Users\tingyu原创 2021-06-23 15:15:47 · 140 阅读 · 1 评论 -
Promethus(普罗米修斯)监控系统02概述
一、概述Prometheus(由go语言(golang)开发)是一套开源的监控&报警&时间序列数据库的组合。适合监控docker容器。因为kubernetes(俗称k8s)的流行带动了prometheus的发展。文档地址:https://prometheus.io/docs/introduction/overview/二、时间序列数据1、什么是序列数据时间序列数据(TimeSeries Data) : 按照时间顺序记录系统、设备状态变化的数据被称为时序数据。应用的场景很多, 如:原创 2021-06-23 14:48:08 · 389 阅读 · 0 评论 -
Promethus(普罗米修斯)监控系统01学习目标
Promethus(普罗米修斯)监控系统学习目标能够安装prometheus服务器能够通过安装node_exporter监控远程linux能够通过安装mysqld_exporter监控远程mysql数据库能够安装grafana能够在grafana添加prometheus数据源能够在grafana添加监控cpu负载的图形能够在grafana图形显示mysql监控数据能够通过grafana+onealert实现报警任务背景某某某公司是一家电商网站,由于公司的业务快速发展,公司要求对原创 2021-06-22 10:25:10 · 254 阅读 · 0 评论