https://github.com/devgateway/ansible-zabbix-nginx
Zabbix monitoring for Nginx
https://github.com/devgateway/ansible-zabbix-nginx
Last synced: 4 months ago
JSON representation
Zabbix monitoring for Nginx
- Host: GitHub
- URL: https://github.com/devgateway/ansible-zabbix-nginx
- Owner: devgateway
- Created: 2017-06-13T21:09:34.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-04T21:58:56.000Z (about 8 years ago)
- Last Synced: 2025-07-23T13:00:10.627Z (7 months ago)
- Language: Shell
- Size: 5.86 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# zabbix-nginx
Configure Zabbix agent to monitor Nginx.
Role Variables
--------------
### zbx\_ngx\_conf\_d
Nginx configuration definition directory. Default: `/etc/nginx/conf.d`.
### zbx\_ngx\_script\_dir
Directory for Nginx querying script. Default: `/usr/local/bin`.
### zbx\_ngx\_userparams\_dir
Zabbix agent configuration definition directory. Default: `/etc/zabbix/zabbix_agentd.d`.
### zbx\_ngx\_port
Port (on IPv4/IPv6 loopback interface) on which Nginx will listen for stub\_status requests. Default: 10000.
### zbx\_ngx\_status\_uri
Location, at which Nginx will serve status info. Default: `/`.
Dependencies
------------
* zabbix-agent
Example Playbook
----------------
- hosts:
- foo
roles:
- zabbix-nginx
License
-------
GPLv3+
Author Information
------------------
Ansible role by Development Gateway. [Scripts and configuration](https://github.com/jizhang/zabbix-templates) by [Ji Zhang](https://github.com/jizhang).