Hmm, doesn’t seem to work unless I’m doing something wrong:

 

<img src='https://observium.xyz.com/graph.php?type=port_bits&id={graph[0]}&format=png' />

 

Looking at your email alert html code it looks a little different :/

 

Thank you.

 

From: observium <observium-bounces@observium.org> on behalf of Mike Stupalov via observium <observium@observium.org>
Reply to: Observium <observium@observium.org>
Date: Wednesday, 29 July 2020 at 08:09
To: Observium <observium@observium.org>, Adam Armstrong via observium <observium@observium.org>
Cc: Mike Stupalov <mike@observium.org>
Subject: Re: [Observium] FW: Graph Embeding

 



Adam Armstrong via observium wrote on 29.07.2020 04:45:

It’s just passing that through to rrdtool. I’m not sure which we support properly but :

 

[-a|--imgformat PNG|SVG|EPS|PDF|XML|XMLENUM|JSON|JSONTIME|CSV|TSV|SSV]

 

I think png/svg/xml/json/csv work, but it was a long time ago when I added that J

exactly this formats :D

 

Adam.

 

 

From: observium <observium-bounces@observium.org> On Behalf Of Serghei Golipad via observium
Sent: 28 July 2020 16:31
To: Risto Jürisson via observium <observium@observium.org>
Cc: Serghei Golipad <s.golipad@uk.cdw.com>
Subject: [Observium] FW: Graph Embeding

 

 

Hi Guys,

 

What are options for “format” setting when generating a graph URL other than SVG?

 

e.g.: /graph.php?type=port_bits&id=xyz&format=svg

 

Thank you.

 

 




PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL.

CDW Limited is a Company registered in England and Wales.
This email is sent for and on behalf of CDW Finance Holdings Limited. CDW Finance Holdings Limited is the UK holding company for CDW Limited trading as CDW. The registered office for CDW Finance Holdings Limited (Company Number 05872067) and its UK group undertakings is 10 Fleet Place, London, EC4M 7RB. VAT Registration 902 1949 39.
Confidentiality: This e-mail contains proprietary information, some or all of which may be confidential and/or legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail and then delete the original. If you are not the intended recipient you may not use, disclose, distribute, copy, print or rely on any information contained in this e-mail. You must not inform any other person other than CDW or the sender of its existence.

For more information about CDW please visit www.uk.cdw.com





_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

 

--
Mike Stupalov
Observium Limited, http://observium.org