Nginx default checks and policies
Agent Client Collector provides the following policies for Nginx health monitoring. Policies come with the checks specified in the indicated table. Policies and checks are available for both Windows and Linux.
| Check | Description | Usage | Command | Output |
|---|---|---|---|---|
| nginx.check-nginx-alive | Verifies whether Nginx server is alive.Note: Use basic authentication for events. |
Nginx hostname
Nginx port Note: Use basic authentication for events. | `` | Successful `CheckNginxStatus OK: Nginx is Alive and healthy` Failure `CheckNginxStatus CRITICAL: Nginx is Down` |
| Check | Description | Usage | Command | Output |
|---|---|---|---|---|
| nginx.metrics-nginx-server | Retrieves the following information:
Total number of active connections on server.
The accepted connections.
Handled connections, which normally equals the number of accepted connections.
Total number of handled requests by the server.
Shows whether the server is reading requests.
Shows whether the server is writing responses to the client.
Idle connections waiting for a request. Note: Use basic authentication for metrics. | `metrics-nginx.rb` Options: `-u --url` Full URL to the server status page. For example: `https://yoursite.com/nginx_status` | `` | |
Parent Topic:Agent Client Collector Monitoring default checks and policies