On 2018-06-23 12:52:56 +0200, Vincent Lefevre wrote: > With the following settings: > > check network eth0 with interface eth0 > if changed link capacity then alert > > monit is spamming me with spurious "monit alert -- Link up eth0" > messages every 2 minutes! I currently have no Ethernet cable, so > that "Link up eth0" is wrong, and there are no recent lines about > eth0 in the journalctl output.
I forgot to provide an excerpt of the monit.log file: [...] [CEST Jun 23 12:19:47] info : 'eth0' link data collection succeeded [CEST Jun 23 12:19:47] error : 'eth0' link down [CEST Jun 23 12:21:47] info : 'eth0' link data collection succeeded [CEST Jun 23 12:21:47] error : 'eth0' link down [CEST Jun 23 12:23:47] info : 'eth0' link data collection succeeded [CEST Jun 23 12:23:47] error : 'eth0' link down [CEST Jun 23 12:25:47] info : 'eth0' link data collection succeeded [CEST Jun 23 12:25:47] error : 'eth0' link down [CEST Jun 23 12:27:47] info : 'eth0' link data collection succeeded [CEST Jun 23 12:27:47] error : 'eth0' link down [CEST Jun 23 12:29:47] info : 'eth0' link data collection succeeded [CEST Jun 23 12:29:47] error : 'eth0' link down [CEST Jun 23 12:31:47] info : 'eth0' link data collection succeeded [CEST Jun 23 12:31:48] error : 'eth0' link down [CEST Jun 23 12:33:48] info : 'eth0' link data collection succeeded [CEST Jun 23 12:33:48] error : 'eth0' link down [CEST Jun 23 12:35:48] info : 'eth0' link data collection succeeded [CEST Jun 23 12:35:48] error : 'eth0' link down [CEST Jun 23 12:37:48] info : 'eth0' link data collection succeeded [CEST Jun 23 12:37:48] error : 'eth0' link down [CEST Jun 23 12:39:48] info : 'eth0' link data collection succeeded [CEST Jun 23 12:39:48] error : 'eth0' link down [CEST Jun 23 12:41:48] info : 'eth0' link data collection succeeded [CEST Jun 23 12:41:48] error : 'eth0' link down [CEST Jun 23 12:43:48] info : 'eth0' link data collection succeeded [CEST Jun 23 12:43:48] error : 'eth0' link down [CEST Jun 23 12:45:48] info : 'eth0' link data collection succeeded [CEST Jun 23 12:45:49] error : 'eth0' link down [CEST Jun 23 12:47:49] info : 'eth0' link data collection succeeded [CEST Jun 23 12:47:49] error : 'eth0' link down [CEST Jun 23 12:49:49] info : 'eth0' link data collection succeeded [CEST Jun 23 12:49:49] error : 'eth0' link down [CEST Jun 23 12:51:49] info : 'eth0' link data collection succeeded [CEST Jun 23 12:51:49] error : 'eth0' link down [CEST Jun 23 12:53:49] info : 'eth0' link data collection succeeded [CEST Jun 23 12:53:49] error : 'eth0' link down [...] Note: I also got mail "monit alert -- Link down eth0", but just after "monit alert -- Link up eth0". Such mail could be regarded as normal if monit misdetected the link as being up. -- Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

