From 982eddd011658b612626a96684a96253578ef0f4 Mon Sep 17 00:00:00 2001 From: Keith Whyte Date: Tue, 14 Jun 2022 05:34:54 +0200 Subject: [PATCH] Collectd: Listen on A-bis Ethernet So that we can collect stats from the BTS/PCU --- modules/rhizo_base/files/etc/collectd/collectd.conf | 2 +- modules/rhizo_base/templates/osmo-bsc-head.erb | 2 +- modules/rhizo_base/templates/osmo-bts-sysmo.cfg.erb | 7 +++++++ modules/rhizo_base/templates/osmo-hlr.cfg.erb | 2 +- modules/rhizo_base/templates/osmo-msc.cfg.erb | 2 +- modules/rhizo_base/templates/osmo-pcu.cfg.erb | 7 +++++++ 6 files changed, 18 insertions(+), 4 deletions(-) diff --git a/modules/rhizo_base/files/etc/collectd/collectd.conf b/modules/rhizo_base/files/etc/collectd/collectd.conf index 2192bb1..f9cb8b6 100644 --- a/modules/rhizo_base/files/etc/collectd/collectd.conf +++ b/modules/rhizo_base/files/etc/collectd/collectd.conf @@ -1287,7 +1287,7 @@ LoadPlugin users # - Host "localhost" + Host "172.16.0.1" Port "8125" # DeleteCounters false # DeleteTimers false diff --git a/modules/rhizo_base/templates/osmo-bsc-head.erb b/modules/rhizo_base/templates/osmo-bsc-head.erb index 75bc844..1d50c25 100644 --- a/modules/rhizo_base/templates/osmo-bsc-head.erb +++ b/modules/rhizo_base/templates/osmo-bsc-head.erb @@ -50,7 +50,7 @@ log stderr ! stats interval 10 stats reporter statsd - remote-ip 127.0.0.1 + remote-ip 172.16.0.1 remote-port 8125 level global no prefix diff --git a/modules/rhizo_base/templates/osmo-bts-sysmo.cfg.erb b/modules/rhizo_base/templates/osmo-bts-sysmo.cfg.erb index 671ed57..11931e0 100644 --- a/modules/rhizo_base/templates/osmo-bts-sysmo.cfg.erb +++ b/modules/rhizo_base/templates/osmo-bts-sysmo.cfg.erb @@ -19,6 +19,13 @@ log stderr logging level l1p info logging level dsp info logging level abis notice +stats interval 10 +stats reporter statsd + remote-ip 172.16.0.1 + remote-port 8125 + level global + no prefix + enable ! line vty no login diff --git a/modules/rhizo_base/templates/osmo-hlr.cfg.erb b/modules/rhizo_base/templates/osmo-hlr.cfg.erb index 1e8bf6d..1f91a32 100644 --- a/modules/rhizo_base/templates/osmo-hlr.cfg.erb +++ b/modules/rhizo_base/templates/osmo-hlr.cfg.erb @@ -36,7 +36,7 @@ log stderr ! stats interval 10 stats reporter statsd - remote-ip 127.0.0.1 + remote-ip 172.16.0.1 remote-port 8125 level global no prefix diff --git a/modules/rhizo_base/templates/osmo-msc.cfg.erb b/modules/rhizo_base/templates/osmo-msc.cfg.erb index 8980dcb..f9740a0 100644 --- a/modules/rhizo_base/templates/osmo-msc.cfg.erb +++ b/modules/rhizo_base/templates/osmo-msc.cfg.erb @@ -54,7 +54,7 @@ log stderr ! stats interval 10 stats reporter statsd - remote-ip 127.0.0.1 + remote-ip 172.16.0.1 remote-port 8125 level global no prefix diff --git a/modules/rhizo_base/templates/osmo-pcu.cfg.erb b/modules/rhizo_base/templates/osmo-pcu.cfg.erb index 669ce57..217c1af 100644 --- a/modules/rhizo_base/templates/osmo-pcu.cfg.erb +++ b/modules/rhizo_base/templates/osmo-pcu.cfg.erb @@ -1,3 +1,10 @@ +stats interval 10 +stats reporter statsd + remote-ip 172.16.0.1 + remote-port 8125 + level global + no prefix + enable pcu flow-control-interval 10 cs 4