prometheus01-Prometheus安装
发表于:2025-02-02 作者:千家信息网编辑
千家信息网最后更新 2025年02月02日,下载prometheushttps://prometheus.io/download/tar xvfz prometheus-*.tar.gzcd prometheus-*mv prometheus-
千家信息网最后更新 2025年02月02日prometheus01-Prometheus安装
下载prometheushttps://prometheus.io/download/tar xvfz prometheus-*.tar.gzcd prometheus-*mv prometheus-* /usr/local/prometheus
添加开机自启动vim /usr/lib/systemd/system/prometheus[Unit]Description=https://prometheus.io [Service]Restart=on-failureExecStart=/usr/local/prometheus/prometheus --config.file=/usr/local/prometheus/prometheus.yml [Install]WantedBy=multi-user.targetchmod +x /usr/lib/systemd/system/prometheus
systemctl start prometheussystemctl enable prometheus
浏览:
http://ip:9090
出现问题:时间不一致(如下类似)
Warning! Detected 457.83 seconds time difference between your browser and the server. Prometheus relies on accurate time and time drift might cause unexpected query results.
解决办法:
我自己吧服务器时间同步至 time1.aliyun.com
ntpdate time1.aliyun.com
然后把电脑的时间也同步至time1.aliyun.com 即可解决
l global:全局配置
l alerting:告警配置
l rule_files:告警规则
l scrape_configs:配置数据源,称为target,每个target用job_name命名。又分为静态配置和服务发现
配置
时间
同步
服务
一致
全局
办法
数据
数据源
服务器
电脑
规则
问题
静态
浏览
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
阿里轻量云服务器怎么使用教程
网络安全专业武汉大学
惠普g7服务器硬盘无法读取
大专网络技术学费
xml 存数据库
医院网络安全日常运行维护
关于网络安全的图片手抄报
华为网络技术专用图标
潼南区企业网络技术服务定制价格
所有学校都有自己的服务器吗
服务器电源改6pin
自学苹果手机软件开发
java数据库技术分享
wow服务器显示
服务器硬盘发热太厉害
自己搭建游戏服务器游戏参数
数据库系统是在文件
郑州vc软件开发
小沈阳视频软件开发
网零基础学网络安全
tp3.2 数据库删除
武汉双线服务器托管
怎么在自己的电脑上找服务器
上海手机棋牌软件开发
在网上怎么看网络安全法
互联网科技大佬马云
数据库中uuid怎么添加
软件开发工程师工作场所
黄色樱花岛服务器网站
网络安全产业研究报告