Project

General

Profile

Actions

Monitoring via collectd » History » Revision 1

Revision 1/2 | Next »
laforge, 04/18/2022 09:49 PM


Osmo-e1d monitoring

  • install osmo-e1d with the fix from https://gerrit.osmocom.org/c/osmo-e1d/+/27823
  • add the following config snippet to osmo-e1d.cfg:
    stats interval 10
    stats reporter statsd
      remote-ip 127.0.0.1
      remote-port 8125
      level global
      no prefix
      enable
    
  • install collectd (debian package)
  • modify collectd config as follows:
    diff --git a/collectd/collectd.conf b/collectd/collectd.conf
    index fc42491..c836b14 100644
    --- a/collectd/collectd.conf
    +++ b/collectd/collectd.conf
    @@ -179,7 +179,7 @@ LoadPlugin rrdtool
     #LoadPlugin smart
     #LoadPlugin snmp
     #LoadPlugin snmp_agent
    -#LoadPlugin statsd
    +LoadPlugin statsd
     LoadPlugin swap
     #LoadPlugin table
     #LoadPlugin tail
    @@ -1286,9 +1286,9 @@ LoadPlugin users
     #      </Table>
     #</Plugin>
    
    -#<Plugin statsd>
    -#      Host "::" 
    -#      Port "8125" 
    +<Plugin statsd>
    +       Host "::" 
    +       Port "8125" 
     #      DeleteCounters false
     #      DeleteTimers   false
     #      DeleteGauges   false
    @@ -1301,7 +1301,7 @@ LoadPlugin users
     #      TimerUpper     false
     #      TimerSum       false
     #      TimerCount     false
    -#</Plugin>
    +</Plugin>
    
     #<Plugin swap>
     #      ReportByDevice false
    
    

You should now find various rrd files generated in /var/lib/collectd/rrd/$hostname/statsd/

Those files can be post-processed / rendered with a variety of tools. For interactive use, I found "kcollectd": https://collectd.org/wiki/index.php/Kcollectd quite useful.

Files (0)

Updated by laforge almost 2 years ago · 1 revisions

Add picture from clipboard (Maximum size: 48.8 MB)