Change-Id: Ifc9912371c074de9bf7f8ccdc5163130b6cbe99c
(cherry picked from commit e50dbef21d)
changes/81/20781/1
parent
a86ba1f278
commit
939ffc25f9
@ -1,33 +0,0 @@
|
||||
[%
|
||||
PROCESS '/usr/lib/ngcp-ngcpcfg/get_hostname';
|
||||
hostname = out;
|
||||
|
||||
argv.host = hostname;
|
||||
argv.role = 'mgmt';
|
||||
PROCESS '/usr/lib/ngcp-ngcpcfg/has_role';
|
||||
is_mgmt = out;
|
||||
|
||||
argv.host = hostname;
|
||||
argv.role = 'proxy';
|
||||
PROCESS '/usr/lib/ngcp-ngcpcfg/has_role';
|
||||
is_proxy = out;
|
||||
-%]
|
||||
[% PERL -%]
|
||||
my $node_state = qx(ngcp-check-active -v);
|
||||
chomp $node_state;
|
||||
|
||||
$stash->set(node_state => $node_state);
|
||||
[% END -%]
|
||||
|
||||
service:
|
||||
influxdb-relay.service:
|
||||
enabled: true
|
||||
running: true
|
||||
|
||||
snmpd.service:
|
||||
enabled: true
|
||||
running: true
|
||||
|
||||
ngcp-snmp-agent.service:
|
||||
enabled: true
|
||||
running: true
|
||||
Loading…
Reference in new issue