Zabbix-nginx-conf Download ~repack~ -
Import the zbx_nginx_agent_template.xml (found in the downloaded repository).
server listen 127.0.0.1:80; server_name 127.0.0.1; location /basic_status stub_status; allow 127.0.0.1; # Allow localhost allow ::1; deny all; # Deny everyone else access_log off; Use code with caution.
Update your Zabbix Agent configuration to include user parameters for Nginx: zabbix-nginx-conf download
Use dependent items for preprocessing to minimize Zabbix server load. Configure Nginx Monitoring With Zabbix - Programster's Blog
Copy the zabbix-nginx.conf file to /etc/zabbix/zabbix_agentd.d/ . Restart the agent: systemctl restart zabbix-agent2 . Integrating with Zabbix Frontend Go to in your Zabbix Frontend. Import the zbx_nginx_agent_template
Before using the configuration, ensure your Nginx has the http_stub_status_module enabled.
Ensure traffic between the agent and server is encrypted, especially when dealing with public-facing web servers. Configure Nginx Monitoring With Zabbix - Programster's Blog
You can find the configuration files within the Zabbix agent repository or by downloading the official templates from the Zabbix Git repository.