Skip to main content
Version: 10.2

Remote Syslog Troubleshooting

Connectivity Issues​

Error Remote syslog server is not accessible, syslog transport disabled​

When starting the server, you see a warning message in the logs:

Remote syslog server syslog.example.com:514 is not accessible, syslog transport disabled

Or:

Failed to check syslog server accessibility (syslog.example.com:514): Connection timeout, syslog transport disabled

Logs Not Appearing in Syslog Server​

Server logs are not appearing in the remote syslog server, even though no error messages are shown.

Common Errors​

Error ERR_SOCKET_DGRAM_NOT_RUNNING​

Error [ERR_SOCKET_DGRAM_NOT_RUNNING]: Not running
at healthCheck (node:dgram:965:11)
at Socket.close (node:dgram:790:3)

Debug Checklist​

Use this checklist to systematically troubleshoot remote syslog issues:

  • 1. Verify Environment Variables

    env | grep REMOTE_SYSLOG

    Should show:

    • REMOTE_SYSLOG_ENABLED=true
    • REMOTE_SYSLOG_HOST=<your-syslog-server>
    • REMOTE_SYSLOG_PORT=514
    • REMOTE_SYSLOG_PROTOCOL=udp|tcp
  • 2. Check Server Logs

    docker logs monitor-server | grep -i syslog

    Look for:

    • No warnings about syslog being disabled
    • No connection errors
  • 3. Test Connectivity

    nc -vz <syslog-host> 514
  • 4. Verify Syslog Server

    docker ps | grep monitor-syslog
    docker logs monitor-syslog
  • 5. Check Firewall

    sudo ufw status
    sudo iptables -L INPUT -n -v
  • 6. Test Direct Logging

    logger -n <syslog-host> -P 514 "test"
  • 7. Verify Server Restart

    • After any configuration change, restart the entire server
    • Logging is initialized at startup and cannot be changed dynamically
  • 8. Check Syslog Server Logs

    tail -f /var/log/syslog
    tail -f /var/log/messages
  • 9. Monitor UDP Traffic (if using UDP)

    tcpdump -i any -n udp port 514
  • 10. Enable Verbose Logging

    LOG_LEVEL=debug

Additional Resources​