-- AnthonyBrennan - 2013-08-28

Collectd Resource Monitoring

Client Configuration

Step 1. Install collectd.

apt-get install collectd

Step 2. Create the collectd.conf configuration file

echo 'FQDNLookup true
Interval 60
LoadPlugin syslog
<Plugin syslog>
    LogLevel info
</Plugin>
LoadPlugin battery
LoadPlugin cpu
LoadPlugin df
LoadPlugin disk
LoadPlugin entropy
LoadPlugin interface
LoadPlugin irq
LoadPlugin load
LoadPlugin memory
LoadPlugin network
LoadPlugin processes
LoadPlugin swap
LoadPlugin users
<Plugin "network">
    Server "collectd.cscf.uwaterloo.ca"
</Plugin>

Include "/etc/collectd/filters.conf" Include "/etc/collectd/thresholds.conf"
' > /etc/collectd/collectd.conf

Step 3. Restart collectd

/etc/init.d/collectd restart

Step 4. There is no Step 4.

Server Configuration

Step 1. Install collectd

apt-get install collectd

Step 2. Copy configuration file

echo 'FQDNLookup true
Interval 60

#Log to syslog
LoadPlugin syslog
<Plugin syslog>
   LogLevel info
</Plugin>

LoadPlugin cpu
LoadPlugin df
LoadPlugin disk
LoadPlugin entropy
LoadPlugin interface
LoadPlugin irq
LoadPlugin load
LoadPlugin memory
LoadPlugin processes
LoadPlugin users

#For Server
LoadPlugin network
<Plugin "network">
  Listen "10.15.152.3"
  Server "172.19.4.230"
  Forward true
  MaxPacketSize 65535
</Plugin>

LoadPlugin rrdtool

<Plugin "rrdtool">
  CacheTimeout 0
  WritesPerSecond 640
</Plugin>

Include "/etc/collectd/filters.conf"
Include "/etc/collectd/thresholds.conf" ' > /etc/collectd/collectd.conf

Providing a Web Front End

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2013-08-28 - AnthonyBrennan
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback