domino_admin_toolkit.checks.test_rabbitmq_logs module

RabbitMQ component log analysis using the log_analyzer infrastructure.

This check analyzes logs from RabbitMQ pods using the DominoLogAnalyzer with LogAnalysisResult and AnalysisSummary structures for actionable output and error pattern detection.

domino_admin_toolkit.checks.test_rabbitmq_logs.test_rabbitmq_logs(target)

Parameterized RabbitMQ log analysis for individual RabbitMQ components.

Description:

Analyzes individual RabbitMQ component logs for error rates and critical patterns. Each component is tested separately with its own thresholds from the log analyzer.

Critical patterns include: - Resource limit alarms (memory/disk) - File descriptor limit alarms - Mnesia database timeouts and overload - Connection and socket errors

Failure Conditions:
  • Component has error rate exceeding its specific threshold

  • Critical error patterns detected in component logs (resource alarms, DB issues)

  • Component logs are not accessible for analysis

Success Conditions:
  • Component has error rate within configured threshold

  • No critical error patterns found

  • Component logs accessible and properly analyzed