Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Your review has been submitted and is pending approval.
python use 2.5.2 check_nginx is a Nagios to monitor nginx status Usage: check_nginx [-h|--help][-U|--url][-P|--path][-u|--user][-p|--passwd][-w|--warning][-c|--critical] Options: --help|-h) print check_nginx help. --url|-U) Sets nginx status url. --path|-P) Sets nginx status url path. Default is: off --user|-u) Sets nginx status BasicAuth user. Default is: off --passwd|-p) Sets nginx status BasicAuth passwd. Default is: off --warning|-w) Sets a warning level for nginx Active connections. Default is: off --critical|-c) Sets a critical level for nginx Active connections. Default is: off Example: The url is www.nginxs.com/status ./check_nginx -U www.nginxs.com -P /status -u eric -p nginx -w 1000 -c 2000 if dont't have password: ./check_nginx -U www.nginxs.com -P /status -w 1000 -c 2000 if don't have path and password: ./check_nginx -U www.nginxs.com -w 1000 -c 2000
Current Version
1.0.1
Last Release Date
2010-12-09
Owner
eric.yang
Website
http://www.nginxs.com
Download URL
http://www.nginxs.com/download/check_nginx
License
GPL
Compatible With
Usage:
check_nginx [-h|--help][-U|--url][-P|--path][-u|--user][-p|--passwd][-w|--warning][-c|--critical]
Options: --help|-h) print check_nginx help. --url|-U) Sets nginx status url. --path|-P) Sets nginx status url path. Default is: off --user|-u) Sets nginx status BasicAuth user. Default is: off --passwd|-p) Sets nginx status BasicAuth passwd. Default is: off --warning|-w) Sets a warning level for nginx Active connections. Default is: off --critical|-c) Sets a critical level for nginx Active connections. Default is: off Example: The url is www.nginxs.com/status ./check_nginx -U www.nginxs.com -P /status -u eric -p nginx -w 1000 -c 2000 if dont't have password: ./check_nginx -U www.nginxs.com -P /status -w 1000 -c 2000 if don't have path and password: ./check_nginx -U www.nginxs.com -w 1000 -c 2000
On Icinga 2 this check does not provide any per data, because of wrong Perf data output format. To fix this it is required to change the line from perfdata = 'ActiveConn:%s,reading:%s,writing:%s,waiting:%s' % (ActiveConn,reading,writing,waiting) to perfdata = 'ActiveConn=%s; reading=%s; writing=%s; waiting=%s' % (ActiveConn,reading,writing,waiting) This works for me to get it working for icinga 2.
You must be logged in to submit a review.
To:
From: