As it is the machine with the most redundancy, there are many tasks that fall onto my XigmaNAS server. One of those tasks is serving as a syslog destination for other devices.
However, you cannot get that behavior by default as its syslog server will start in secure mode (-ss
) without opening any socket. And there is no easy GUI way to make it accept syslog messages.
But here comes the power of postinit actions. Just add the following in System
⮞Advanced
⮞Command scripts
as the new PostInit
entry:
PostInitsed -i -e 's^ -ss^ -a 192.168.0.0/16^' /etc/rc.d/syslogd ; /etc/rc.d/syslogd restart
Your XigmaNAS server will now accept all messages coming from your local network.
PS: To troubleshoot settings, you can do the following on the command line:
Terminalkenv rc.debug=1
/etc/rc.d/syslogd restart