View previous topic :: View next topic |
Author |
Message |
c.tenner
Joined: 30 Jun 2010 Posts: 16
|
Posted: Wed Jun 30, 2010 4:20 am Post subject: import shell script |
|
|
Hello,
I need to create alot of new shell script tests an would like to use the import feature but cannot find the parameters in the import help html.
What are the options for importing shell scripts?
Thank you! |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Wed Jun 30, 2010 12:01 pm Post subject: |
|
|
Such tests have just 4 test specific parameters:
Script = name of the script
Params = parameters list
Timeout = timeout in seconds
UseMacros = Yes | No
Example Code: |
Method = ShellScript
;--- Common properties ---
RMAgent = 127.0.0.1
Title = Process: # of instances: param1
Comment = Process: # of instances: param1
RelatedURL =
NamePattern = %path%: %object%
CmntPattern = %path%: %object%
ScheduleMode= Regular
Schedule = 7 Days, 24 Hours
Interval = 600
Alerts = Message, Sound
ReverseAlert= No
UnknownIsBad= Yes
WarningIsBad= Yes
UseCommonLog= Yes
PrivLogMode = Default
CommLogMode = Default
;--- Test specific properties ---
Script = Process: # of instances||AIX/BSD/Linux/Solaris
Params = ssh 1
Timeout = 15
UseMacros = No |
Regards
Alex |
|
Back to top |
|
|
c.tenner
Joined: 30 Jun 2010 Posts: 16
|
Posted: Thu Jul 01, 2010 8:02 am Post subject: |
|
|
great thanks Alex!
I will try this out now
edit:
Works perfectly, even though I don't know what the needed parameter 'Title' is used for...
Maybe you can tell me? |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Thu Jul 01, 2010 10:17 am Post subject: |
|
|
This is name of the test
Regards
Alex |
|
Back to top |
|
|
|