Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Error's, but no Notification #1

Open
git-eri opened this issue Dec 15, 2024 · 1 comment
Open

No Error's, but no Notification #1

git-eri opened this issue Dec 15, 2024 · 1 comment

Comments

@git-eri
Copy link

git-eri commented Dec 15, 2024

I am really interested in getting some notifications on Discord but i just can't make it happen.

I did everything the readme.md told me to do so and rechecked everything. I think it may be a checkmk installation failure on my end but maybe someone could help me find the right settings.

The output of ~/var/log/notify.log

2024-12-15 22:54:12,399 [20] [cmk.base.notify] Analysing notification (10.1.1.1) context with 39 variables
2024-12-15 22:54:12,399 [20] [cmk.base.notify] Global rule 'Discord'...
2024-12-15 22:54:12,399 [20] [cmk.base.notify]  -> matches!
2024-12-15 22:54:12,399 [20] [cmk.base.notify]    - adding notification of automation via discord.py
2024-12-15 22:54:12,399 [20] [cmk.base.notify] Executing 1 notifications:
2024-12-15 22:54:12,399 [20] [cmk.base.notify]   * would notify automation via discord.py, parameters: https://discord.com/api/webhooks/*******3/*******5, bulk: no

This is when i try to test the notification. 1 notification rules are matching and 1 resulting notifications for the automation user.
But no notification in the Discord channel.
Any ideas what i could have misconfigured? Is there another logfile i could look for errors?
Already checked dns and firewall, everything is reachable.
Checkmk Raw Edition 2.3.0p21

@Cillu
Copy link

Cillu commented Jan 30, 2025

This happened to me as well and then I realized that sending out a test notification doesn't seem to work. Instead, what got this working was to:

  1. Within the notification configuration page, click on 'Show analysis'
  2. Click 'replay this notification' on any of your previously sent notifications
  3. Boom, notifications!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants