Project

General

Profile

Actions

Task #7482

closed

On Alpine Linux the monit job for node-exporter uses the wrong path

Added by Nico Schottelius almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
Start date:
12/15/2019
Due date:
% Done:

0%

Estimated time:
PM Check date:

Description

Current state is:


[22:56] router2.place5:/etc/monit# cat conf.d/node-exporter 
check process prometheus-node-exporter with pidfile /var/run/prometheus/prometheus-node-exporter.pid
   start program = "/etc/init.d/prometheus-node-exporter start" with timeout 60 seconds
   stop program  = "/etc/init.d/prometheus-node-exporter stop" 
[22:56] router2.place5:/etc/monit# 

However the init script is /etc/init.d/node-exporter.

Add an "os" check into manifest/dcl in the router section to use a different __ungleich_monit config depending on the OS.

MR for this one not direct push, please

Actions

Also available in: Atom PDF