Not all notifications send through all channels / to all accounts? #1213
Unanswered
Starfiresg1
asked this question in
Q&A
Replies: 1 comment 1 reply
-
The quick answers: "Notifications" section of the panel only applies to speedtests so when you run maintenance or other features of the application and a UI notification is shown it's only being sent to the user who triggered it. Additionally the database notification regarding the data migration that are shown in the UI sent to all #40 also Gotify is not currently supported. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I just upgraded to v16.6 from v15 and noticed that the notifications regarding the data migration (notification about the change, start and finish of the migration) where only displayed in the GUI top right.
I have set up webhook notifications (test message works) but these notifications didn't show up in the webhook endpoint?
Is this supposed to be like this?
Furthermore I have setup a second account with a different e-mail than admin@example.com which too has the admin role.
When logged with this account I got the database migration notifications in the top right.
To be save I decided to do the migration with the default admin@exmaple.com account.
There I noticed that I had a lot of notifications that didn't appear in the second account.
The admin@example.com account had threshold messages that newer appeared on the second account. Didn't miss them because I didn't notice the treshold being breached.
Threshold and notification settings
![grafik](https://private-user-images.githubusercontent.com/8659009/306714594-03bb17ec-b40f-4b16-a686-7e49c8eb8f0e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk1OTMxNjcsIm5iZiI6MTcxOTU5Mjg2NywicGF0aCI6Ii84NjU5MDA5LzMwNjcxNDU5NC0wM2JiMTdlYy1iNDBmLTRiMTYtYTY4Ni03ZTQ5YzhlYjhmMGUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjhUMTY0MTA3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTExZTA4OWNiMmUxMGU4YzNmNzNjYTU1ZTMwYWI3M2RmMTkwOGFhNmQ3MGNlYjY4ODRhYmZlZTMzZjAwNjBkZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.7cxarY8KjkHGRsnlYcKe0s0TDK2o5uitKOtDo87TpWI)
![grafik](https://private-user-images.githubusercontent.com/8659009/306715055-ee41af20-cc62-46bc-a99c-798e4f647d0b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk1OTMxNjcsIm5iZiI6MTcxOTU5Mjg2NywicGF0aCI6Ii84NjU5MDA5LzMwNjcxNTA1NS1lZTQxYWYyMC1jYzYyLTQ2YmMtYTk5Yy03OThlNGY2NDdkMGIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjhUMTY0MTA3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODJhMGE4ZWQxOTJiZTE0ODdjOTE1ZjdiNzU3N2E0OTQ5NTc3YWVhZGM2YTM5ZDUyODYwNTEyOTIyZDk3MmU4NSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.lnSnCdoKM5WRcAEJW2WERNY4L3tWb4ygjRHocbfQWGQ)
Strangely the threshold notifications only appear in the admin@example.com account - not in the second account.
Seems to me all notifications are currently only send to the first user? While the webhook test works the treshold messages aren't sent to the endpoint at all.
Edited: Took a look at the source code - seems to be not compatible with my endpoint (Gotify):
The test notification sends a "message" as payload - which is supported and required by Gotify (additionally priority and title are supported). So the test message works fine.
On speedtest run or threshold failure the payload doesn't contain a message at all - instead 'result_id', 'site_name' and 'metrics' in case of threshold failure. So the messages are probably discarded by Gotify because the 'message' is required and missing. From Gotify it probably considers the notification "empty".
Beta Was this translation helpful? Give feedback.
All reactions