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

Webex Notification cannot carry rendered image #79367

Closed
bossjie opened this issue Dec 12, 2023 · 3 comments
Closed

Webex Notification cannot carry rendered image #79367

bossjie opened this issue Dec 12, 2023 · 3 comments
Labels
bot/no new info Bot will automatically close issue with standard message

Comments

@bossjie
Copy link

bossjie commented Dec 12, 2023

What happened?

After installing image render and test it works(below link could see the pic).
setting via this guide, https://grafana.com/docs/grafana/latest/alerting/manage-notifications/images-in-notifications/
ps: we set upload_external_image_storage = false

It still doesn't send image when trigger from alert. enabled the debug level log, it does saved image into local disk and the images are well captured per my laptop check.
below is the log with grep.

tail -f grafana.log | grep ngalert.image
logger=ngalert.image rule_uid=vLj9q564k org_id=1 dashboard=IAGk-Z17k panel=18 t=2023-12-12T03:20:08.707811527Z level=debug msg="Requesting screenshot"
logger=ngalert.image rule_uid=vLj9q564k org_id=1 dashboard=IAGk-Z17k panel=18 t=2023-12-12T03:20:13.4600448Z level=debug msg="Took screenshot" path=/var/lib/grafana/png/3aprhGBU8tOFIHfHFeh6.png
logger=ngalert.image rule_uid=vLj9q564k org_id=1 dashboard=IAGk-Z17k panel=18 t=2023-12-12T03:20:13.460149855Z level=debug msg="Uploaded image" url=
logger=ngalert.image rule_uid=vLj9q564k org_id=1 dashboard=IAGk-Z17k panel=18 t=2023-12-12T03:20:13.463287584Z level=debug msg="Saved image" token=8dba6470-d14d-483d-b90c-a301c66b154f

does it supported via this way(running in single server with grafana and image render container), or it requires reference from cloud storage?
https://github.com/grafana/grafana/pull/58480/files#diff-24ebd0e091433750f34cd1df381b31c7933b69fe398315dfa9d8a5b2c66f0b15
https://grafana.com/docs/grafana/latest/alerting/manage-notifications/images-in-notifications/#supported-contact-points

I read this #58480
and not sure the image is supported or not.

What did you expect to happen?

image sent into webex app

Did this work before?

no, first try but it works via our webhook service

How do we reproduce it?

  1. install image render, follow https://grafana.com/docs/grafana/latest/alerting/manage-notifications/images-in-notifications/
  2. set contact point with roomid and bot token well for webex app
  3. test send(usually in rest contact point, it carries a sample image)
    or make an alert with this contact point, this alert need set up dashboard and panel id so it could capture the image.

Is the bug inside a dashboard panel?

no

Environment (with versions)?

Grafana: 9.4.7
OS: centos 7
Browser: chrome

Grafana platform?

Docker

Datasource(s)?

No response

@bossjie
Copy link
Author

bossjie commented Dec 12, 2023

@gotjosh Thanks for having a look. it's great that you made this entry for webex. I'm from Cisco webex.

@usmangt
Copy link
Contributor

usmangt commented Jan 4, 2024

:Hi @bossjie,

Thanks for opening this issue.

Grafana's current latest stable version is 10.2.x and the version you are using is a bit older now. Also, there are numerous bug fixes and improvements had been made along the releases (see Changelog)

The recommendation would be to test this in the recent stable version and if that does not work then feel free to report it here.

@usmangt usmangt added the needs more info Issue needs more information, like query results, dashboard or panel json, grafana version etc label Jan 4, 2024
@usmangt usmangt added the bot/no new info Bot will automatically close issue with standard message label Jan 18, 2024
@usmangt usmangt added bot/no new info Bot will automatically close issue with standard message and removed bot/no new info Bot will automatically close issue with standard message labels Feb 6, 2024
@grafanabot
Copy link
Contributor

We've closed this issue since it needs more information and hasn't had any activity recently. We can re-open it after you you add more information. To avoid having your issue closed in the future, please read our CONTRIBUTING guidelines.

Happy graphing!

@grafanabot grafanabot removed the needs more info Issue needs more information, like query results, dashboard or panel json, grafana version etc label Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot/no new info Bot will automatically close issue with standard message
Projects
None yet
Development

No branches or pull requests

3 participants