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

Microsoft Teams is not loading Graph Images. #15997

Closed
Siddhu1096 opened this issue Mar 14, 2019 · 32 comments
Closed

Microsoft Teams is not loading Graph Images. #15997

Siddhu1096 opened this issue Mar 14, 2019 · 32 comments

Comments

@Siddhu1096
Copy link

Siddhu1096 commented Mar 14, 2019

What happened:
Hi Team,

I've been using Grafana for like 6 months and It's working perfectly. The only Bug I'm seeing is that the graph image is not loading on Microsoft Teams unless we click "View Graph" button

graph

I tried making changes in external_image_storage to local and we don't have permission to add s3,webdav,gcs or azure_blob.

local

I thought when I updated Grafana to v6 the issue will solve, but still I'm getting that same bug.

Also thanks team for providing us with a great platform for viewing dashboard! It's really cool!

Environment:

  • Grafana version: 6.0.1
  • Data source type & version: Graphite
  • OS Grafana is installed on: CentOS

Please hep me fix this,
Thanks in advance!

Best,
Siddharth

@torkelo
Copy link
Member

torkelo commented Mar 18, 2019

I tried making changes in external_image_storage to local and we don't have permission to add s3,webdav,gcs or azure_blob.

you need to in order to see images

@torkelo torkelo closed this as completed Mar 18, 2019
@Siddhu1096
Copy link
Author

@torkelo , In order as in ?

@torkelo
Copy link
Member

torkelo commented Mar 19, 2019

Sorry, you need to configure an external image store.

@Siddhu1096
Copy link
Author

@torkelo , So you're saying external_image_store = local won't work? We need to configure in azure/webdav/s3?

@torkelo
Copy link
Member

torkelo commented Mar 19, 2019

yes

@Siddhu1096
Copy link
Author

Okay Thanks for your time!
Good day!

@arifaboobaker
Copy link

Does it worked .. ? Alerting from grafana to microsoft teams ?

@Siddhu1096
Copy link
Author

Siddhu1096 commented Mar 22, 2019

Nope. @arifaboobaker Are you facing the same issue?

@arifaboobaker
Copy link

I can’t even get notifications on Microsoft teams channel.

@Siddhu1096
Copy link
Author

Make sure you've connected your webhook properly with Grafana

@Siddhu1096
Copy link
Author

Alerting works for me. But the image of the alert is not popping up.

@arifaboobaker
Copy link

arifaboobaker commented Mar 23, 2019

I have got the teams channel url and updated it in the alert notification. But am not getting any alert. If I change it to email and update it with teams channel mail I’d am getting alert mail notification to teams channel.
How did u manage to get alert notification to teams channel .. any config changes?

@Siddhu1096
Copy link
Author

Normal url of the channel linking with Grafana alerts won't work.

@Siddhu1096
Copy link
Author

You need to connect it using some connector for example Webhook.

@arifaboobaker
Copy link

Okay, 1st I need to configure webhook on teams channel ?

@Siddhu1096
Copy link
Author

Siddhu1096 commented Mar 23, 2019

Yup. Then a link will generate. That link to be added on Grafana alerts.

@arifaboobaker
Copy link

Okay I will test it on Monday and update you.

@arifaboobaker
Copy link

Hi,
I have configured webhook. Now am able tor receive notifications but images are getting displayed.

@marefr
Copy link
Member

marefr commented Mar 26, 2019

@arifaboobaker you need to configure an external image store as Torkel mentioned above

@Siddhu1096
Copy link
Author

@arifaboobaker "But images are getting displayed?? " Then what is the real problem?

@arifaboobaker
Copy link

arifaboobaker commented Mar 26, 2019

@Siddhu1096 Oops typo .. images are not getting displayed .. its just post the notification with a blank image

@arifaboobaker
Copy link

arifaboobaker commented Mar 26, 2019

@arifaboobaker you need to configure an external image store as Torkel mentioned above

@marefr So how should i do this .. should i edit the config file from back end ?

@marefr
Copy link
Member

marefr commented Mar 26, 2019

http://docs.grafana.org/installation/configuration/#external-image-storage-s3 and below you find other alternatives.

@arifaboobaker
Copy link

Thanks @marefr .

@marefr @Siddhu1096 Do you have a working config to show me as an example.

@Siddhu1096
Copy link
Author

external_image_storage = local won't work for Microsoft Teams.

@arifaboobaker
Copy link

yeah i have tried that. Now creating a container in storage account of azure and trying to add it.
If you have a working config please share it.

@arifaboobaker
Copy link

arifaboobaker commented Mar 27, 2019

I have done the below on and still no luck.

#################################### External Image Storage ##############
#[external_image_storage]
#You can choose between (s3, webdav, gcs, azure_blob, local)
#provider = local

[external_image_storage.azure_blob]
account_name = ihggraphing
account_key = bajkdbasjkda8q0wbjdabskd392q3n232320454sdasdasdasd
container_name = grafanaimages

#[external_image_storage.local]
#does not require any configuration

@Siddhu1096
Copy link
Author

Remove that # in front of external image storage and provider.

@Siddhu1096
Copy link
Author

If you're using azure, provider = azure_blob

@arifaboobaker
Copy link

Yes, it worked.

Thanks Everyone 👍

@ZealousMacwan
Copy link

@Siddhu1096 @torkelo
Hi,

I just started with grafana notification, How to write customized message body, and How to add screenshot,current value, threshold that raised alert in MSFT notification. I am also not getting view graph button.

Thanks,

image

@marefr
Copy link
Member

marefr commented Nov 16, 2019

@ZealousMacwan Please ask questions on our community site. Github are mainly for feature requests and bug reports.

For reference, see Microsoft Teams here it only supports external images (publicly available). More information about how to setup publicly available images, see https://grafana.com/docs/alerting/notifications/#external-image-store.

View graph button should be displayed when image is publicly available.

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

5 participants