[syslog-ng] how rewrite the HOST macro?

mobidyc mobidyc at gmail.com
Sun Aug 12 13:47:38 CEST 2007


K K wrote:
>
> Why not just make sure that all of the servers have good reverse DNS
> entries for the IP from which they would source syslog packets, and
> let  "keep_hostname(no); use_dns(yes);" populate $HOST with the DNS
> lookup results?
>   
because it's impossible to change the way the reverse
dns are done.

the names server0e0 and server0e1 are here because
there is multpile networks for the same machine, i can't
ask the network team for change the way they use for
a software i want to use.

i think i need to find another way for dispatch the messages
in the good destinations, maybe dynamically create
symlinks before the message pass through the log statment
but i must be careful with the cpu consumption in this case.

Regards



More information about the syslog-ng mailing list