The order of "status actions commands" execution?

General chat about HostMonitor (all messages posted before March 07, 2003 available here).
Locked
Guest

Post by Guest »

HM ver 3.40
I have two commands in my profile actions:
1) run a bath file which copy a log-file and replace the old one and then pack it;
2) It's supposed that the second action should send this packed log-file via e-mail... And it does... But the old one!

So I think the reason is the second action executed before first one...

The question is how can I point out the sequence of actions execution?

Thank you.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

I see only one solution - create 4 actions:
1st) use "Change test interval" action to set small time interval for the test. Start this action after 1st Bad result occurs
2nd) use "Execute external program" to start your bat file. Start this action after 1st Bad result occurs.
3rd) Send e-mail with packed log file. Start this action after 2nd Bad result occurs.
4th) Restore original test interval. Start this action after 2nd Bad result occurs.
And create the same action (Restore original test interval) for "Good" action profile.

Regards
Alex
Guest

Post by Guest »

Is it possible to see features to point out the oreder of execution in further HM versions? Or add "delay" options in "actions"?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Something like this will be implemented in future versions. May be in December-January.

Regards
Alex
Locked