
Web Servers
check_nginx_stats.pl (Advanced Nagios Plugins Collection)
Description:
Checks Nginx stats from the nginx stub_status page
Current Version
Last Release Date
October 3, 2013
Compatible With
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios XI
Owner
Download URL
Project Notes
Part of the Advanced Nagios Plugins Collection, download it here:
https://github.com/harisekhon/nagios-plugins
./check_nginx_stats.pl --help
Nagios Plugin to check Nginx stats from the nginx stub_status page
usage: check_nginx_stats.pl [ options ]
-H --host Host to connect to
-P --port Port to connect to (defaults to 80)
-u --url Nginx Status URL (usually something like /nginx_status - must be compiled with support and enabled in the nginx config using stub_status)
--no-keepalives Use only when nginx config has 'keepalive_timeout 0' to enable an extra sanity check against the Handled/Request counts where Handled >= Requests must be true. A sanity check of Accepted >= Handled is performed regardless
-w --warning Warning threshold or ran:ge (inclusive) for Active Connections count
-c --critical Critical threshold or ran:ge (inclusive) for Active Connections count
-h --help Print description and usage options
-t --timeout Timeout in secs (default: 10)
-v --verbose Verbose mode
-V --version Print version and exit
Reviews
(0)
Add a Review
Add a Review
You must be logged in to submit a review.
Thank you for your review!
Your review has been submitted and is pending approval.
Recommend
To:
From:
Thank you for your recommendation!
Your recommendation has been sent.
Page Sections
Project Stats
Rating
0 (0)
Favorites
0
Views
34,709