Nginx vhost requests monitoring plugin
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mikanoshi 57ef4a22f3 README 6 years ago
LICENSE Initial commit 6 years ago
README.html README 6 years ago
check_nginx_vhost Initial commit 6 years ago
graph.jpg Initial commit 6 years ago


Nginx vhost monitoring plugin

Counts number of requests for each virtual host defined in Nginx.
Supports Nagios and Influx Line Portocol output formats.

- PHP interpreter
- Nginx with ngx_http_vhost_traffic_status_module compiled statically or dynamically

Plugin parameters

check_nginx_vhost -u <url to json formatted vhost stats> [-z ] [-t] [-i] [-m measurement]
Optional parameters
	-z	Comma-separated list of zones (vhosts), display all if not specified
	-t	Include total request count
	-i	Influx Line Protocol output format instead of Nagios
	-m	Measurement name ("nginxvhost" by default)
Example: check_nginx_vhost -u "" -z, -i -m myvhosts

Graph example (InfluxDB + Grafana):