summaryrefslogtreecommitdiffstats
path: root/gl/m4/eealloc.m4
diff options
context:
space:
mode:
authorSebastian Schmidt <sschmidt@interhyp.de>2012-11-07 17:56:02 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-08-18 10:59:57 (GMT)
commitce7a99789ddb3c6047135eef87ebdb695673612d (patch)
tree74324c328ebe170414b0ebd9606ba08d6a6b054e /gl/m4/eealloc.m4
parentf3dbc2ec871da22028969540424a63ff51404cfd (diff)
downloadmonitoring-plugins-ce7a99789ddb3c6047135eef87ebdb695673612d.tar.gz
check_procs: filter out self by /proc/pid/exe
Make check_procs filter out itself in the process list by comparing the file pointed to by /proc/pid/exe. On platforms where this is not available or when check_procs is passed the -T flag, the old behaviour (check whether PID equals getpid()) is retained. This fixes some false alarms when e.g. Nagios has, for whatever reasons, some backlog of checks to run and check_procs with -a is called more than once in a short time, matching its sister process.
Diffstat (limited to 'gl/m4/eealloc.m4')
0 files changed, 0 insertions, 0 deletions