Linux Archive

Linux Archive (
-   Debian User (
-   -   Syslog-ng problem : IP Address folder (

Julien Groselle 03-23-2012 01:02 PM

Syslog-ng problem : IP Address folder
Hello everybody,

I have posted that on syslog-ng mailing-list, but i don't have any answer for now...I try to submit my problem to debian's experts ;)

I work for a lange society, and we use syslog-ng for 5 years now.We have a centralized server with storage tank to keep logs securly.
Concretely, we have 2 centralized servers syslog-ng in chrooted environement, and 50 clients servers.

Since we use TLS transport in place of stunnel workaround, we have many issues :Β*- First of all, many logs aren't writen in $HOST folder but in IPADDRESS folder. So, to be clear, this is an exemple :

# lsdrwxr-x--- Β* 8 root adm Β* Β* Β*4,0K Β*1 mars Β*00:07Β* Β*53 root adm Β* Β* Β*4,0K 19 mars Β*00:35 host1

I assume thatΒ*host1Β*haveΒ*Β*IP address andΒ*

# treeβ”œβ”€β”€ 02-user-

β”œβ”€β”€ 06-user-β”œβ”€β”€ 07-user-β”œβ”€β”€ 08-user-β”œβ”€β”€ 09-user-β”œβ”€β”€ 12-user-
β”œβ”€β”€ 13-user-β”œβ”€β”€ 14-user-β”œβ”€β”€ 15-user-β”œβ”€β”€ 16-user-└── 19-user-

# tree host1/2012-03/ |grep 19-β”œβ”€β”€ 19-apache.access-host1.logβ”œβ”€β”€ 19-apache.error-host1.logβ”œβ”€β”€ 19-authpriv-host1.logβ”œβ”€β”€ 19-auth-host1.log
β”œβ”€β”€ 19-cron-host1.logβ”œβ”€β”€ 19-daemon-host1.logβ”œβ”€β”€ 19-kern-host1.logβ”œβ”€β”€ 19-mail-host1.logβ”œβ”€β”€ 19-nagios-host1.logβ”œβ”€β”€ 19-puppetd-host1.logβ”œβ”€β”€ 19-syslog-host1.log

└── 19-user-host1.log
(we have this problem with many servers)In facility "user" for hostΒ*Β*in fact i have log for snmptrapd... But why ??

We have config for snmpd but not for snmptrapd...Β*So i have tried to define a default facility => failedAfter i have tried many dns and hostnames options => failed

As anyone here have a way to search for me ?If you need more details, i'm your's.
Kind regards.--JG

All times are GMT. The time now is 01:33 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.