KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

import shell script

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
c.tenner



Joined: 30 Jun 2010
Posts: 16

PostPosted: Wed Jun 30, 2010 4:20 am    Post subject: import shell script Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Wed Jun 30, 2010 12:01 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
c.tenner



Joined: 30 Jun 2010
Posts: 16

PostPosted: Thu Jul 01, 2010 8:02 am    Post subject: Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Thu Jul 01, 2010 10:17 am    Post subject: Reply with quote

This is name of the test

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index