monit-general
[Top][All Lists]
Advanced

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

Monit does not alert with stop or unmonitor


From: Stenver Jerkku
Subject: Monit does not alert with stop or unmonitor
Date: Fri, 24 Oct 2014 14:15:04 +0300

Hello

Im having a problem, that monit does not send "stop" or "unmonitor" alert when it times out with restarts, PIDS ja PPIDS.

Here are relevant configurations:

  set alert address@hidden

  check process visit_registry with pidfile /var/run/visit_registry.pid
    group services
    start program = "/sbin/start visit_registry"
    stop program = "/sbin/stop visit_registry"
    if changed pid then alert every 4 cycles
    if changed pid 4 times within 8 cycles then stop
    if changed ppid 4 times within 8 cycles then stop
    if 3 restarts within 6 cycles then stop
    if cpu > 60% for 2 cycles then alert
    if cpu > 80% for 5 cycles then restart
    if totalmem > 1000.0 MB for 5 cycles then alert
    if totalmem > 1500.0 MB for 5 cycles then alert
    if totalmem > 2000.0 MB for 5 cycles then restart

In the log, i can see:

[UTC Oct 24 10:55:07] error    : 'visit_registry' process PID changed from 10533 to 16947
[UTC Oct 24 10:55:08] info     : 'visit_registry' stop: /sbin/stop

But i never get an alert that monit stopped or unmonitored. I also tried using timeout or unmonitor instead of stop.

Monit version 5.6

Sincerely,

Stenver Jerkku
Salemove Inc
Tartu university, Software Engineering

reply via email to

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