inverse-inc / packetfence-monitoring-scripts

PacketFence Monitoring Scripts
2 stars 5 forks source link

provide instructions to fix non-async syslog #38

Open julsemaan opened 3 years ago

julsemaan commented 3 years ago

Work on my side but display useless "\n" on the screen:

The rsyslog daemon is not using the asynchronous mode for /var/log/messages \n
To fix this, run: \n
  sed -i 's#\s/var/log/messages# -/var/log/messages#' /etc/rsyslog.conf \n
  systemctl restart rsyslog \n

It doesn't when you run it via the run-all.sh script (which is what the monitoring scripts are wrapped into)

nqb commented 3 years ago

@fdurand, could you provide your feedback on this and merge if it's fine for you ?