Feature request: advanced ppid checking

Issue #506 new
cgzones created an issue

Hi, i'd like to propose some additional ppid cheking for processes. Its about comparing the actual value of the ppid to a) a constant integer and b) to a pid of an other process monitored by monit.

Possible syntax:

check process myprocess-parent matching myprocess-parent
    if PPID != 1 then alert

check process myprocess-child matching myprocess-child
    if PPID != myprocess-parent then alert

Kindly regards,

Christian Göttsche

Comments (0)

  1. Log in to comment