/
Monitoring Service Check: nginx_metrics

Welcome to the VSHN Knowledge Base

Monitoring Service Check: nginx_metrics

Overview

Collect nginx metrics. This check is only intended to collect metrics. It does not implement any warnings or criticals. The only state except OK is unknown, which is when it can't connect to the nginx instance.

Technical Details

Implementation

Global base checkNo
Puppet Profiles using this checkprofile_nginx

Used Check Plugin

Script / Plugin Namecheck_nginx_metrics
Plugin Packagesnagios-plugins-nginx
CheckCommand Namecheck_nginx_metrics
Source Upstream Linkhttps://git.vshn.net/vshn/nagios-plugins-nginx
Documentation Linkhttps://git.vshn.net/vshn/nagios-plugins-nginx

List of Variables

The standard check uses the following variables. See documentation link above for a list of all variables.

Icinga2 variableConfigured inDescription
nginx_metrics_hostset to the localhost in the profilethe (IP-)address where it connects to
nginx_vhost_nameset to the special status vhost in the profilethe host header which is sent in the http request 



Related content