* Added Max processes check to check_linux_process_limits plugin

* Added support for log_healthy in list_hc()
This commit is contained in:
Patrick Van der Veken
2018-07-06 11:19:39 +02:00
parent 3369aa3bef
commit 58bee85277
3 changed files with 172 additions and 78 deletions
@@ -12,6 +12,7 @@
log_healthy="no"
# -- user stanzas --
# supported limit checks: Max open files; Max processes
# format:
# user:<user name>;<limit name>;<soft threshold in %>;<hard threshold in %>
# note: <limit name> must exactly match the descriptor in /proc/<PID>/limits
@@ -19,6 +20,7 @@ log_healthy="no"
user;postfix;Max open files;;75
# -- process stanzas --
# supported limit checks: Max open files
# format:
# process:<process name>;<limit name>;<soft threshold in %>;<hard threshold in %>
# note: <limit name> must exactly match the descriptor in /proc/<PID>/limits