[syslog-ng]configuration problem: destination where the logfiles are saved

Buerger, Manfred Manfred.Buerger@upc.at
Fri, 12 Jul 2002 12:45:13 +0200


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C22991.340980F0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

hello,

i have installed syslog-ng on Suse Linux 8.0, and i want to monitor the
network components (switches, routers...).=20
i have allready done the configuration in the syslog-ng.conf. with =
cisco
components it works fine! the logs are correct stored in
"/var/log/syslog-ng/$HOST/messages" . for each network host a seperate
directory is generated, where the logs are stored!=20
But this don=B4t work with enterasys and cabletron network equipment! =
instead
of the host, the message itself bilds the  directory:

myhost:/var/log/syslog-ng # ls -ll
total 2
drwxr-x---    2 root     root           72 Jul  9 17:56 =
%CLI-E-FACUNKNWN,
drwxr-x---    2 root     root           72 Jul  9 22:40 %CLI-E-IVCMD,
drwxr-x---    2 root     root           72 Jul  9 19:05 =
%CLI-E-IVPORTLIST,
drwxr-x---    2 root     root           72 Jul  9 19:03
%SYS-I-BKPLANEOFFLINED,
drwxr-x---    2 root     root           72 Jul  9 19:05 %SYS-I-DSCVMOD,
drwxr-x---    2 root     root           72 Jul  9 19:05 =
%SYS-I-HOTSWAPIN,
drwxr-x---    2 root     root           72 Jul  9 18:50 =
%SYS-I-HOTSWAPOUT,
drwxr-x---    2 root     root           72 Jul  9 19:05
%SYS-I-HOTSWAP_INRXD,
drwxr-x---    2 root     root           72 Jul  9 18:50
%SYS-I-HOTSWAP_OUTRXD,
drwxr-x---    2 root     root           72 Jul  9 19:05 =
%SYS-I-INITPORT,
drwxr-x---    2 root     root           72 Jul  9 18:19 %SYS-W-PWRFAIL,
drwxr-x---    2 root     root           72 Jul  3 10:52
%TELNETD-W-IDLE_TIMEOUT,
drwxr-x---    2 root     root           72 Jul  6 12:07
%TELNETD-W-LOGINFAIL,
drwxr-x---    2 root     root           72 Jul  9 19:06 =
%VLAN-I-ADDSUCCESS,
drwxr-x---    2 root     root           72 Jul  4 00:22 %WAN-I-MSG,
drwxr-x---    2 root     root           72 Jul  9 10:13 10.146.18.3

the last directory "10.146.18.3" is correct, it contains the logs of a =
cisco
device.
how can i configure syslog-ng, that also the enterasys/cabletron =
devices
build correct directory structure, like the cisco device does ???

thanks in advance

manfred

------_=_NextPart_001_01C22991.340980F0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">



configuration problem: destination where the logfiles are =
saved



hello,

i have installed syslog-ng on Suse = Linux 8.0, and i want to monitor the network components (switches, = routers...).
i have allready done the = configuration in the syslog-ng.conf. with cisco components it works = fine! the logs are correct stored in = "/var/log/syslog-ng/$HOST/messages" . for each network host a = seperate directory is generated, where the logs are stored!

But this don=B4t work with enterasys = and cabletron network equipment! instead of the host, the message = itself bilds the  directory:

myhost:/var/log/syslog-ng # ls = -ll
total 2
drwxr-x---    2 = root     = root           72 = Jul  9 17:56 %CLI-E-FACUNKNWN,
drwxr-x---    2 = root     = root           72 = Jul  9 22:40 %CLI-E-IVCMD,
drwxr-x---    2 = root     = root           72 = Jul  9 19:05 %CLI-E-IVPORTLIST,
drwxr-x---    2 = root     = root           72 = Jul  9 19:03 %SYS-I-BKPLANEOFFLINED,
drwxr-x---    2 = root     = root           72 = Jul  9 19:05 %SYS-I-DSCVMOD,
drwxr-x---    2 = root     = root           72 = Jul  9 19:05 %SYS-I-HOTSWAPIN,
drwxr-x---    2 = root     = root           72 = Jul  9 18:50 %SYS-I-HOTSWAPOUT,
drwxr-x---    2 = root     = root           72 = Jul  9 19:05 %SYS-I-HOTSWAP_INRXD,
drwxr-x---    2 = root     = root           72 = Jul  9 18:50 %SYS-I-HOTSWAP_OUTRXD,
drwxr-x---    2 = root     = root           72 = Jul  9 19:05 %SYS-I-INITPORT,
drwxr-x---    2 = root     = root           72 = Jul  9 18:19 %SYS-W-PWRFAIL,
drwxr-x---    2 = root     = root           72 = Jul  3 10:52 %TELNETD-W-IDLE_TIMEOUT,
drwxr-x---    2 = root     = root           72 = Jul  6 12:07 %TELNETD-W-LOGINFAIL,
drwxr-x---    2 = root     = root           72 = Jul  9 19:06 %VLAN-I-ADDSUCCESS,
drwxr-x---    2 = root     = root           72 = Jul  4 00:22 %WAN-I-MSG,
drwxr-x---    2 = root     = root           72 = Jul  9 10:13 10.146.18.3

the last directory = "10.146.18.3" is correct, it contains the logs of a cisco = device.
how can i configure syslog-ng, that = also the enterasys/cabletron devices build correct directory structure, = like the cisco device does ???

thanks in advance

manfred

------_=_NextPart_001_01C22991.340980F0--