does it show in the job run log ? there should be warning messages there.
Yeah, it shows up as an Info item in the log:
Info Dec 17, 2014 3:19:03 PM Didn't find any components on server 'mphewdsvsv02.amrs.win.ml.com'
The problem is asking Admins to go through a log every time they run a job on 100's of Servers seems to be an inefficient method. I would think the Results would be a good place to report these issues so they can be easily seen and reported on. I think if an additional Tree entry in Run Details would be efficient, such, "Not Executed' or something.
Or target a component smart group that would only have components of the template. if their server isn’t in the list, then no component exists…
But yeah – having an additional result item showing ‘no component’ would be useful.
As a best recommended approach compliance job is always executed against component(s)/ component smart group(s) not against server(s)/ server smart group(s). This will definitely address your issue there.
Having said that It would be really nice and an added advantage if the tree shows up with no component/execution failed. You may create an idea for this or raise a enhancement request w/ BMC support.