[collectd] patch: monitor serial port traffic
Florian Forster
octo at verplant.org
Sat Oct 29 11:48:39 CEST 2005
Hello David,
On Fri, Oct 28, 2005 at 04:53:42PM -0700, David Bacher wrote:
> I have created a small module for monitoring serial traffic (as
> reported by /proc/tty/driver/ttyS or /proc/tty/driver/serial).
> This module works on my linux 2.4.19 system (arm architecture). I'm
> not sure whether it will work on others.
thanks for your contribution ;) I never thought of monitoring serial
traffic, but regarding embedded devices this makes perfect sense..
> I have a set of embedded systems that I've started monitoring using
> collectd. I don't have the desire to build rrdtool for these systems,
> but the client side of collectd (in network mode) doesn't actually
> need it.
Hm, that's right.. Obviously I didn't think this client-mode to the end.
I'll have a look at your changes and get back to you if I have any
questions ;)
> I know how to modify the Makefile, but I don't know how to make the
> appropriate autoconf changes.
I'm not quite sure yet how I want to solve this.. One solution would be
to build three binaries `collectd', `collectd-client' and
`collectd-server' that correspondent `local'-, client- and server-mode.
Then autoconf-parameters could switch building of these binaries on or
off.. The other possibility is to build a `client only' (or `server
only') binary and corresponding modules. The `client only' binary would
not link against `librrd', the `server only' modules would not require
`libsensors', `libkstat' or whatever it is the module links against to
get data.. I think I favor the second approach, though.. Looks like a
busy weekend ;)
Thanks again and regards,
-octo
--
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20051029/7c7b7b6e/attachment.pgp
More information about the Collectd
mailing list