forwarded 902204 https://bitbucket.org/tildeslash/monit/issues/490/separate-link-down-and-link-error-event thanks
Martin, please correct me if I set wrong upstream issue for this bug. On Tue, 19 Feb 2019 22:47:46 +0100 "mart...@tildeslash.com" <mart...@tildeslash.com> wrote: > > > On 19 Feb 2019, at 02:47, Vincent Lefevre <vinc...@vinc17.net> wrote: > > > > Hi, > > > > On 2019-02-18 22:51:50 +0100, mart...@tildeslash.com wrote: > >> Hello, the 5dc2681 is not bug. > > > > Well, I assume that the bug was already present, but I think that it > > was 5dc2681 that made it visible. > > > >> Vincent, please can you run Monit in debug mode and send output? (monit > >> -vI) > > > > When starting monit with the Ethernet cable unplugged: > > > > # /usr/bin/monit -c /etc/monit/monitrc -vI > > Runtime constants: > > Control file = /etc/monit/monitrc > > Log file = /var/log/monit.log > > Pid file = /run/monit.pid > > Id file = /var/lib/monit/id > > State file = /var/lib/monit/state > > Debug = True > > Log = True > > Use syslog = False > > Is Daemon = True > > Use process engine = True > > Limits = { > > = programOutput: 512 B > > = sendExpectBuffer: 256 B > > = fileContentBuffer: 512 B > > = httpContentBuffer: 1 MB > > = networkTimeout: 5 s > > = programTimeout: 5 m > > = stopTimeout: 30 s > > = startTimeout: 30 s > > = restartTimeout: 30 s > > = } > > On reboot = start > > Poll time = 120 seconds with start delay 0 seconds > > Event queue = base directory /var/lib/monit/events with 100 slots > > Mail server(s) = localhost:25 with timeout 30 s > > Start monit httpd = False > > Alert mail to = vinc...@vinc17.net > > Alert on = All events > > > > The service list contains the following entries: > > > > Network Name = eth0 > > Interface = eth0 > > Monitoring mode = active > > On reboot = start > > Link status = if failed then alert > > Link capacity = if changed then alert > > > > System Name = zira > > Monitoring mode = active > > On reboot = start > > > > -------------------------------------------------------------------------------