이 콘텐츠는 선택한 언어로 제공되지 않습니다.

3.5. Script Server


Overview

Expand
Table 3.82. Overview
Description: A resource with a command line executable or script as its management interface
Singleton: no
Plugin: Script

Parent Resource Types

Child Resource Types

none

Autodiscovery Process Scans

none

Connection Properties

Expand
Table 3.83. 
Name Description Required Internal Name
Executable The full path to the command line executable or script yes executable
Working Directory When the executable is invoked, this will be its working directory. no workingDirectory
Environment Variables Environment variables that are set when executing the executable no environmentVariables
Availability Execute Check If specified and true, the ability to successfully execute the executable can determine whether or not the managed resource is considered up and available. If you set this to true, you normally do not set the availability regex settings in order to allow availability to be determined based solely on the successful execution, regardless of the exit code or output. If this is false, setting one of the avail regex settings will override it as if it were true. no availabilityExecuteCheck
Availability Exit Code Regex If specified, the executable must return an exit code that matches this regular expression if the managed resource is to be considered up and available no availabilityExitCodeRegex
Availability Output Regex If specified, the executable must output text that matches this regular expression if the managed resource is to be considered up and available no availabilityOutputRegex
Availability Arguments If the executable needs to be executed in order to determine availability, these are the arguments that will be passed to the executable. If you do not specify the regex settings and you set the execute check setting to false, the executable will not be executed and these arguments will not be used - in this case, availability will be determined by the mere existence of the executable file. no availabilityArguments
Version Arguments The arguments to pass to the executable that will help determine the version of the managed resource no versionArguments
Version Regex The regex that can pick out the version from the executable output. If the regex has a captured group, its matched content will be used as the version. If there is no captured group, the entire output will be used as the version. no versionRegex
Fixed Version If specified, this will be the version of the managed resource - the executable will not be invoked to determine it. no fixedVersion
Description Arguments The arguments to pass to the executable that will help determine the managed resource description. This can be arguments to enable verbose version output. no descriptionArguments
Description Regex The regex that can pick out the description from the executable output. If the regex has a captured group, its matched content will be used as the description. If there is no captured group, the entire output will be used as the description. no descriptionRegex
Fixed Description If specified, this will be the description of the managed resource - the executable will not be invoked to determine it. no fixedDescription

Note

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

Metrics

none

Configuration Properties

none

Operations

Expand
Table 3.84. Metrics
Name Description
Execute Executes the executable with a set of arguments and returns the output and exit code.

Package Types

none
맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat