dadarara Posted December 5, 2017 Share Posted December 5, 2017 smart people whats the procedure and the commands to make it work please? I have a PRTG monitoring software running on one of the VMs. I would like to save the unraid syslog there. so how do I duplicate the log messages to be sent to 10.0.0.50 port 154 ? Quote Link to comment
tstor Posted December 5, 2017 Share Posted December 5, 2017 In the syslog config file (/etc/rsyslog.conf) the commands are already there, just commented out. Uncomment and adapt the parameters. Quote Link to comment
dadarara Posted December 6, 2017 Author Share Posted December 6, 2017 thanks done it what is this error msg after restart of syslogd Tower liblogging-stdlog: [origin software="rsyslogd" swVersion="8.23.0" x-pid="8683" x-info="http://www.rsyslog.com"] startDec 6 05:38:57 Tower liblogging-stdlog: $WorkDirectory: /rsyslog/spool can not be accessed, probably does not exist - directive ignored [v8.23.0 try http://www.rsyslog.com/e/2181 ]Dec 6 05:38:57 Tower liblogging-stdlog: error starting up disk queue, using pure in-memory mode [v8.23.0 try http://www.rsyslog.com/e/2036 ] Quote Link to comment
tstor Posted December 7, 2017 Share Posted December 7, 2017 rsyslog buffers data in case the central syslog server is unreachable. It tries to buffer in RAM for efficiency, but resorts to queue files if there are too many messages to buffer. The files are created automatically if needed but you need to create the directory for it at the path given in the error message. For more info, look here: http://www.rsyslog.com/doc/master/tutorials/reliable_forwarding.html Quote Link to comment
dadarara Posted December 7, 2017 Author Share Posted December 7, 2017 is it normal the /etc/rsyslog.conf is overwritten on reboot ? the parameters for the forwarding canceled again after the reboot should I edit something on the USB stick ? Quote Link to comment
BRiT Posted December 7, 2017 Share Posted December 7, 2017 Yes. Everything is ran from a ram disk. The system recreates on reboots. You need other means to make changes persistent. User Scripts plug-in could help. You can also edit the "go" file on usb to do commands to. Quote Link to comment
dadarara Posted December 8, 2017 Author Share Posted December 8, 2017 how do i do that? whats the correct commands pls? not very experienced linux user... Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.