Re: [collectd] Modbus support

2011-01-09 Thread Florian Forster
Hi Matt,

On Fri, Jan 07, 2011 at 10:33:34PM +1030, Matt Baker wrote:
 Unfortunately though I discovered that the device I am using to do the
 Modbus conversion supports Modbus/TCP for interfaces connected
 directly, but provides a Modbus RTU over TCP for other external Modbus
 serial devices.

I thought that's what Modbus/TCP was, the Modbus protocol encapsulated
in a TCP stream rather than written to a serial interface. How is this
RTU over TCP thing different? Is there an additional protocol layer?

 Before I start going into this too far I was wondering if you had any
 thoughts on how difficult it would be to modify collectd to do this?

I'd actually implement this for libmodbus first, then adapt collectd /
the Modbus plugin if necessary. Author and maintainer of libmodbus is
Stéphane Raimbault who is very likely a much better help with anything
Modbus related than I am ;)

Best regards,
—octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x0C705A15
http://octo.it/


signature.asc
Description: Digital signature
___
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd


Re: [collectd] Installing collectd on Solaris hosts

2011-01-09 Thread Jean-Paul Blaquiere
Thank you for the ldd check.  I had neglected to run that one, assuming that I 
had the right libraries installed already.
It picked up the fact that I did not have the gcc3 run time libraries installed 
on my prod zones, only the gcc4 run times.  collectd is referencing the gcc3 
libraries.  added them and it appears to be fixed.
Thank you.

broken system:
[r...@gytha collectd]# ldd /opt/collectd/lib/libcollectdclient.so
libc.so.1 = /lib/libc.so.1
libgcc_s.so.1 = (file not found)
libm.so.2 = /lib/libm.so.2
[r...@gytha collectd]# 

working system:
[r...@evadne collectd]# ldd /opt/collectd/lib/libcollectdclient.so
libc.so.1 = /lib/libc.so.1
libgcc_s.so.1 = /opt/csw/lib/libgcc_s.so.1
libm.so.2 = /lib/libm.so.2
[r...@evadne collectd]# 


 See: http://www.sunfreeware.com/pkgadd.html
 
ahhh just the thing.   Midnight reading.  thank you.
 

./jp
-- 
Jean-Paul Blaquiere
jeanp...@blaquiere.id.au




___
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd