I've managed to create completely bespoke alert emails by using Commands to pass the various variables of an alert to a PHP script which crafts a branded email and sends it out. I'd now like to do something similar but for a report, I'm just trying to figure out what is the best way to go about it with XI or if it is even possible without going off the reservation a bit
So I see I could create my own Component and in that write a PHP script that puts together a nicely formatted and branded email (similar to the Executive Summary I guess). Then I see I can Schedule reports, but from the Schedule Reports section we don't really get the flexibility we get with Commands, so I don't see how I could schedule my new Report Component and tell it which Hostgroup to report on for instance.
I guess I could use a few cron jobs on the host to call my PHP script with different hostgroup names and manage it this way, but it would be much nicer to keep it within the XI GUI if possible. Is there any other XI feature I'm missing that might achieve what I'm trying to do?
Cheers!