NGINX Ingress controller works with both NGINX and NGINX Plus and supports the standard Ingress features - content-based routing and TLS/SSL termination.
Configuring the credentials
Configure the credentials in the directory /opt/opsramp/agent/conf/app.d/creds.yaml
nginx-ingress-controller:
- name: nginx-ingress-controller
user: <username>
pwd: <Password>
encoding-type: plain
labels:
key1: val1
key2: val2
Configuring the application
Kubernetes environment
Configure the application in config.yaml
- name: nginx-ingress-controller
container-checks:
image-check:
- nginx-ingress-controller
port-check:
- 10254
- 80
Validate
Go to Resources under the Infrastructure tab to check if your resources are onboarded and the metrics are collected.
Metrics
OpsRamp Metric | Metric Display Name | Unit | Description |
---|---|---|---|
nginx_ingress_nginx_connections_current | Nginx Connections Current | Connections | Current number of client connections with state |
nginx_ingress_nginx_connections_total | Nginx Connections Total | Connections/second | Total number of connections with state |
nginx_ingress_nginx_requests_total | Nginx Requests Total | Requests/second | Total number of client requests |
nginx_ingress_nginx_process_count | Nginx Process Count | Processes | Number of nginx processes |
nginx_ingress_nginx_bytes_read | Nginx Bytes Read | bytes/second | Number of bytes read |
nginx_ingress_nginx_bytes_write | Nginx Bytes Write | bytes/second | Number of bytes written |
nginx_ingress_nginx_cpu_time | Nginx Cpu Time | seconds | CPU usage |
nginx_ingress_nginx_mem_resident | Nginx Mem Resident | bytes | Resident memory size |
nginx_ingress_nginx_mem_virtual | Nginx Mem Virtual | bytes | Virtual memory size |
nginx_ingress_controller_reload_success | Controller Reload Success | Cumulative number of Ingress controller reload operations | |
nginx_ingress_controller_last_reload_success | Controller Last Reload Success | Whether the last configuration reload attempt was successful | |
nginx_ingress_controller_upstream_latency_count | Controller Upstream Latency Count | Count of upstream service latency per Ingress | |
nginx_ingress_controller_upstream_latency_sum | Controller Upstream Latency Sum | seconds | Sum of upstream service latency per Ingress |
nginx_ingress_controller_upstream_latency_quantile | Controller Upstream Latency Quantile | seconds | Quantiles of upstream service latency per Ingress |
nginx_ingress_controller_response_duration | Controller Response Duration | seconds | Average sum of response duration per Ingress since last pool |
nginx_ingress_controller_requests | Controller Requests | requests/second | Total number of client requests |
nginx_ingress_controller_cpu_time | Controller Cpu Time | seconds | CPU usage |
nginx_ingress_controller_mem_resident | Controller Mem Resident | bytes | Resident memory size |
nginx_ingress_controller_mem_virtual | Controller Mem Virtual | bytes | Virtual memory size |
nginx_ingress_controller_request_duration | Controller Request Duration | milliseconds | Average sum of request processing time since last pool. |