[Top][All Lists]

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

[monit] Monitoring rules

From: Varga Levente
Subject: [monit] Monitoring rules
Date: Tue, 22 Dec 2009 17:28:37 +0200


Can I have more than one monitoring rule for the same check, like:

check process sshd with pidfile /var/run/
    start program = "/etc/init.d/ssh start"
    stop program = "/etc/init.d/ssh stop"
    if failed host port 22 protocol ssh then alert
    if failed host port 22 protocol ssh then restart
 or  would this confuse monit and create havoc? What I want to achieve
is to alert and restart in the same time.
Thank you!


Lege, lege, relege, ora, labora et invenies.

reply via email to

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