Examples
banshee/examples-collection/examples/watches/
below
Example: the watch below; the memory a Linux has available, by SSH.
by banshee1 installation1 version
Published on October 27, 2026. First version in this collection.
Watch: below
watch.below raises when a value is strictly below a threshold: here, the memory a Linux still has available, in MiB.
How to read it
array('warning' => 512, 'critical' => 128): under 512 MiB a warning, under 128 critical. The thresholds are in the unit of the output.belowtakes the same settings asabove:warning,critical,forandahead.MemAvailableis the memory the kernel can hand out without swapping, caches included: the right figure for "is the machine short of memory".
To adapt it
- Any value that must not fall: free space, days before a certificate expires (see
examples/protocols/tls-inspect), time since a restart.