Interface CheckableWithRelations

interface CheckableWithRelations {
    __name: string;
    acknowledgement: bigint;
    acknowledgement_expiry: number;
    acknowledgement_last_change: number;
    action_url: string;
    active: boolean;
    check_attempt: bigint;
    check_command?: CheckCommand;
    check_interval: number;
    check_period?: TimePeriod;
    check_timeout: Value;
    command_endpoint?: Endpoint;
    downtime_depth: bigint;
    enable_active_checks: boolean;
    enable_event_handler: boolean;
    enable_flapping: boolean;
    enable_notifications: boolean;
    enable_passive_checks: boolean;
    enable_perfdata: boolean;
    event_command?: EventCommand;
    executions: Dictionary;
    flapping: boolean;
    flapping_current: number;
    flapping_ignore_states: string[];
    flapping_last_change: number;
    flapping_threshold: number;
    flapping_threshold_high: number;
    flapping_threshold_low: number;
    force_next_check: boolean;
    force_next_notification: boolean;
    ha_mode: HAMode;
    handled: boolean;
    icon_image: string;
    icon_image_alt: string;
    last_check: number;
    last_check_result: CheckResult;
    last_hard_state_change: number;
    last_reachable: boolean;
    last_state_change: number;
    last_state_type: StateType;
    last_state_unreachable: number;
    max_check_attempts: bigint;
    next_check: number;
    next_update: number;
    notes: string;
    notes_url: string;
    original_attributes: Record<string, any>;
    package: string;
    paused: boolean;
    previous_state_change: number;
    problem: boolean;
    retry_interval: number;
    severity: bigint;
    source_location: SourceLocation;
    state_type: StateType;
    templates: string[];
    vars: Record<string, any>;
    version: number;
    volatile: boolean;
    zone: string;
}

Hierarchy

  • Omit<Checkable, "check_command" | "check_period" | "event_command" | "command_endpoint">
    • CheckableWithRelations

Properties

__name: string
acknowledgement: bigint
acknowledgement_expiry: number
acknowledgement_last_change: number
action_url: string
active: boolean
check_attempt: bigint
check_command?: CheckCommand
check_interval: number

The check interval (in seconds). This interval is used for checks when the service is in a HARD state. Defaults to 5m.

check_period?: TimePeriod
check_timeout: Value

Check command timeout in seconds. Overrides the CheckCommand's timeout attribute.

command_endpoint?: Endpoint
downtime_depth: bigint
enable_active_checks: boolean
enable_event_handler: boolean
enable_flapping: boolean
enable_notifications: boolean
enable_passive_checks: boolean
enable_perfdata: boolean
event_command?: EventCommand
executions: Dictionary
flapping: boolean
flapping_current: number
flapping_ignore_states: string[]
flapping_last_change: number
flapping_threshold: number

Deprecated

flapping_threshold_high: number
flapping_threshold_low: number
force_next_check: boolean
force_next_notification: boolean
ha_mode: HAMode
handled: boolean
icon_image: string
icon_image_alt: string
last_check: number
last_check_result: CheckResult
last_hard_state_change: number
last_reachable: boolean
last_state_change: number
last_state_type: StateType
last_state_unreachable: number
max_check_attempts: bigint

The number of times a service is re-checked before changing into a hard state. Defaults to 3.

next_check: number
next_update: number
notes: string
notes_url: string
original_attributes: Record<string, any>
package: string

for example _etc

paused: boolean
previous_state_change: number
problem: boolean
retry_interval: number

This interval is used for checks when the service is in a SOFT state. Defaults to 1m. Note: This does not affect the scheduling after a passive check result.

severity: bigint
source_location: SourceLocation
state_type: StateType
templates: string[]
vars: Record<string, any>
version: number
volatile: boolean
zone: string