TT#87502 Add monitoring of sems-pbx process, take two

* check sems depending on the config

Change-Id: Ica27a4ee4899012dee5b8ebea1fc12323dc91451
mr9.0
Victor Seva 5 years ago
parent 5988a17bae
commit d8865df989

@ -69,7 +69,10 @@ process:
running: {{if and [% is_proxy ? 1 : 0 %] .Vars.NODE_ACTIVE}} true {{else}} false {{end}}
sems-b2b:
running: {{if and [% is_proxy ? 1 : 0 %] .Vars.NODE_ACTIVE}} true {{else}} false {{end}}
running: {{if and [% is_proxy && b2b.enable == "yes"? 1 : 0 %] .Vars.NODE_ACTIVE}} true {{else}} false {{end}}
ngcp-sems:
running: {{if and [% is_proxy && sems.enable == "yes"? 1 : 0 %] .Vars.NODE_ACTIVE}} true {{else}} false {{end}}
ngcp-witnessd:
running: true

@ -159,7 +159,24 @@ port:
tcp:5582:
listening: {{.Vars.NODE_ACTIVE}}
ip: ["[% sip_int_ips.0 %]"]
[% IF sems.enable == "yes" -%]
# SEMS
tcp:8090:
listening: {{.Vars.NODE_ACTIVE}}
ip: ["[% sip_int_ips.0 %]"]
# SEMS
udp:5040:
listening: {{.Vars.NODE_ACTIVE}}
ip: ["[% sip_int_ips.0 %]"]
# SEMS
udp:5080:
listening: {{.Vars.NODE_ACTIVE}}
ip: ["[% sip_int_ips.0 %]"]
[% END -%]
[% IF b2b.enable == "yes" -%]
# sems-pbx
tcp:5088:
listening: {{.Vars.NODE_ACTIVE}}
@ -180,6 +197,7 @@ port:
listening: {{.Vars.NODE_ACTIVE}}
ip: ["[% sip_int_ips.0 %]"]
[% END -%]
# Asterisk
tcp:5038:
listening: {{.Vars.NODE_ACTIVE}}

Loading…
Cancel
Save