Score:0

Zabbix Nginx 1.14 monitoring problems - I need help to solve this

in flag

I reinstalled the containers all with the same version, my new container structure looks like this: I still have problems with Nginx monitoring

enter image description here

I removed zabbix-agent2 from the target host, I left only zabbix-agent

For the target host in the Zabbix settings, I'm using the Template App Nginx by HTTP: Nginx: Get stub status page, and it's returning the error in the image below I tried some searches to solve but unsuccessfully.

enter image description here

mysite.com.br.conf file It has HTTPS configured:

server {
server_name mysite.com.br www.mysite.com.br;

root /var/www/html/mysite.com.br/placas-front/dist;
location / {
try_files $uri $uri/ /index.html index.nginx-debian.html ;
}



location = /basic_status {
stub_status;
allow 127.0.0.1;
allow 167.99.114.151; # Zabbix Server
deny all;
}


listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/www.mysite.com.br/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/www.mysite.com.br/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot


# add_header Access-Control-Allow-Origin *;
}
server {


add_header Access-Control-Allow-Origin *;
if ($host = www.mysite.com.br) {
return 301 https://$host$request_uri;
} # managed by Certbot


if ($host = mysite.com.br) {
return 301 https://$host$request_uri;
} # managed by Certbot


server_name mysite.com.br www.mysite.com.br;
listen 80;
return 404; # managed by Certbot

}
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.