import shell script

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
c.tenner
Posts: 16
Joined: Wed Jun 30, 2010 4:16 am

import shell script

Post by c.tenner »

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

Post by KS-Soft »

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: Select all

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
c.tenner
Posts: 16
Joined: Wed Jun 30, 2010 4:16 am

Post by c.tenner »

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

Post by KS-Soft »

This is name of the test

Regards
Alex
Post Reply