Actions via the RMA

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
Quantum
Posts: 56
Joined: Thu May 06, 2004 6:04 pm

Actions via the RMA

Post by Quantum »

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
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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
Quantum
Posts: 56
Joined: Thu May 06, 2004 6:04 pm

Post by Quantum »

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
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

When will the RMA actions be in ?
Probably it will be implemented in version 4.70
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
boxy_25
Posts: 26
Joined: Tue Dec 02, 2003 3:49 am
Location: France
Contact:

Action with RMA

Post by boxy_25 »

Hi Alex,

You said that "action with RMA" will come with the 4.70 version of HostMonitor

When will it arrive ?
:lol:
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

"Probably will come in version 4.70..."

Probably in September

Regards
Alex
boxy_25
Posts: 26
Joined: Tue Dec 02, 2003 3:49 am
Location: France
Contact:

Action With RMA

Post by boxy_25 »

Thanks Alex :wink:
Post Reply