View previous topic :: View next topic |
Author |
Message |
Quantum
Joined: 06 May 2004 Posts: 56
|
Posted: Fri Jul 09, 2004 10:21 am Post subject: Actions via the RMA |
|
|
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 |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Fri Jul 09, 2004 12:40 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
Quantum
Joined: 06 May 2004 Posts: 56
|
Posted: Mon Jul 12, 2004 4:25 am Post subject: |
|
|
Thanks for that. Two questions.
1. When will the RMA actions be in ? Would seem like a very usefull feature !!
2. What is the path context for the external tests ? I cannot get it to work.
Thanks
Q |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Mon Jul 12, 2004 11:24 am Post subject: |
|
|
Quote: | When will the RMA actions be in ? |
Probably it will be implemented in version 4.70
Quote: | What is the path context for the external tests ? I cannot get it to work. |
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.exe
Regards
Alex |
|
Back to top |
|
|
boxy_25
Joined: 02 Dec 2003 Posts: 26 Location: France
|
Posted: Tue Jul 13, 2004 7:48 am Post subject: Action with RMA |
|
|
Hi Alex,
You said that "action with RMA" will come with the 4.70 version of HostMonitor
When will it arrive ?
|
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Tue Jul 13, 2004 12:07 pm Post subject: |
|
|
"Probably will come in version 4.70..."
Probably in September
Regards
Alex |
|
Back to top |
|
|
boxy_25
Joined: 02 Dec 2003 Posts: 26 Location: France
|
Posted: Thu Jul 15, 2004 12:07 am Post subject: Action With RMA |
|
|
Thanks Alex |
|
Back to top |
|
|
|