产品动态
产品公告
安全公告
server {listen 80;server_name localhost;index index.html index.htm index.php;root /usr/local/nginx/html;#charset koi8-r;#access_log logs/host.access.log main;location ~ .*\\.(php|php5)?${fastcgi_pass 127.0.0.1:9000;fastcgi_index index.php;include fastcgi.conf;}location ~ .*\\.(gif|jpg|jpeg|png|bmp|swf|ico)${expires 30d;# access_log off;}location / {proxy_pass <企业微信机器人的wehbook地址>;}location ~ .*\\.(js|css)?${expires 15d;# access_log off;}access_log off;#error_page 404 /404.html;# redirect server error pages to the static page /50x.htmlerror_page 500 502 503 504 /50x.html;location = /50x.html {root html;}}
/usr/local/webserver/nginx/sbin/nginx -s reload/usr/local/webserver/nginx/sbin/nginx -s reopen

Create threshold alert 在界面进行阈值告警设置。可以针对某索引的特定条件进行监控告警,例如 CPU 使用率、文档个数等,可以在下面的 Condition 选项作更细节的设置,参考如下:

Create advanced watch 通过 API 设置 Watcher 各参数,API 详情请参见 PUT Watch。文档反馈