me again.. I've now collectd working with rrdcached.. BUT, (always
there's a BUT), graphs delay almost 8 min to show... My collectd
clients send info in 30 sec... any ideas?
regards
Israel.
On Thu, May 27, 2010 at 11:53 AM, Israel Garcia igalva...@gmail.com wrote:
well, I found errors con collectd and daemon starts, but rrdcached
can'nt connect to unix socket: See below:
rrdcached plugin: rrdc_connect (unix:/var/tmp/rrdcached.sock) failed
with status 2.
my new collectd.conf:
LoadPlugin network
FQDNLookup true
Interval 60
TypesDB /opt/collectd/share/collectd/types.db
TypesDB /opt/collectd/etc/types.db.custom
Plugin network
Server xx.xx.xx.xx 25826
Listen xx.xx.xx.xx 25826
/Plugin
LoadPlugin cpu
LoadPlugin df
LoadPlugin disk
LoadPlugin interface
LoadPlugin load
LoadPlugin memory
LoadPlugin swap
Plugin interface
Interface lo
Interface sit0
IgnoreSelected true
/Plugin
Plugin df
MountPoint /lib/init/rw
MountPoint /dev/shm
MountPoint /dev
IgnoreSelected true
/Plugin
#LoadPlugin rrdtool
#Plugin rrdtool
# DataDir /var/lib/collectd/rrd
# CacheFlush 7200
# CacheTimeout 256
# StoreRates false
#/Plugin
LoadPlugin rrdcached
Plugin rrdcached
DaemonAddress unix:/var/tmp/rrdcached.sock
DataDir /var/lib/collectd/rrd
# CreateFiles true
/Plugin
LoadPlugin syslog
Plugin syslog
LogLevel debug
/Plugin
Now ??? :-(
regards
Israel.
On Thu, May 27, 2010 at 11:26 AM, Israel Garcia igalva...@gmail.com wrote:
Hi, I want to start using rrdcached instead rrdtool plugin. My setup:
- Debian lenny
- collectd 4.10 compile from source
collectd 4.10.0, http://collectd.org/
by Florian octo Forster o...@verplant.org
for contributions see `AUTHORS'
- rrdtool package installed from lenny-backports
# dpkg -l |grep rrdtool
ii rrdtool 1.4.3-1~bpo50+1
time-series data storage and display system
# dpkg -l |grep librrd
ii librrd-dev 1.4.3-1~bpo50+1
time-series data storage and display system
ii librrd4 1.4.3-1~bpo50+1
time-series data storage and display system
ii librrds-perl 1.3.1-4
Time-series data storage and display system
- collectd.conf
LoadPlugin network
FQDNLookup true
Interval 60
TypesDB /opt/collectd/share/collectd/types.db
TypesDB /opt/collectd/etc/types.db.custom
Plugin network
Server xx.xx.xx.xx 25826
Listen xx.xx.xx.xx 25826
/Plugin
LoadPlugin cpu
LoadPlugin df
LoadPlugin disk
LoadPlugin interface
LoadPlugin load
LoadPlugin memory
LoadPlugin swap
Plugin interface
Interface lo
Interface sit0
IgnoreSelected true
/Plugin
Plugin df
MountPoint /lib/init/rw
MountPoint /dev/shm
MountPoint /dev
IgnoreSelected true
/Plugin
LoadPlugin rrdtool
#Plugin rrdtool
# DataDir /var/lib/collectd/rrd
# CacheFlush 7200
# CacheTimeout 256
# StoreRates false
#/Plugin
Plugin rrdcached
DaemonAddress unix:/var/tmp/rrdcached.sock
DataDir /var/lib/collectd/rrd
CreateFiles true
/Plugin
LoadPlugin syslog
Plugin syslog
LogLevel debug
/Plugin
When I start collectd I see this:
Starting statistics collection and monitoring daemon: collectdtype = network
file = /opt/collectd/lib/collectd/network.so
option = FQDNLookup; value = true;
option = Interval; value = 60.00;
Done parsing `/opt/collectd/share/collectd/types.db'
Done parsing `/opt/collectd/etc/types.db.custom'
network plugin: sockent_open: node = xx.xx.xx.xx; service = 25826;
network plugin: network_set_ttl: network_config_ttl = 0;
network plugin: network_set_interface: interface index = 0;
network plugin: sockent_open: node = xx.xx.xx.xx; service = 25826;
fd = 4; calling `bind'
type = cpu
file = /opt/collectd/lib/collectd/cpu.so
type = df
file = /opt/collectd/lib/collectd/df.so
type = disk
file = /opt/collectd/lib/collectd/disk.so
type = interface
file = /opt/collectd/lib/collectd/interface.so
type = load
file = /opt/collectd/lib/collectd/load.so
type = memory
file = /opt/collectd/lib/collectd/memory.so
type = swap
file = /opt/collectd/lib/collectd/swap.so
type = interface, key = Interface, value = lo
to add entry: lo
cf_dispatch: return (0)
type = interface, key = Interface, value = sit0
to add entry: sit0
cf_dispatch: return (0)
type = interface, key = IgnoreSelected, value = true
cf_dispatch: return (0)
type = df, key = MountPoint, value = /lib/init/rw
to add entry: /lib/init/rw
cf_dispatch: return (0)
type = df, key = MountPoint, value = /dev/shm
to add entry: /dev/shm
cf_dispatch: return (0)
type = df, key = MountPoint, value = /dev
to add entry: /dev
cf_dispatch: return (0)
type = df, key = IgnoreSelected, value = true
cf_dispatch: return (0)
type = rrdtool
file = /opt/collectd/lib/collectd/rrdtool.so
type = rrdcached, key = DaemonAddress, value = unix:/var/tmp/rrdcached.sock
Found a configuration for the `rrdcached' plugin, but the plugin