Package: monit
Version: 1:5.25.2-1
Severity: important
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.
This issue did not occur in the past.
-- Package-specific info:
Monit config file /etc/monit/monitrc is *NOT* readable by reportbug.
Please, consider to rerun reportbug as root and *carefully* examine
reportbug's output (e.g., monitrc content), before sending it out.
Contents of /etc/monit/ directory:
/etc/monit:
total 36
drwxr-xr-x 2 root root 4096 2018-06-01 22:48:00 conf-available
drwxr-xr-x 2 root root 4096 2015-12-05 21:19:30 conf-enabled
drwxr-xr-x 2 root root 4096 2015-07-07 14:43:58 conf.d
-rw------- 1 root root 13128 2018-06-01 22:53:15 monitrc
drwxr-xr-x 2 root root 4096 2018-04-04 22:27:45 monitrc.d
drwxr-xr-x 2 root root 4096 2018-06-01 22:53:26 templates
/etc/monit/conf-available:
total 60
-rw-r--r-- 1 root root 481 2015-12-05 21:13:49 acpid
-rw-r--r-- 1 root root 640 2015-12-05 21:13:49 apache2
-rw-r--r-- 1 root root 455 2015-12-05 21:13:49 at
-rw-r--r-- 1 root root 691 2015-12-05 21:13:49 cron
-rw-r--r-- 1 root root 602 2015-12-05 21:13:49 mdadm
-rw-r--r-- 1 root root 669 2015-12-05 21:13:49 memcached
-rw-r--r-- 1 root root 703 2015-12-05 21:13:49 mysql
-rw-r--r-- 1 root root 521 2015-12-05 21:13:49 nginx
-rw-r--r-- 1 root root 471 2015-12-05 21:13:49 openntpd
-rw-r--r-- 1 root root 831 2018-06-01 10:28:44 openssh-server
-rw-r--r-- 1 root root 683 2015-12-05 21:13:49 pdns-recursor
-rw-r--r-- 1 root root 1421 2015-12-05 21:13:49 postfix
-rw-r--r-- 1 root root 869 2016-03-22 16:43:44 rsyslog
-rw-r--r-- 1 root root 501 2015-12-05 21:13:49 smartmontools
-rw-r--r-- 1 root root 306 2016-02-04 15:03:50 snmpd
/etc/monit/conf-enabled:
total 0
/etc/monit/conf.d:
total 4
-rw-r--r-- 1 root root 357 2015-07-07 14:43:58 eth0
/etc/monit/monitrc.d:
total 64
-rw-r--r-- 1 root root 481 2015-06-09 15:52:48 acpid
-rw-r--r-- 1 root root 640 2015-06-09 15:52:48 apache2
-rw-r--r-- 1 root root 455 2015-06-09 15:52:48 at
-rw-r--r-- 1 root root 691 2015-06-09 15:52:48 cron
-rw-r--r-- 1 root root 403 2016-12-09 15:37:54 fail2ban
-rw-r--r-- 1 root root 602 2015-06-09 15:52:48 mdadm
-rw-r--r-- 1 root root 669 2015-06-09 15:52:48 memcached
-rw-r--r-- 1 root root 703 2015-06-09 15:52:48 mysql
-rw-r--r-- 1 root root 521 2015-06-09 15:52:48 nginx
-rw-r--r-- 1 root root 471 2015-06-09 15:52:48 openntpd
-rw-r--r-- 1 root root 950 2015-06-09 15:52:48 openssh-server
-rw-r--r-- 1 root root 683 2015-06-09 15:52:48 pdns-recursor
-rw-r--r-- 1 root root 1421 2015-06-09 15:52:48 postfix
-rw-r--r-- 1 root root 867 2015-06-09 15:52:48 rsyslog
-rw-r--r-- 1 root root 501 2015-06-09 15:52:48 smartmontools
-rw-r--r-- 1 root root 310 2015-06-09 15:52:48 snmpd
/etc/monit/templates:
total 12
-rw-r--r-- 1 root root 164 2015-06-09 15:52:48 rootbin
-rw-r--r-- 1 root root 160 2015-06-09 15:52:48 rootrc
-rw-r--r-- 1 root root 164 2015-06-09 15:52:48 rootstrict
-- System Information:
Debian Release: buster/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500,
'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.16.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages monit depends on:
ii libc6 2.27-3
ii libpam0g 1.1.8-3.7
ii libssl1.1 1.1.0h-4
ii lsb-base 9.20170808
ii zlib1g 1:1.2.11.dfsg-1
monit recommends no packages.
Versions of packages monit suggests:
ii postfix [mail-transport-agent] 3.3.0-1+b1
pn sysvinit-core <none>
-- Configuration Files:
/etc/monit/monitrc [Errno 13] Permission denied: '/etc/monit/monitrc'
-- no debconf information