Skip navigation
7502 Views 12 Replies Latest reply: May 21, 2012 9:05 AM by joanypony RSS
James Stewart Rank: Green Belt 91 posts since
Dec 1, 2010
Currently Being Moderated

Jan 3, 2011 10:50 PM

Reports Emails contain no images or styling

Hello all,

 

I've been attempting to use the reportmail script to email out both Multi-Graph and Performance reports. When these arrive in Outlook however, they are lacking any kind of styling and the graphs do not appear at all. Here are the urls I am passing to reportmail and screenshots of what I'm seeing in Outlook:

 

--url=http://myzendserver:8080/zport/dmd/reports#reporttree:.zport.dmd.Reports.Multi-Graph%20Reports.WAN.Japan.Osaka

zenoss_report_1.png

--url=http://myzendserver:8080/zport/dmd/reports#reporttree:.zport.dmd.Reports.Performance%20Reports.CPU%20Utilization

zenoss_report_2.png

 

I notice in the source of the emails, the urls in the reports seem to have had the host part stripped so that they all refer to /zport/dmd/Reports/<etc>. E.g:

 

<SCRIPT language='javascript' type='text/javascript'>
var absoluteUrlPath = "/zport/dmd/Reports/Multi-Graph%20Reports/WAN/Japan/Osaka";
var reportId = "/zport/dmd/Reports/Multi-Graph Reports/WAN/Japan/Osaka";
</SCRIPT>

 

<TD class='tablevalues' id='td_graph_0'>
<SCRIPT language='javascript' type='text/javascript'>ZenGraphs['graph_0']=['/zport/RenderServer/render?gopts=eNqtlF-PojAUxb-KSTNvVC7<snip>&amp;drange=129600&amp;width=500',''];</SCRIPT>
</TD

 

I'm not sure if this is supposed to be referring to attachments which are not comming through for some reason?

 

Does anybody know why this might be happening?

 

Thanks,

 

James

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points