This change also removes the monitoring of the InfluxDB monitoring
since it is redundant with the InfluxDB input plugin.
Change-Id: Ib5e0acacdab562fe6b997a4d988527fe81d0d031
{%- if server.get('enabled', False) %}
server:
alert:
{%- if server.get('enabled', False) %}
server:
alert:
- ProcstatRunningInfluxdb:
+{%- if server.get('http', {}).get('enabled', False) %}
+ InfluxdbQDown:
- procstat_running{process_name="influxdb"} == 0
- {% raw %}
labels:
severity: warning
service: influxdb
annotations:
labels:
severity: warning
service: influxdb
annotations:
- summary: 'Influxdb service is down'
- description: 'Influxdb service is down on node {{ $labels.host }}'
+ summary: 'InfluxDB service down'
+ {% raw %}
+ description: 'InfluxDB service is down on node {{ $labels.host }}'
-{%- if server.get('http', {}).get('enabled', False) %}
InfluxdbHTTPClientError:
{%- set influx_http_client_error_threshold = monitoring.http_errors_percentage %}
if: >-
InfluxdbHTTPClientError:
{%- set influx_http_client_error_threshold = monitoring.http_errors_percentage %}
if: >-
{%- if server.get('enabled', False) and server.get('http', {}).get('enabled', False) %}
agent:
input:
{%- if server.get('enabled', False) and server.get('http', {}).get('enabled', False) %}
agent:
input:
- procstat:
- process:
- influxdb:
- exe: influxd
influxdb:
servers:
- url: http://{{ server.http.bind.address|replace('0.0.0.0', '127.0.0.1') }}:{{ server.http.bind.port }}/debug/vars
influxdb:
servers:
- url: http://{{ server.http.bind.address|replace('0.0.0.0', '127.0.0.1') }}:{{ server.http.bind.port }}/debug/vars