Really SOLVED: world viewable /var/log/mail.info

Apollon Koutlides apollon at planewalk.net
Thu Sep 14 11:27:18 EEST 2006


Christos Ricudis wrote:
> Misw apisteyta ta ouranokatebata alternatives twn standard UNIX tools 
> eidika otan exoun efta matia kai tria xeria. Gia paradeigma, apex8anomai 
> frixta to xinetd h to star, h opoiondhpote allo tetoiou stul newterismo 
> skeftei kapoios a8lios na enswmatwsei sto distribution tou aplws epeidh 
> tou gyalise.
>
> Yparxei mia kai monadikh eksairesh.
>
> Legetai syslog-ng.
>   
Υπερθεματίζω!!!
> Osoi phzete me log files, rixte tou mia matia. Aksizei ton kopo. To pio 
> wraio ap'ola einai na to sthseis se ena kentriko log server,
> me kapoio configuration tou styl :
>
>  destination remotelogs { 
> file("/var/log/remote/$SOURCEIP/$YEAR-$MONTH-$DAY/$FACILITY"); };
>
> (deite to documentation tou gia leptomereies)
>
> Sta ypoloipa mhxanhmata kratas to syslogd kai aplws anakatey8yneis to 
> sympan ston kentriko log server :
>
> *.info                  @192.168.318.2
>
> Voila! Instant symmazemena log files. To rotation ginetai paneykola me 
> th find, briskete ola ta log files sas taktopoihmena se ena meros, de 
> gemizete diskous tzampa, kai fysika den exete log files ama sas pesei to 
> LAN, pragma poy sas parakinei na to exete panta se katastash etoimothtas.
>   
Επιπλέον, αποκτάς έτσι κεντρικό σημείο επίβλεψης όπου μπορείς να στήσεις
τα φίλτρα σου και να παράγεις alerts από τις εφαρμογές σου...
(hint: μπορώ και με τη Java μου και log4j).

Α.




More information about the Linux-greek-users mailing list