On Mon, Feb 04, 2008 at 11:21:16PM +0100, Michael Biebl wrote:
> Could you explain a little, how jffnms uses syslog-ng (from your
> description it sounds the other way around: syslog-ng using jffnms as
> storage backend)
It's basically using syslog-ng as a converter from UDP syslog packets
from remote routers and sending those messages into a specific format
into a JFFNMS database.

> Indeed, rsyslog can log into mysql and psql databases.
> As I haven't quite understood yet, how the interaction between jffnms
> and syslog-ng is, I'm not yet sure if that can be applied to rsyslog or not.
It has a clause in their configuration to pass the syslog messages
in the following format:

 template("INSERT INTO syslog (date, date_logged, host, message) VALUES
 ('$YEAR-$MONTH-$DAY $HOUR:$MIN:$SEC', NOW\(\), '$FULLHOST',
 '$MSG');\n")

It's documented here:
http://www.jffnms.org/docs/jffnms_14.html#id2

 - Craig
-- 
Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
http://www.enc.com.au/                             csmall at : enc.com.au
http://www.debian.org/          Debian GNU/Linux, software should be Free 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to