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´t 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
participants (1)
-
Buerger, Manfred