With heavy system logging which goes by default into `/var/log/messages`
log file which is usually placed in tmpfs/RAM one can trigger OOM killer
fairly easily, thus killing random processes and in some cases making
system unusable.
This is likely happening due to the fact, that Linux by default uses 1/2
of available RAM for tmpfs, which might be for example an issue on low
RAM devices with ath10k wireless.
So let's fix it by adding logrotate functionality which should limit the
size of `/var/log/messages` log file to 1M by default, but could be
tweaked by config knob if needed be.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit 660fa63faf)
To avoid unnecessary dependency, let's disable it for now.
LZ4 can be also used for DB engine and HTTPS
Fixes:
Package netdata is missing dependencies for the following libraries:
liblz4.so.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
- Switch to upstream's release tarball
Requires to add PKG_BUILD_DIR since netdata is extracted to the folder
netdata-v1.33.1 instead of the previous solution where there was
missing v
- Disable anomaly detection by default
This avoids adding a new dependencies to netdata
Fixes:
Package netdata is missing dependencies for the following libraries:
libatomic.so.1
libstdc++.so.6
- Add FreeBSD patch to have smaller package and to avoid clutter in
WebUI
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
[add commit message, add FreeBSD patch]
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
configure script detects Darwin and uses flags incompatible with
Linux target build.
This patch uses fakeuname tool if host OS is MacOS to avoid Darwin
detection on target build.
Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
With the last upstream change, all build variants were removed so that
we only have one package. It is now called openwisp-config.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Those devices don't have 'device' propery, only 'l3_device', which
causes 'attempt to concatenate field 'device' (a nil value)' lua error.
Use 'l3_device' as a fallback in this case.
Signed-off-by: Jacek Konieczny <jajcus@jajcus.net>
Also bump the version in syslog-ng config file.
Removes this warning:
Nov 16 14:19:41 turris syslog-ng[15159]: WARNING: Configuration file format is too old, syslog-ng is running in compatibility mode. Please update it to use the syslog-ng 3.35 format at your time of convenience. To upgrade the configuration, please review the warnings about incompatible changes printed by syslog-ng, and once completed change the @version header at the top of the configuration file; config-version='3.33'
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Add configurables via a menu to enable support for various features:
- GSSAPI Kerberos support
- mysql
- postgresql
- libdbi
- elasticsearch
- HTTP output module
- openssl
- gnutls
- mail output
- json parsing module
- MaxMind DB support
- input file
Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
Since 3.1.0 delayacct option is enabled if the needed dependencies
are detected, it was previously disabled.
Sensors also check for dependency so we need to explicitly
disable it when not enabled.
Fixes 5f91672055
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
Update htop to versio 3.1.0
* Adjust Makefile configuration options to update
* Avoid libcap dependency
* Backport post-release fix for old automake
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Enabled by default for x86, this enables lm-sensors support in htop.
Also add --enable-linux-affinity to avoid autodetecting it
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
Some versions of killall do support the `killall -SIGNAL` syntax and
have only `-s SIGNAL` which should be supported everywhere.
I see the problem with *killall (PSmisc) 23.3* on latest TurrisOS 5.2
Signed-off-by: Jan Baier <jan.baier@amagical.net>
For now, disable mqtt as it was automatically enabled as the build
system finds compiled libpaho-mqtt-c and requires dependency.
---
Here is the output:
Package syslog-ng is missing dependencies for the following libraries:
libpaho-mqtt3c.so.1
---
This is a new feature since syslog-ng 3.33.1 and if anyone is interested
in it, it can be enabled.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
- Release notes:
https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-3.33.1
- Bump version in config
It fixes:
WARNING: Configuration file format is too old, syslog-ng is running in compatibility mode. Please update it to use the syslog-ng 3.33 format at your time of convenience. To upgrade the configuration, please review the warnings about incompatible changes printed by syslog-ng, and once completed change the @version header at the top of the configuration file; config-version='3.31'
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Refresh patch 010-cross-compile-fixes.patch
Re-apply patch 020-no-owner-change.patch
Also we need to explicitly disable OpenSSL support.
We may enable it later if needed/requested.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Fix log spam:
daemon.err netdata[2090]: PROCFILE: Cannot open file '/proc/sysvipc/shm'
This is caused by a non existant /proc/sysvipc/shm because of the
CONFIG_PROC_STRIPPED option that is enabled by default in the kernel
generic target config
Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Makefile does not overwrite par2 path
if par2 is available on build-host it is detected
and then the patch with fixup-config-pl.patch
in install fails because hunk 2 cannot be applied
hunk 2 has $Conf{ParPath} = ''; - so provide an empty path
Signed-off-by: Dirk Neukirchen <plntyk.lede@plntyk.name>