Добрый день, 3 дня назад настроил мониторинг nginx, шаблон и конфиг брал отсюда https://github.com/zabbix/zabbix/tre...app/nginx_http
Все прекрасно работало пару дней, потом увидел кучу ошибок в логе zabbix_server следующего содержания:
Мониторится только 2 параметра это служба nginx и отклик.
с самого сервера при выполнении zabbix_agentd -t web.page.get[localhost,basic_status,80]
получаем
я уже не знаю куда копать.
версия nginx
root@lb01:/etc/nginx/vhost.d# nginx -V
nginx version: nginx/1.14.0 (Ubuntu)
Все прекрасно работало пару дней, потом увидел кучу ошибок в логе zabbix_server следующего содержания:
1. Failed: cannot perform regular expression "Reading: ([0-9]+) Writing: ([0-9]+) Waiting: ([0-9]+)" match for value of type "string": pattern does not match
4331:20200409:153316.530 error reason for "WEBSITENAME.ORG:nginx.connections.active" changed: Preprocessing failed for: HTTP/1.1 200 OK..Server: nginx..Date: Thu, 09 Apr 2020 09:34:01 GMT..Content-Type: text/html; cha...
1. Failed: cannot perform regular expression "Active connections: ([0-9]+)" match for value of type "string": pattern does not match
4331:20200409:153316.530 error reason for "WEBSITENAME.ORG:nginx.connections.handled.rat e" changed: Preprocessing failed for: HTTP/1.1 200 OK..Server: nginx..Date: Thu, 09 Apr 2020 09:34:01 GMT..Content-Type: text/html; cha...
1. Failed: cannot perform regular expression "server accepts handled requests\s+([0-9]+) ([0-9]+) ([0-9]+)" match for value of type "string": pattern does not match
4331:20200409:153316.530 error reason for "WEBSITENAME.ORG:nginx.requests.total.rate" changed: Preprocessing failed for: HTTP/1.1 200 OK..Server: nginx..Date: Thu, 09 Apr 2020 09:34:01 GMT..Content-Type: text/html; cha...
1. Failed: cannot perform regular expression "server accepts handled requests\s+([0-9]+) ([0-9]+) ([0-9]+)" match for value of type "string": pattern does not match
4331:20200409:153316.530 error reason for "WEBSITENAME.ORG:nginx.connections.writing" changed: Preprocessing failed for: HTTP/1.1 200 OK..Server: nginx..Date: Thu, 09 Apr 2020 09:34:01 GMT..Content-Type: text/html; cha...
1. Failed: cannot perform regular expression "Reading: ([0-9]+) Writing: ([0-9]+) Waiting: ([0-9]+)" match for value of type "string": pattern does not match
4331:20200409:153316.549 value cache is fully used: please increase ValueCacheSize configuration parameter
4331:20200409:153316.530 error reason for "WEBSITENAME.ORG:nginx.connections.active" changed: Preprocessing failed for: HTTP/1.1 200 OK..Server: nginx..Date: Thu, 09 Apr 2020 09:34:01 GMT..Content-Type: text/html; cha...
1. Failed: cannot perform regular expression "Active connections: ([0-9]+)" match for value of type "string": pattern does not match
4331:20200409:153316.530 error reason for "WEBSITENAME.ORG:nginx.connections.handled.rat e" changed: Preprocessing failed for: HTTP/1.1 200 OK..Server: nginx..Date: Thu, 09 Apr 2020 09:34:01 GMT..Content-Type: text/html; cha...
1. Failed: cannot perform regular expression "server accepts handled requests\s+([0-9]+) ([0-9]+) ([0-9]+)" match for value of type "string": pattern does not match
4331:20200409:153316.530 error reason for "WEBSITENAME.ORG:nginx.requests.total.rate" changed: Preprocessing failed for: HTTP/1.1 200 OK..Server: nginx..Date: Thu, 09 Apr 2020 09:34:01 GMT..Content-Type: text/html; cha...
1. Failed: cannot perform regular expression "server accepts handled requests\s+([0-9]+) ([0-9]+) ([0-9]+)" match for value of type "string": pattern does not match
4331:20200409:153316.530 error reason for "WEBSITENAME.ORG:nginx.connections.writing" changed: Preprocessing failed for: HTTP/1.1 200 OK..Server: nginx..Date: Thu, 09 Apr 2020 09:34:01 GMT..Content-Type: text/html; cha...
1. Failed: cannot perform regular expression "Reading: ([0-9]+) Writing: ([0-9]+) Waiting: ([0-9]+)" match for value of type "string": pattern does not match
4331:20200409:153316.549 value cache is fully used: please increase ValueCacheSize configuration parameter
Мониторится только 2 параметра это служба nginx и отклик.
с самого сервера при выполнении zabbix_agentd -t web.page.get[localhost,basic_status,80]
получаем
web.page.get[localhost,basic_status,80] [t|HTTP/1.1 200 OK
Server: nginx
Date: Thu, 09 Apr 2020 09:40:23 GMT
Content-Type: text/plain
Content-Length: 103
Connection: close
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Active connections: 1
server accepts handled requests
349 349 224
Reading: 0 Writing: 1 Waiting: 0 ]
Server: nginx
Date: Thu, 09 Apr 2020 09:40:23 GMT
Content-Type: text/plain
Content-Length: 103
Connection: close
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Active connections: 1
server accepts handled requests
349 349 224
Reading: 0 Writing: 1 Waiting: 0 ]
версия nginx
root@lb01:/etc/nginx/vhost.d# nginx -V
nginx version: nginx/1.14.0 (Ubuntu)
Comment