diff --git a/templates/411_process-ngcp-pro.yaml.tt2 b/templates/411_process-ngcp-pro.yaml.tt2 index 94d4e52..fccd43b 100644 --- a/templates/411_process-ngcp-pro.yaml.tt2 +++ b/templates/411_process-ngcp-pro.yaml.tt2 @@ -91,3 +91,19 @@ command: stdout: - "[% is_mgmt && rest_api.enable == 'yes' ? '1' : '0' %]" stderr: [] + +# monit no longer listens on port 2812 but uses a unix socket: +file: + /run/monit/monit.sock: + exists: true + mode: "0640" + size: 0 + owner: root + group: root + filetype: socket + /run/monit/monit.pid: + exists: true + mode: "0644" + owner: root + group: root + filetype: file diff --git a/templates/822_network-ports-ngcp-pro.yaml.tt2 b/templates/822_network-ports-ngcp-pro.yaml.tt2 index dc86c7c..be3add1 100644 --- a/templates/822_network-ports-ngcp-pro.yaml.tt2 +++ b/templates/822_network-ports-ngcp-pro.yaml.tt2 @@ -8,11 +8,6 @@ host_ha_iface = out; -%] port: - # Monit - tcp:2812: - listening: true - ip: ["127.0.0.1"] - # snmpd udp:161: listening: true