Red Hat Training

A Red Hat training course is available for Red Hat JBoss Operations Network

3.2.17. JBossAS5 - Script Service

Overview

Table 3.233. Overview

Description:provides the ability to execute a script that performs some task related to its parent JBossAS server
Singleton: no
Plugin:JBossAS5

Child Resource Types

none

Connection Properties

Table 3.234. 

NameDescriptionRequiredInternal Name
Paththe absolute path to the script file yes path
Environment Variablesthe environment variables that will be passed to the script; each variable must be on a new line and have the syntax name=value; the variable's value can contain properties with the syntax %propertyName%; the script plugin will interpolate these with the current values of the corresponding properties from the script's parent JBossAS server's connection properties no environmentVariables

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.

Metrics

none

Configuration Properties

none

Operations

Table 3.235. Metrics

NameDescription
Execute Scriptexecute the script; NOTE: environment variables to be passed to the script can be configured via this Script service's connection properties (under its Inventory tab)

Package Types

Table 3.236. Package Types

NameCategoryDescription
Executable ScriptExecutable ScriptThis is the script file to be uploaded to the server's bin directory.