monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multiple pids


From: Marc Petitmermet
Subject: Re: multiple pids
Date: Thu, 20 Apr 2006 12:19:05 +0200

I need an additional check which counts the number of nfsd daemons and does some action when the number changes. Is this possible? I look through the documentation...

Unless there are a parent process (not init), it's not possible.

I guess then that there is also no

   "check status with script /etc/init.d/serviceX"

or something similar and then I could hide some script in serviceX which returns some result code that monit can interpret as ok or failure and start some actions accordingly.

Regards,
Marc




reply via email to

[Prev in Thread] Current Thread [Next in Thread]