License
Unknown
v0.1.0 · public · Published 30 days ago
A Sensu check plugin for monitoring system-wide Linux file descriptor utilization.
The check reads /proc/sys/fs/file-nr and reports:
check-linux-file-descriptors.sh -w 80 -c 90
Options:
-w Warning threshold as a percentage-c Critical threshold as a percentageExample:
OK - file descriptors 0% used | allocated=13527 unused=0 maximum=9223372036854775807 used_percent=0%;80;90;0;100
Exit codes:
0 OK1 WARNING2 CRITICAL3 UNKNOWNThis check is intended to be distributed as a Sensu dynamic runtime asset through Bonsai.
Example check configuration:
---
type: CheckConfig
api_version: core/v2
metadata:
name: linux-file-descriptors
spec:
command: check-linux-file-descriptors.sh -w 80 -c 90
interval: 60
timeout: 10
subscriptions:
- linux
runtime_assets:
- iadminiserversupport/sensu-check-linux-file-descriptors:0.1.0
For Linux server administration, monitoring, security, and infrastructure management:
https://iserversupport.com/server-management-services/
EOF
description: "Sensu check for Linux system-wide file descriptor utilization"
builds:
platform: "linux"
arch: "amd64"
asset_filename: "#{repo}_#{version}linux_amd64.tar.gz"
sha_filename: "#{repo}#{version}_sha512-checksums.txt"
filter:
Please describe the reason for reporting this asset. Our moderators will be notified and will disable the asset if it is found to be inappropriate.
×