下载blackbox_exporter同样,黑盒监控需要安装exporter,这回下载blackbox_exporter,下载地址:https://prometheus.io/download/blackbox_exporter编辑配置文件viblackbox.ymlmodules:http_post_2xx:prober:httptimeout:5shttp:method:GET启动blackb
下载Mysql_exporter众所周知prometheus监控使用各种exporter,官方的exporter就能支持主流的大多数应用的中间件,同样,监控Mysql需要安装mysql_exporter,下载地址:https://github.com/prometheus/mysqld_exporter/releases编辑配置文件vimy.cnfclienthost=10.10.10.230po
安装prometheus及grafana详见链接安装prometheus(https://blog.51cto.com/riverxyz/3154735)下载jmx_exporter包下载jmx_exporter(https://github.com/prometheus/jmx_exporter)将包上传到springboot应用相关目录编辑启动脚本,增加javaagent选项javajavaa
### 安装前的准备准备如果本机是首次使用docker-compose环境部署,需要在在/deploy/sorts创建以下脚本并执行vi pre_install.sh```bashvi pre_install.sh#!/bin/bash###关闭selinuxsed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/configset
由于我的k8s是采用二进制安装的,且prometheus-operator(prometheus-stack)没有自带k8s本身组件的job:kube-apiserver、kube-controller-manager、kubelet、kube-schedular、kube-proxy的,也许有,但是我学艺不精,可能没有找到,在这里我自己配置了对这些组件的监控监控api-server1、编辑配置文
1、使用helm安装prometheus(前面文章有)2、配置告警规则kubectl-nkube-systemeditconfigmapsprom-prometheus-server...recording_rules.yml:groups:-name:test-rulerules:-alert:KubernetesNodeReadyexpr:kube_node_status_condition{
1、安装prometheus,为了安装方便,我这里直接使用helm安装1)增加prometheus官方chart仓库helmrepoaddprometheus-communityhttps://prometheus-community.github.io/helm-charts2)helm安装prometheushelminstallpromprometheus-community/prometh
zabbix监控web站点
zabbix邮件告警
zabbix3.0搭建
Trigger函数1、abschange 参数:直接忽略后边的参数 支持值类型:float、int、str、text、log 描述:返回最近获取到的值与之前值的差值的绝对值。对于字符串类型,0表示值相等,1表示值不同 例如:{www.zab
AlertScriptsPath 默认值:/usr/local/share/zabbix/alertscripts 说明:告警脚本目录 AllowRoot 默认值:0 说明:是否允许使用root启动,0:不允许,1:允许,默认情况下她会使用zabbix用户来启动zabbix进程,不推荐使用root CacheSize 取值范围: 128K-8G 默认值:8M 说明:配置缓存,用
一、 安装与配置zabbix(除了支持nagios的功能外还能自动发现新加入的服务器,支持画图,需要存储使用mysql)1、安装zabbixyum install -y epel-release安装rpm包的lamp环境 yum install -y httpd mysql mysql-libs php php-mysql mysql-server php-bcmath ph
一、服务端安装(主要监控磁盘或系统负载,可以自定义脚本,不能查看历史数据)1、配置好扩展源并安装yum install -y httpd nagios nagios-plugins nagios-plugins-all nrpe nagios-plugins-nrpe2、设置登录nagios后台的用户和密码:htpasswd -c /etc/nagios/passwd nagiosadmin3、编
一、cacti安装(主要监控网络设备,具有画图功能,需要存储使用mysql,本身没有短信告警之类的功能)1、下载扩展yum源 www.lishiming.net/data/p_w_upload/forum/epel-release-6-8_64.noarch.rpm#我已经下载过直接从其他机器拷贝过来2、安装lamp环境yum install -y httpd ph
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号