Add statsd config + collectd

This commit is contained in:
Monocots 2022-06-13 21:30:54 +00:00
parent ce3ecdc90f
commit e98417f99a
4 changed files with 1669 additions and 1 deletions

File diff suppressed because it is too large Load diff

View file

@ -702,6 +702,14 @@ schedule { 'never':
require => Package['apcupsd'],
}
if $osmo_stack == "split" {
file { '/etc/collectd/collectd.conf':
ensure => present,
source => 'puppet:///modules/rhizo_base/etc/collectd/collectd.conf',
require => Package['collectd'],
}
}
file { '/etc/default/apcupsd':
ensure => 'present',
content => template('rhizo_base/apcupsd.erb'),

View file

@ -38,6 +38,11 @@ class rhizo_base::osmocom {
ensure => 'absent'
}
package { 'collectd':
ensure => 'installed',
install_options => ['--no-install-recommends'],
}
package { [ 'osmo-stp', 'osmo-mgw', 'osmo-sgsn',
'python3-osmopy-libs', 'python3-osmopy-utils' ]:
ensure => 'installed',

View file

@ -48,7 +48,13 @@ log stderr
logging level ljibuf notice
logging level lrspro notice
!
stats interval 5
stats interval 10
stats reporter statsd
remote-ip 127.0.0.1
remote-port 8125
level global
no prefix
enable
!
line vty
no login