louislam / uptime-kuma

A fancy self-hosted monitoring tool
https://uptime.kuma.pet
MIT License
60.16k stars 5.38k forks source link

[RabbitMQ] Monitor troubleshooting #5320

Open FlashModz opened 2 weeks ago

FlashModz commented 2 weeks ago

πŸ“‘ I have found these related issues/pull requests

No

πŸ›‘οΈ Security Policy

Description

When i add RabbitMQ node (With rabbitmq_management enabled) into Kuma, kuma return 406 in results Node appear Offline.

image image

πŸ‘Ÿ Reproduction steps

Add RabbitMQ node HTTP (If rabbitmq-plugins enable rabbitmq_management work) Wait for results

πŸ‘€ Expected behavior

Node appear Online and working

πŸ˜“ Actual Behavior

Node appear Offline

🐻 Uptime-Kuma Version

2.0.0-beta.0

πŸ’» Operating System and Arch

Ubuntu 22.04 LTS

🌐 Browser

Opera

πŸ–₯️ Deployment Environment

πŸ“ Relevant log output

uptime-kuma-1  | 2024-11-07T08:21:31+01:00 [MONITOR] WARN: Monitor #71 'RabbitMQ ACC': Failing: Request failed with status code 406 | Interval: 60 seconds | Type: rabbitmq | Down Count: 0 | Resend Interval: 0
uptime-kuma-1  | 2024-11-07T08:21:36+01:00 [MONITOR] WARN: Monitor #1 'FD-WebTools': Failing: Child inaccessible | Interval: 30 seconds | Type: group | Down Count: 0 | Resend Interval: 0
uptime-kuma-1  | 2024-11-07T08:22:06+01:00 [MONITOR] WARN: Monitor #1 'FD-WebTools': Failing: Child inaccessible | Interval: 30 seconds | Type: group | Down Count: 0 | Resend Interval: 0
uptime-kuma-1  | 2024-11-07T08:22:31+01:00 [MONITOR] WARN: Monitor #71 'RabbitMQ ACC': Failing: Request failed with status code 406 | Interval: 60 seconds | Type: rabbitmq | Down Count: 0 | Resend Interval: 0
uptime-kuma-1  | 2024-11-07T08:22:36+01:00 [MONITOR] WARN: Monitor #1 'FD-WebTools': Failing: Child inaccessible | Interval: 30 seconds | Type: group | Down Count: 0 | Resend Interval: 0
uptime-kuma-1  | 2024-11-07T08:23:06+01:00 [MONITOR] WARN: Monitor #1 'FD-WebTools': Failing: Child inaccessible | Interval: 30 seconds | Type: group | Down Count: 0 | Resend Interval: 0
uptime-kuma-1  | 2024-11-07T08:25:31+01:00 [MONITOR] WARN: Monitor #71 'RabbitMQ ACC': Failing: Request failed with status code 406 | Interval: 60 seconds | Type: rabbitmq | Down Count: 0 | Resend Interval: 0
uptime-kuma-1  | 2024-11-07T08:25:36+01:00 [MONITOR] WARN: Monitor #1 'FD-WebTools': Failing: Child inaccessible | Interval: 30 seconds | Type: group | Down Count: 0 | Resend Interval: 0
uptime-kuma-1  | 2024-11-07T08:26:06+01:00 [MONITOR] WARN: Monitor #1 'FD-WebTools': Failing: Child inaccessible | Interval: 30 seconds | Type: group | Down Count: 0 | Resend Interval: 0
uptime-kuma-1  | 2024-11-07T08:26:31+01:00 [MONITOR] WARN: Monitor #71 'RabbitMQ ACC': Failing: Request failed with status code 406 | Interval: 60 seconds | Type: rabbitmq | Down Count: 0 | Resend Interval: 0
uptime-kuma-1  | 2024-11-07T08:26:36+01:00 [MONITOR] WARN: Monitor #1 'FD-WebTools': Failing: Child inaccessible | Interval: 30 seconds | Type: group | Down Count: 0 | Resend Interval: 0
uptime-kuma-1  | 2024-11-07T08:27:06+01:00 [MONITOR] WARN: Monitor #1 'FD-WebTools': Failing: Child inaccessible | Interval: 30 seconds | Type: group | Down Count: 0 | Resend Interval: 0
uptime-kuma-1  | 2024-11-07T08:29:31+01:00 [MONITOR] WARN: Monitor #71 'RabbitMQ ACC': Failing: Request failed with status code 406 | Interval: 60 seconds | Type: rabbitmq | Down Count: 0 | Resend Interval: 0
uptime-kuma-1  | 2024-11-07T08:29:36+01:00 [MONITOR] WARN: Monitor #1 'FD-WebTools': Failing: Child inaccessible | Interval: 30 seconds | Type: group | Down Count: 0 | Resend Interval: 0
uptime-kuma-1  | 2024-11-07T08:30:06+01:00 [MONITOR] WARN: Monitor #1 'FD-WebTools': Failing: Child inaccessible | Interval: 30 seconds | Type: group | Down Count: 0 | Resend Interval: 0
uptime-kuma-1  | 2024-11-07T08:30:31+01:00 [MONITOR] WARN: Monitor #71 'RabbitMQ ACC': Failing: Request failed with status code 406 | Interval: 60 seconds | Type: rabbitmq | Down Count: 0 | Resend Interval: 0
uptime-kuma-1  | 2024-11-07T08:30:36+01:00 [MONITOR] WARN: Monitor #1 'FD-WebTools': Failing: Child inaccessible | Interval: 30 seconds | Type: group | Down Count: 0 | Resend Interval: 0
uptime-kuma-1  | 2024-11-07T08:31:06+01:00 [MONITOR] WARN: Monitor #1 'FD-WebTools': Failing: Child inaccessible | Interval: 30 seconds | Type: group | Down Count: 0 | Resend Interval: 0
louislam commented 1 week ago

cc: @Suven-p

Suven-p commented 1 week ago

@FlashModz Which version of rabbitmq are you using?

FlashModz commented 1 week ago

@FlashModz Which version of rabbitmq are you using?

Hi,

It's the 3.8.14, Erlang 23.2.3.

Suven-p commented 6 days ago

@FlashModz Could you also include the response from rabbitmq health check endpoint? Preferably from inside kuma container

curl -v "http://$rmqHost:$rmqPort/api/health/checks/alarms"  -H "Authorization:Basic $(echo -n $rmqUser:$rmqPass | base64)"