Files

14 lines
314 B
Plaintext

---
comment: |-
This is the `check_statusfile` Nagios plugin, available e.g. in `/usr/lib/nagios/plugins/`.
functions:
file-read:
- code: |-
check_statusfile /path/to/input-file
comment: |-
The read file content is limited to the first line.
contexts:
sudo:
unprivileged:
...