Versione 1 del 2011-06-09 21:33:36

Nascondi questo messaggio
Italiano English
Modifica History Actions

OpenWrtRemoteLogging

Logging remoto di una macchina OpenWrt

/!\ CAUTION, WORK IN PROGRESS /!\

  • syslog-ng installato su computer remoto

  • opkg install syslog-ng su router openwrt

  • aggiungere ad /etc/syslog-ng/syslog-ng.conf su computer remoto

source remote {
        tcp(max_connections(10));
};
filter f_openwrt{ host( "10.100.0.1" ); };
destination d_openwrt { file("/var/log/openwrt.log"); };
#log { source(remote); filter(f_everything); destination(d_openwrt);};
log { source(remote); filter(f_openwrt); destination(d_openwrt);};