国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 網(wǎng)站 > Nginx > 正文

詳解metricbeat監(jiān)控nginx情況

2024-08-30 12:24:57
字體:
供稿:網(wǎng)友

本文介紹了詳解metricbeat 監(jiān)控 nginx 情況,分享給大家,具體如下:

1.version

os: centos 7.2nginx: nginx-1.13.9metricbeat: metricbeat-6.2.4

2.download

#wget https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-6.2.4-x86_64.rpm

3.install

#rpm -ivh metricbeat-6.2.4-x86_64.rpm

4.config

Metricbeat:#metricbeat modules enable nginxnginx.yml- module: nginx metricsets: ["stubstatus"] period: 10s # Nginx hosts hosts: ["http://127.0.0.1"] # Path to server status. Default server-status server_status_path: "basic_status" #According to the situation,and depending Nginx: (nginx need to compile install)requried module: --with-http_stub_status_module  nginx.conf:    location /basic_status {    stub_status;    access_log off;    allow 127.0.0.1;    deny all;  }

5.start

service metricbeat start

以上就是本文的全部內(nèi)容,希望對大家的學習有所幫助,也希望大家多多支持錯新站長站。

發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 紫金县| 西畴县| 乌拉特前旗| 棋牌| 岚皋县| 错那县| 保山市| 潜山县| 松江区| 沐川县| 康马县| 南城县| 龙门县| 象州县| 隆安县| 开封县| 巴林左旗| 深泽县| 嘉禾县| 松阳县| 策勒县| 涞水县| 新津县| 秦安县| 河北区| 旺苍县| 米脂县| 通州区| 涿鹿县| 军事| 宝鸡市| 亳州市| 梁平县| 安庆市| 共和县| 金华市| 西充县| 阳春市| 扶风县| 广州市| 荔浦县|