ServiceRunner::Monitoring::Config
Inherits JSON::Serializable < YAML::Serializable < Struct < Value < Object
Constructors
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceClass methods
from_service_config(name : String)
SourceInstance methods
check_container_present
set to false to cancel a regular check for a container with the same name as the service, or a string representing the name of the service to check for
check_container_present=(check_container_present : String | Bool)
set to false to cancel a regular check for a container with the same name as the service, or a string representing the name of the service to check for
check_exe
list of commands to execute with specific arguments. Shell substitution is not available in this mode.
check_exe=(check_exe : Array(ExecutionResult))
list of commands to execute with specific arguments. Shell substitution is not available in this mode.
check_internal_command=(check_internal_command : Array(InternalCommand))
a list of commands to run inside the container as a check
check_shell_command=(check_shell_command : Array(ShellResult))
list of shell commands to check