--
AnthonyBrennan - 2013-08-28
Collectd Resource Monitoring (This page has been Migrated)
See:
https://uwaterloo.atlassian.net/wiki/spaces/CSCFINF/pages/44310888660/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