Monday 28 September 2009

syslog-ng magic

Just has some help setting up my ubuntu machine to do syslog work for my Sky netgear router. I installed syslog-ng (as it seemed like a good idea) and help was from (http://www.linuxforums.org/forum/linux-networking/74063-router-syslog-entries-your-syslog-howto.html)

and the entries I changed/added to /etc/syslogng/syslog-ng.conf were:

source s_all {
udp();
};

destination routermsg { file("/var/log/router.log"); };
filter f_router {host(192.168.1.1);};

#netgear router
log {
source(s_all);
filter(f_router);
destination(routermsg);
};

No comments:

Post a Comment