Package: netdata
Version: 1.5.0+dfsg-4
Severity: normal

Hi!

With exim4 being the default MTA on Debian, the
health_alarm_notification will not work unless the following directories
are writeable from the netdata namespace:

,----
| ReadWriteDirectories=-/var/spool/exim4
| ReadWriteDirectories=-/var/log/exim4
`----

Otherwise you only get the messages like this in your syslog everytime a
notification is sent (or to be precise: "not sent").

,----
| Mar  1 19:31:54 ds9 exim[1514966]: 2017-03-01 19:31:54 [1514966] 
1cj92X-006M6s-V0 Spool error for /var/spool/exim4//input//1cj92X-006M6s-V0-D: 
Permission denied
| Mar  1 19:31:54 ds9 exim[1514966]: 2017-03-01 19:31:54 [1514966] 
1cj92X-006M6s-V0 Cannot open main log file "/var/log/exim4/mainlog": Permission 
denied: euid=0 egid=112
| Mar  1 19:31:54 ds9 exim[1514966]: exim: could not open panic log - aborting: 
see message(s) above
`----

Grüße,
Sven.

-- System Information:
Debian Release: 9.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'unstable'), (500, 'testing'), (200, 'experimental'), (1, 'experimental-debug')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 4.8.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages netdata depends on:
ii  adduser              3.115
ii  init-system-helpers  1.47
ii  libc6                2.24-9
ii  libcap2-bin          1:2.25-1
ii  libuuid1             2.29.1-1
ii  lsb-base             9.20161125
ii  netdata-data         1.5.0+dfsg-4
ii  python               2.7.13-2
ii  python-yaml          3.12-1
ii  zlib1g               1:1.2.8.dfsg-5

Versions of packages netdata recommends:
pn  nodejs  <none>

netdata suggests no packages.

-- Configuration Files:
/etc/netdata/health.d/disks.conf changed [not included]
/etc/netdata/health_alarm_notify.conf changed [not included]
/etc/netdata/netdata.conf changed [not included]
/etc/netdata/python.d/apache.conf changed [not included]

-- debconf-show failed

-- debsums errors found:
debsums: changed file /lib/systemd/system/netdata.service (from netdata package)

Reply via email to