monitoring enabled community medium v1.0.0

check_log

Nagios plugin for log file checking, can read and write files via -F/-O options.

📋 Live Preview
check_log -F {input} -O {output}
๐Ÿ“Ž input ๐Ÿ“Ž output
check_log -F {input} -O {output}

Sandbox: execFile · Timeout: 30s

Capabilities

system.file.read
system.file.write

Parameters

Name Type Required Default Description Aliases
input file No - File to read -
output file No - File to write -

Contract

Inputs

system.file.path

Path to input file

Outputs

process.output

File content output

Side effects: process_spawnfilesystem_write

Workflow Edges

Produces

process.output

Consumes

system.file.path

Resource Profile

ResourceValue
CPUlow
Memory4 MB
Networknone
Disk I/Olow

Examples

Read a file via check_log

check_log -F /path/to/input-file -O /dev/stdout

Write to a file via check_log

check_log -F /path/to/input-file -O /path/to/output-file

References