[collectd] client server problem

christopher barry cbarry at rjmetrics.com
Wed Dec 26 20:19:13 CET 2012


OK, Thanks.

-C

On Wed, 2012-12-26 at 20:16 +0100, Poil wrote:
> Hi
> 
> A server in 5.x can receive from a client in 4.x
> But you can't have a server in 4.x and a client in 5.x
> 
> Best regards
> 
> 
> 
> Le 26/12/2012 19:59, christopher barry a écrit :
> > Greetings,
> >
> > 	I am setting up collectd on 2 debian boxen, the server is squeeze
> > (collectd 4.10.1) and the client is wheezy (5.1.0).
> >
> > Couple of things:
> >
> > * I'm expecting the 5.1.0 client's data to show up in the
> > 4.10.1's /var/lib/collectd/rrd/<hostname>, but it does not.
> >
> > * I keep getting:
> > network plugin: parse_packet: Received truncated packet, try increasing
> > `MaxPacketSize'
> > even though I've set the size to 65535 on both hosts.
> >
> > Configs:
> > Server-side:
> > Hostname "one.nebula.rjmetrics.com"
> > LoadPlugin syslog
> > <Plugin syslog>
> > 	LogLevel info
> > </Plugin>
> > LoadPlugin cpu
> > LoadPlugin disk
> > LoadPlugin interface
> > LoadPlugin irq
> > LoadPlugin load
> > LoadPlugin memory
> > LoadPlugin network
> > LoadPlugin processes
> > LoadPlugin rrdtool
> > LoadPlugin snmp
> > LoadPlugin swap
> > LoadPlugin users
> > <Plugin disk>
> > 	Disk "/sd[abcd]/"
> > 	IgnoreSelected false
> > </Plugin>
> > <Plugin interface>
> > 	Interface "br0"
> > 	Interface "ib0"
> > 	Interface "tap0"
> > 	IgnoreSelected false
> > </Plugin>
> > <Plugin memcached>
> > 	Host "127.0.0.1"
> > 	Port "11211"
> > </Plugin>
> > <Plugin network>
> > 	<Listen "172.16.20.86" "25826">
> > 		SecurityLevel None
> > 		AuthFile "/etc/collectd/passwd"
> > 	</Listen>
> > 	MaxPacketSize 65535
> > </Plugin>
> > <Plugin rrdtool>
> > 	DataDir "/var/lib/collectd/rrd"
> > </Plugin>
> > Include "/etc/collectd/filters.conf"
> > Include "/etc/collectd/thresholds.conf"
> > --------------------------------------------------------------------------
> >
> > Client-side:
> > Hostname "hyper-01.nebula.rjmetrics.com"
> > LoadPlugin syslog
> > <Plugin syslog>
> > 	LogLevel info
> > </Plugin>
> > LoadPlugin cpu
> > LoadPlugin disk
> > LoadPlugin interface
> > LoadPlugin irq
> > LoadPlugin load
> > LoadPlugin memcached
> > LoadPlugin memory
> > LoadPlugin mysql
> > LoadPlugin network
> > LoadPlugin processes
> > LoadPlugin rrdtool
> > LoadPlugin snmp
> > LoadPlugin swap
> > LoadPlugin users
> > <Plugin disk>
> > 	Disk "/sd[abcd]/"
> > 	IgnoreSelected false
> > </Plugin>
> > <Plugin interface>
> > 	Interface "br0"
> > 	Interface "ib0"
> > 	Interface "tap0"
> > 	IgnoreSelected false
> > </Plugin>
> > <Plugin memcached>
> > 	Host "127.0.0.1"
> > 	Port "11211"
> > </Plugin>
> > <Plugin mysql>
> > 	<Database 5>
> > 		Host "localhost"
> > 		Port "3306"
> > 		User "root"
> > 		Password "password"
> > 		Database "5"
> > 		MasterStats true
> > 	</Database>
> > 	<Database 131>
> > 		Host "localhost"
> > 		Port "3306"
> > 		User "root"
> > 		Password "password"
> > 		Database "131"
> > 		MasterStats true
> > 	</Database>
> > 	<Database 45>
> > 		Host "localhost"
> > 		Port "3306"
> > 		User "root"
> > 		Password "password"
> > 		Database "45"
> > 		MasterStats true
> > 	</Database>
> > 	<Database 74>
> > 		Host "localhost"
> > 		Port "3306"
> > 		User "root"
> > 		Password "password"
> > 		Database "74"
> > 		MasterStats true
> > 	</Database>
> > </Plugin>
> > <Plugin network>
> > 	Server "172.16.20.86" "25826"
> > 	<Server "172.16.20.86" "25826">
> > 		SecurityLevel None
> > 		Username "client"
> > 		Password "password"
> > 	</Server>
> > 	MaxPacketSize 65535
> > </Plugin>
> > <Plugin rrdtool>
> > 	DataDir "/var/lib/collectd/rrd"
> > </Plugin>
> > Include "/etc/collectd/filters.conf"
> > Include "/etc/collectd/thresholds.conf"
> >
> >
> > Thanks,
> > -C
> >
> >
> >
> >
> > _______________________________________________
> > collectd mailing list
> > collectd at verplant.org
> > http://mailman.verplant.org/listinfo/collectd
> 





More information about the collectd mailing list