Do I have to configure an alert profile for every service I want to restart after a failure?
He should try to restart the service, and send an email.
<font size=-1>[ This Message was edited by: M@ster on 2002-11-12 06:28 ]</font>
restart service
As I understand you have set of tests those monitor your services. If service XX fails, HM must restart service XX. Right?
In this case you can use the same action profile for all tests. Just specify %ServiceComp% and %ServiceName% macro variables in the action properties dialog (use these macros instead name of target system and name of service). You can use these macros when configure "send e-mail" action as well
Regards
Alex
In this case you can use the same action profile for all tests. Just specify %ServiceComp% and %ServiceName% macro variables in the action properties dialog (use these macros instead name of target system and name of service). You can use these macros when configure "send e-mail" action as well
Regards
Alex
Another question regarding NT Service Check.
I have a folder for every Server I want to monitor. Is it possible to use a variable for the servername? I tried %folder%, but that doesn't work
That would have the advantage, that I can copy a test to a new folder and not have to adjust every test/servername.
I have a folder for every Server I want to monitor. Is it possible to use a variable for the servername? I tried %folder%, but that doesn't work

That would have the advantage, that I can copy a test to a new folder and not have to adjust every test/servername.
Where do you want to use variable? In the test properties dialog? Its impossible. If you have set of tests and want to create the same sets for another servers, you can use export/import functions. Export selected tests to text file, start any text editor that has find&replace function, replace some test parameters (e.g. servername, username, password), and import tests from text file into new folder.
Regards
Alex
Regards
Alex
On 2002-11-12 15:07, KS-Soft wrote:
Where do you want to use variable? In the test properties dialog? Its impossible.

That's the way I handle it now. The other way would be a lot easier.If you have set of tests and want to create the same sets for another servers, you can use export/import functions. Export selected tests to text file, start any text editor that has find&replace function, replace some test parameters (e.g. servername, username, password), and import tests from text file into new folder.
Regards
Alex
regard
René
I would recommend using mail merge in MS Word. You can create hundreds of similar tests in just a few minutes this way. I link to a SQL table and merge all of the server names into the different tests. After this, I recommend copying the results from word to notepad then saving it as a text file. Then, perform the import and you are good to go.