You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to get remote logging setup for 0.2 if we want to have useful feedback about the launch. I'll add it to the monitoring server. I believe that we'll want hostnames monitor.sudomesh.org instead of ip addresses, but I believe I have access to sudomesh dns so I can set that up for now.
The text was updated successfully, but these errors were encountered:
For the monitoring server, I added the following file /etc/rsyslog.d/10-peoplesopen.conf with the following:
#This one is the template to generate the log filename dynamically, depending on the client's IP address.
$template RemoteHost,"/var/log/remote-ips/%fromhost-ip%-syslog.log"
$RuleSet remote
*.* ?RemoteHost
# provides UDP syslog reception
$ModLoad imudp
$InputUDPServerBindRuleset remote
$UDPServerRun 514
$RuleSet RSYSLOG_DefaultRuleset
Which will generate a new file for each ip that is remote logging.
Also need to remember to add a rule for rotating in /etc/logrotate.d/rsyslog:
We need to get remote logging setup for 0.2 if we want to have useful feedback about the launch. I'll add it to the monitoring server. I believe that we'll want hostnames
monitor.sudomesh.org
instead of ip addresses, but I believe I have access to sudomesh dns so I can set that up for now.The text was updated successfully, but these errors were encountered: