Based on my reading and understanding of the product, the feature "Execute action profile when complete" is really just a parallel action that would complete at the same time assuming the report runs.
This is a function of the fact that the action must run on a schedule base and not because the report has successfully been written. Is there a way to set the action to standard and run it only when the report completes successfully?
Action based on successful report generation
Are you talking about option located on Reports page (Options dialog and Folder Properties dialog)? Its not a parallel action. "When complete" mean HostMonitor starts action after reports generated.Based on my reading and understanding of the product, the feature "Execute action profile when complete" is really just a parallel action that would complete at the same time assuming the report runs.
Sorry, I do not understand. 1st sentence has different meaning than 2nd. Could you please explain?This is a function of the fact that the action must run on a schedule base and not because the report has successfully been written. Is there a way to set the action to standard and run it only when the report completes successfully?
Regards
Alex
Yes, under Reports | Autogenerate options...
The way we'd like to have it:
Report runs, if successful executes good action. Else it executes bad action.
The way it seems to work now:
It's merely timed to run at the same interval. That's why it must be configured in the profile from standard to "on the schedule."
My testing shows that even if the report can't be created, the action profile is executed.
The way we'd like to have it:
Report runs, if successful executes good action. Else it executes bad action.
The way it seems to work now:
It's merely timed to run at the same interval. That's why it must be configured in the profile from standard to "on the schedule."
My testing shows that even if the report can't be created, the action profile is executed.
Correct. Question is why HostMonitor cannot create reports? Disk is full? Then you will have a lot of problems with different applications. Use Disk Free Space or UNC test method to monitor disk free space.My testing shows that even if the report can't be created, the action profile is executed.
Or you are using remote drive that may be inacessible to store reports? Then forget about "execute action profile when complete" option. Setup auxiliary test item (e.g. "Folder/File availability" test) to check result of report generation and use standard "bad" and "good" actions.
Or you may setup test to check availability of the resource and then generate reports.
Regards
Alex
untrusted process can't be trusted
There's no way to be sure that HM created a report just because I configured it to do so. Maybe the folder where it's supposed to write to got deleted, maybe the disk had an error, maybe there was a bit flip in the middle of the function call, maybe the OS has a bug that prevents it from writing, etc.
It would be great, but not essential, if it were possible to actually test for success and do something special if that action failed. Just something to think about, we're using it the way you designed it right now. If you change it - great. If not, that's fine too.
It would be great, but not essential, if it were possible to actually test for success and do something special if that action failed. Just something to think about, we're using it the way you designed it right now. If you change it - great. If not, that's fine too.