Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /usr/lib/netdata/conf.d/health.d/ drwxrwxr-x | |
| Viewing file: Select action/file-type: #
# check
# http://blog.tsunanet.net/2011/03/out-of-socket-memory.html
#
# We give a warning when TCP is under memory pressure
# and a critical when TCP is 90% of its upper memory limit
#
alarm: tcp_memory
on: ipv4.sockstat_tcp_mem
class: Utilization
type: System
component: Network
os: linux
hosts: *
calc: ${mem} * 100 / ${tcp_mem_high}
units: %
every: 10s
warn: ${mem} > (($status >= $WARNING ) ? ( ${tcp_mem_pressure} * 0.8 ) : ( ${tcp_mem_pressure} ))
crit: ${mem} > (($status == $CRITICAL ) ? ( ${tcp_mem_pressure} ) : ( ${tcp_mem_high} * 0.9 ))
delay: up 0 down 5m multiplier 1.5 max 1h
info: TCP memory utilization
to: sysadmin
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0068 ]-- |