On Thu, Dec 17, 2009 at 7:12 PM, LOhit <lohi...@gmail.com> wrote:

> Hello,
>
> I have enabled summary emails from foreman and set up a cron job which
> sends me periodic summary emails. However, the mail's content is sort of
> plain text. Now this is more like a feature request rather than a problem, I
> am wondering if we could use some kind of HTML template and pass the values
> through this HTML template and then mail the output as a summary email to
> the administrator.
>
Its already in HTML, and its already using an ERB template*1 - it probably
needs to be improved :)

>
> In the HTML template we could perhaps play around highlighting failed nodes
> in "RED" and probably some graphs. etc..etc...
>
> yeah, but most mail clients are blocking content from external web sites,
so it might work (or not).

> I remember doing this couple of years ago using perl and I used to get nice
> tabulated summary email of the output of my custom script(basically a log
> parser).
>

patches are welcomed! :)

[1]
http://theforeman.org/repositories/entry/foreman/app/views/host_mailer/summary.text.html.erb?
:)

for future reference, you may want to open a feature request at
http://theforeman.org

cheers,
Ohad

--

You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.


Reply via email to