I also just monitor for processes with "<defunct>" in the process list.
=G=
From: Xymon <xymon-bounces at xymon.com> on behalf of Axel Beckert <user-96d9963fe797@xymon.invalid>
Sent: Thursday, March 3, 2016 10:01 AM
To: Agege Information Systems, Inc.
Cc: xymon at xymon.com
Subject: Re: [Xymon] can Xymon monitor Linux defunct process or Zombie process
Hi,
On Thu, Mar 03, 2016 at 08:04:32AM -0600, Agege Information Systems, Inc. wrote:
Greetings, I have a quick question. Is there a way to monitor
defunct processes with Xymon.
Yes.
Please let me know if there is a
script for this.
The Debian/Ubuntu package "hobbit-plugins"
(https://packages.debian.org/hobbit-plugins) contains such a test.
It's integrated in the package's "misc" check which runs simplified
subchecks.
See the following files for the source code:
https://anonscm.debian.org/cgit/collab-maint/hobbit-plugins.git/tree/src/usr/lib/xymon/client/ext/misc
https://anonscm.debian.org/cgit/collab-maint/hobbit-plugins.git/tree/src/etc/xymon/misc.d/zombies
https://anonscm.debian.org/cgit/collab-maint/hobbit-plugins.git/tree/examples/zombies_ignore
Kind regards, Axel Beckert
--
Axel Beckert <user-96d9963fe797@xymon.invalid> support: +41 44 633 26 68
IT Services Group, HPT H 6 voice: +41 44 633 41 89
Departement of Physics, ETH Zurich
CH-8093 Zurich, Switzerland http://nic.phys.ethz.ch/