Nagios plugin for log file checking, can read and write files via -F/-O options.
check_log -F {input} -O {output} ๐ input ๐ output check_log -F {input} -O {output} Sandbox: execFile · Timeout: 30s
system.file.read system.file.write | Name | Type | Required | Default | Description | Aliases |
|---|---|---|---|---|---|
input | file | No | - | File to read | - |
output | file | No | - | File to write | - |
Inputs
system.file.path Path to input file
Outputs
process.output File content output
process_spawnfilesystem_write Produces
process.outputConsumes
system.file.path| Resource | Value |
|---|---|
| CPU | low |
| Memory | 4 MB |
| Network | none |
| Disk I/O | low |
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