Re: Logging.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Wed, 3 Mar 2010, Stephen John Smoogen wrote:

> Currently logs are 'shipped' to log01 which uses some syntactic magic
> to put various logs into hostname appropriate directories.. eg logs
> from xen10 go into /var/log/hosts/xen10/. However sometimes this does
> not work correctly. hostnames are found via reverse lookups and if no
> hostname is found then the IP address is found. So anytime there is a
> DNS outage or problem, logs get shoved into directories like
> /var/log/hosts/10.5.126.10/
>
> In order to clean up the various spazes, I have moved all the files
> into appropriate hostnames and made symbolic links so that IP address
> points to hostname.


Would it be possible to have puppet or something spit out a list of 
ips->hostnames from our dns records to a static nss_hosts or other hosts file to put on log01 
so it never gets to a place where it loses a hostname?


In a past life the logging infrastructure I worked on did just that.

-sv

_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux