随笔分类 - 监控zabbix-Prometheus
摘要:【互联网项目巡检播报】2020-07-21 14:24:11 一、服务器资源巡检情况: 生产-Service01: CPU: 0.83%,内存: 18.2%,TCP连接数: 182,系统盘: 7.2,数据盘: 2.28% 生产-Service02: CPU: 0.82%,内存: 17.4%,TCP连
阅读全文
摘要:1.pip离线包缺失 Command "/data/bkce/.envs/bkdata-dataapi/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-p2tIJ_/MySQL-python/setup.p
阅读全文
摘要:1.http://192.168.1.144:9093/#/alerts 显示的告警时间是UTC时间 2.脚本的变量 {"status":"success"}[root@k8s elasticsearch]# cat vars_config.conf|egrep -v '#' INDEX_FILE=
阅读全文
摘要:1.安装部署 1.1 wget https://github.com/oliver006/redis_exporter/releases/download/v0.15.0/redis_exporter-v0.15.0.linux-amd64.tar.gz 1.2 cd /prometheus_exp
阅读全文
摘要:1.磁盘使用率 1.other:((node_filesystem_size_bytes{fstype=~"xfs|ext4",instance="server2"} - node_filesystem_free_bytes{fstype=~"xfs|ext4",instance="server2"
阅读全文
摘要:1.修改服务的启动脚本 [root@do1cloud01 init.d]# vim learn-school nohup ${JAVA_HOME}/bin/java -javaagent:/usr/local/prometheus_jmx_export_0.3.1/jmx_prometheus_ja
阅读全文
摘要:1.安装exporter 1.wget https://github.com/prometheus/blackbox_exporter/releases/download/v0.12.0/blackbox_exporter-0.12.0.linux-amd64.tar.gz 2.tar -zxf b
阅读全文
摘要:1.jvm类型 8563的grafanadashboard: gc时间,使用的现场,加载的类数 2.apache , nginx 用户连接状态,waiting数量 (使用nginx_status) current total apache access - irate(apache_accesses
阅读全文
摘要:1.zookeeper的规则 [root@do1cloud01 prometheus]# cat zookeeper.yml rules: - pattern: "org.apache.ZooKeeperService<name0=ReplicatedServer_id(\\d+)><>(\\w+)
阅读全文
摘要:1. run JMX exporter as a java agent with all the four daemons. For this I have added EXTRA_JAVA_OPTS in hadoop-env.sh and yarn-env.sh : [root@cloud01
阅读全文
摘要:1.安装: 如果有elk单独用户,切换到该用户下, wget下载,进入到es安装目录,执行 ./elasticsearch-plugin install file://$(pwd)/../../elasticsearch-prometheus-exporter-6.4.2.0.zip 即可完成安装
阅读全文
摘要:1.prometheus的配置 - job_name: 'java01' #按照这个来分组 scrape_interval: 10s static_configs: - targets: ['192.168.1.44:6060'] labels: instance: jvm44 2. jmx-exp
阅读全文
摘要:1.实验的架构 2.k8s 集群外的Prometheus的配置文件 [root@do1cloud03 prometheus]# cat prometheus.yml |egrep -v '#' global: alerting: alertmanagers: - static_configs: -
阅读全文
摘要:0.好的参考文档 https://www.cnblogs.com/longcnblogs/p/9620733.html 1.多维度数据 3. Prometheus会将所有采集到的样本数据以时间序列(time-series)的方式 time-series是按照时间戳和值的序列顺序存放的,我们称之为向量
阅读全文
摘要:1.agent_setup_pro.sh: no such file or directory 2.参考:https://bk.tencent.com/s-mart/community/question/204 3. 4.修改180s超时-->在节点管理那里修改成3600
阅读全文
摘要:1.安装和配置prometheus tar zxvf prometheus-2.3.0.linux-amd64.tar.gz -C /usr/local/ ln -sv /usr/local/prometheus-2.3.0.linux-amd64/ /usr/local/prometheus cd
阅读全文
摘要:0.demo关键 1.关键信息,不能用5.1.6版本的,还有很多坑 2.简单理解: 标准运维实际上调用作业平台job的API去执行 要跑通标准运维,可以先在job上跑通,比如设置在远程服务器执行的用户 3.参考官方文档:https://docs.bk.tencent.com/bkce_install
阅读全文
摘要:1.表象:在部署蓝鲸JOB过程中需要进行RabbitMQ的安装,数据初始化,激活步骤,此问题多发生在此过程 参考:https://docs.bk.tencent.com/bkce_maintain_faq/component/rabbitmq.html 2.数据流向
阅读全文
摘要:1.类似zabbix的zabbix_get的工具来排错 在bkdata机器执行 /data/bkce/bkdata/dataapi/bin/check_databus_status.sh 若是这些均为空,没有信息输出,则 bkdata机器执行 supervisorctl -c /data/bkce/
阅读全文
摘要:########################################### 1.服务拨测 ->http://cmdb.ztbk.com -> 业务(主机管理)-->立即创建 2.按照这个文档操作 https://bk.tencent.com/s-mart/community/questi
阅读全文