Challenge - 5 Problems
RabbitMQ Log Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate2:00remaining
Identify the error from RabbitMQ log snippet
Given the following RabbitMQ log snippet, what is the main error reported?
2024-04-01 10:15:23.456 [error] <0.123.0> closing AMQP connection <0.123.0> (192.168.1.10:5672 -> 192.168.1.20:5672): connection_closed_abruptly
Attempts:
2 left
💡 Hint
Look for keywords related to connection status in the log.
✗ Incorrect
The log shows 'connection_closed_abruptly' which means the client closed the connection unexpectedly.
❓ Troubleshoot
intermediate2:00remaining
Troubleshoot RabbitMQ node not joining cluster
You try to join a RabbitMQ node to a cluster but it fails. The log shows:
What is the most likely cause?
=ERROR REPORT==== 1-Apr-2024::11:00:00 ===
** Node rabbit@node2 not responding to pings.
What is the most likely cause?
Attempts:
2 left
💡 Hint
Check network connectivity and node status.
✗ Incorrect
The error means the node is not reachable or not running, so it cannot respond to cluster pings.
❓ Configuration
advanced2:00remaining
Correct RabbitMQ configuration for log rotation
Which configuration snippet correctly enables log rotation by size in RabbitMQ's configuration file?
Attempts:
2 left
💡 Hint
Check the correct prefix for log rotation settings in RabbitMQ config.
✗ Incorrect
The correct keys for log rotation in RabbitMQ config use 'log.file.rotation.size' and 'log.file.rotation.count'.
✅ Best Practice
advanced2:00remaining
Best practice for analyzing RabbitMQ logs in production
What is the best practice when analyzing RabbitMQ logs to troubleshoot intermittent connection issues in a production environment?
Attempts:
2 left
💡 Hint
Think about how to get detailed info without affecting production negatively.
✗ Incorrect
Temporarily enabling debug logs helps capture detailed info during issues without permanent overhead.
🧠 Conceptual
expert2:00remaining
Understanding RabbitMQ log message levels
Which RabbitMQ log message level indicates a serious problem that requires immediate attention but does not stop the server from running?
Attempts:
2 left
💡 Hint
Consider severity levels from least to most critical.
✗ Incorrect
Error level logs indicate serious problems that need attention but usually do not crash the server.