Redirecting Gargoyles SysLogs to the Synology NAS
Other Information
- http://ift.tt/2amTYbL
- Displaying Logs (when logged on in the router: logread -f)
Directing the SysLogs. In this example, the NAS has the IP address 192.168.1.187
uci set system.@system[0].log_ip=192.168.1.187
uci set system.@system[0].conloglevel=7
uci commit
reboot
Opening a firewall port - as described in some posts - was not necessary
Removing the redirection
uci del system.@system[0].log_ip
uci commit
reboot
or
open /etc/config/system file and just remove the lines from it
root@Gargoyle:~# cat /etc/config/system
config timeserver 'ntp'
list server '0.pool.ntp.org'
list server '1.pool.ntp.org'
list server '2.pool.ntp.org'
option enabled '1'
option enable_server '1'
config led 'led_wan'
option name 'WAN LED (green)'
option sysfs 'netgear:green:wan'
option default '0'
config led 'led_usb'
option name 'USB'
option sysfs 'netgear:green:usb'
option trigger 'usbdev'
option dev '1-1'
option interval '50'
config button 'reboot_button'
option button 'wps'
option action 'released'
option handler 'logger reboot ; /usr/lib/gargoyle/reboot.sh ;'
option min '3'
option max '90'
config button 'reset_button'
option button 'reset'
option action 'released'
option handler 'logger restore defaults ; /sbin/firstboot ; reboot ;'
option min '3'
option max '90'
config system 'system'
option hostname 'Gargoyle'
option cronloglevel '9'
option timezone 'CET-1CEST,M3.5.0/2,M10.5.0/3'
option log_ip '192.168.1.187'
Tags: Netgear, Router, Synology, NAS, Publish, Gargoyle, SysLog
July 21, 2016 at 10:18PM
No comments :
Post a Comment