There are 2 default template has been given by Zabbix which can be used to Nginx metrices monitoring
- Nginx by HTTP
- Nginx by Zabbix agent
Zabbix Template – Nginx by HTTP
For Zabbix version: 6.0 and higher. The template to monitor Nginx by Zabbix that work without any external scripts. Most of the metrics are collected in one go, thanks to Zabbix bulk data collection. Template Nginx by HTTP collects metrics by polling ngx_http_stub_status_module with HTTP agent remotely. Note that this solution supports https and redirects.
URL – https://www.zabbix.com/integrations/nginx#nginx_http
Zabbix Template – Nginx by Zabbix agent
For Zabbix version: 6.0 and higher. The template to monitor Nginx by Zabbix that work without any external scripts. Most of the metrics are collected in one go, thanks to Zabbix bulk data collection. Template Nginx by Zabbix agent collects metrics by polling ngx_http_stub_status_module locally with Zabbix agent. It also uses Zabbix agent to collect nginx Linux process stats like CPU usage, memory usage and whether process is running or not.
URL – https://www.zabbix.com/integrations/nginx#nginx_agent
Step 1 – Install and configure nginx
Step 2 – Enable “ngx_http_stub_status_module” in Nginx for Nginx metrices
Step 3 – Create a Zabbix host for nginx and use Zabbix Template – Nginx by HTTP
Note – This does not require any additional in the host of Zabbix Agent.
Step 4 – Validate all the values in the Zabbix Host Macros of nginx
Step 5 – Validate all the nginx Metrices in Latest Data
- An Introduction of GitLab Duo - December 22, 2024
- Best Hospitals for affordable surgery for medical tourism - December 20, 2024
- Top Global Medical Tourism Companies in the World - December 20, 2024