国产探花免费观看_亚洲丰满少妇自慰呻吟_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ā)表
主站蜘蛛池模板: 合阳县| 馆陶县| 玉门市| 青田县| 禄丰县| 泊头市| 宜章县| 柯坪县| 海兴县| 甘德县| 斗六市| 石楼县| 翼城县| 武清区| 武功县| 湘阴县| 三明市| 时尚| 平利县| 攀枝花市| 彭州市| 临安市| 古交市| 柘城县| 巍山| 疏附县| 东光县| 芜湖市| 柳州市| 阿克苏市| 利辛县| 喜德县| 布尔津县| 永安市| 台安县| 屯留县| 中方县| 随州市| 辉南县| 读书| 贵港市|