When you configure an action to be used on an alert, for example restart a service. Does the "Restart Service On" box have the RMA's context ot the Hostmon servers'
eg.
If I choose restart server action on <localhost> will that restart the hostmon machine or the machine for which the test is being run ?
-Q
Actions via the RMA
Sorry, RMA cannot perform actions. It will be implemented in future versions.
I see one possible workaround - use additional "External" test that will be executed by RMA and simple BAT file that will restart service
E.g.
- if you have TestA that checks service on remote system, create another "External" test (TestB) for the same RMA. TestB will start BAT file (Net stop service ... net start service ...);
- by default TestB should be disabled!
- test interval for TestB should be longer than test interval for TestA.
- now you just need to add 2 actions (1 "bad" action, and 1 "good" action) into action profile that is assigned to TestA
1st "bad" action should execute HMScript with single command "EnableTest TestB"
2nd "good" action should execute HMScript with single command "DisableTest TestB"
That's it.
Now if TestA fails, it will enable TestB that in turn will execute BAT file on the remote system. When TestA detects that service is working, it will disable TestB (to avoid unnecessary restart).
Regards
Alex
I see one possible workaround - use additional "External" test that will be executed by RMA and simple BAT file that will restart service
E.g.
- if you have TestA that checks service on remote system, create another "External" test (TestB) for the same RMA. TestB will start BAT file (Net stop service ... net start service ...);
- by default TestB should be disabled!
- test interval for TestB should be longer than test interval for TestA.
- now you just need to add 2 actions (1 "bad" action, and 1 "good" action) into action profile that is assigned to TestA
1st "bad" action should execute HMScript with single command "EnableTest TestB"
2nd "good" action should execute HMScript with single command "DisableTest TestB"
That's it.
Now if TestA fails, it will enable TestB that in turn will execute BAT file on the remote system. When TestA detects that service is working, it will disable TestB (to avoid unnecessary restart).
Regards
Alex
Probably it will be implemented in version 4.70When will the RMA actions be in ?
Its path on target system. E.g. if RMA located on system A and external program (appA.exe) located in c:\utils\ directory on system A, path should be c:\utils\appA.exeWhat is the path context for the external tests ? I cannot get it to work.
Regards
Alex
Action with RMA
Hi Alex,
You said that "action with RMA" will come with the 4.70 version of HostMonitor
When will it arrive ?

You said that "action with RMA" will come with the 4.70 version of HostMonitor
When will it arrive ?

Action With RMA
Thanks Alex 
