diff --git a/templates/411_process-ngcp-pro.yaml.tt2 b/templates/411_process-ngcp-pro.yaml.tt2 index 9835de5..94d4e52 100644 --- a/templates/411_process-ngcp-pro.yaml.tt2 +++ b/templates/411_process-ngcp-pro.yaml.tt2 @@ -4,6 +4,7 @@ is_mgmt = ngcp.has_role(hostname, 'mgmt'); is_proxy = ngcp.has_role(hostname, 'proxy'); is_lb = ngcp.has_role(hostname, 'lb'); + is_li = ngcp.has_role(hostname, 'li'); -%] process: @@ -64,7 +65,7 @@ process: running: true ngcp-voisniff: - running: {{if and [% (is_proxy || is_lb) && voisniff.daemon.start == 'yes' ? 1 : 0 %] .Vars.NODE_ACTIVE}} true {{else}} false {{end}} + running: {{if and [% (is_proxy || is_li) && voisniff.daemon.start == 'yes' ? 1 : 0 %] .Vars.NODE_ACTIVE}} true {{else}} false {{end}} # We have to use a truncated process name because that's the COMM limit # on Linux (15 characters). Real name: prometheus-haproxy-exporter.