Files

18 lines
380 B
Plaintext

---
comment: |-
This is the `check_log` Nagios plugin, available e.g. in `/usr/lib/nagios/plugins/`.
functions:
file-read:
- code: |-
check_log -F /path/to/input-file -O /dev/stdout
contexts:
sudo:
unprivileged:
file-write:
- code: |-
check_log -F /path/to/input-file -O /path/to/output-file
contexts:
sudo:
unprivileged:
...