节点无法将日志转发到外部系统日志服务器
适用场景
StorageGRID
问题描述
- 在Grid Manager中出现警报-
Logs are being added to the on-disk queue - Node cannot forward logs to the external syslog server and the on-disk queue is filling up.
- 使用文档正确设置系统日志— 配置审核消息和外部系统日志服务器
- 网格与系统日志服务器之间可以进行通信/ ping、但尝试访问指定的系统日志端口会导致:
A TCP or TLS connection to the syslog server was refused
- 这些消息可以在 /味 噌/miscd.log或miscd.latest.log中看到
syslMon - INFO -- Checking 'cannot connect to <syslog server>:<syslog port>: Connection refused
syslMon - INFO -- Detected 'p_connection_refused'
syslMon - INFO -- Setting forwarding error for remoteSyslogServerA
syslMon - INFO -- Updating connection state for remoteSyslogServerA
- 在netcat或尝试从网格内的节点访问该端口时、可能会显示以下消息:
-> nc -zv <syslog server><syslog port>
nc: connect to <syslog server> (<syslog server ip>) port <syslog port> (tcp) failed: Connection refused