mirror of
https://github.com/YunoHost-Apps/netdata_ynh.git
synced 2024-09-03 19:46:33 +02:00
Upgrade to upstream version 1.7.0 and extend weblog monitoring to every domain
This commit is contained in:
parent
2e43ea3045
commit
3f12eab1dd
5 changed files with 241 additions and 235 deletions
|
@ -11,7 +11,7 @@ _netdata is **fast** and **efficient**, designed to permanently run on all syste
|
|||
(**physical** & **virtual** servers, **containers**, **IoT** devices), without
|
||||
disrupting their core function._
|
||||
|
||||
**Shipped version:** 1.6.0
|
||||
**Shipped version:** 1.7.0
|
||||
|
||||
**Customization brought by the package:**
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "real-time performance and health monitoring",
|
||||
"fr": "Monitoring serveur en temps reel"
|
||||
},
|
||||
"version": "1.6.0",
|
||||
"version": "1.7.0",
|
||||
"url": "http://my-netdata.io/",
|
||||
"license": "GPL-3.0",
|
||||
"maintainer": {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
|
||||
# Application version
|
||||
VERSION="1.6.0"
|
||||
VERSION="1.7.0"
|
||||
|
||||
# Remote URL to fetch application source archive
|
||||
APPLICATION_SOURCE_URL="https://github.com/firehol/netdata/releases/download/v${VERSION}/netdata-${VERSION}.tar.gz"
|
||||
|
|
|
@ -53,6 +53,9 @@ sudo setfacl -m u:netdata:rw /var/run/dovecot/stats
|
|||
# Add netdata to the adm group to access web logs
|
||||
sudo usermod -a -G adm netdata
|
||||
|
||||
# Extend weblog path to process logs for every domain
|
||||
sed -i "s@path: '/var/log/nginx/access.log'@path: '/var/log/nginx/*-access.log'@g" /opt/netdata/etc/netdata/python.d/web_log.conf
|
||||
|
||||
# Declare service for YunoHost monitoring
|
||||
sudo yunohost service add netdata --log "/opt/netdata/var/log/netdata/error.log" "/opt/netdata/var/log/netdata/access.log" "/opt/netdata/var/log/netdata/debug.log"
|
||||
|
||||
|
|
|
@ -58,6 +58,9 @@ sudo setfacl -m u:netdata:rw /var/run/dovecot/stats
|
|||
# Add netdata to the adm group to access web logs
|
||||
sudo usermod -a -G adm netdata
|
||||
|
||||
# Extend weblog path to process logs for every domain
|
||||
sed -i "s@path: '/var/log/nginx/access.log'@path: '/var/log/nginx/*-access.log'@g" /opt/netdata/etc/netdata/python.d/web_log.conf
|
||||
|
||||
# Declare service for YunoHost monitoring
|
||||
sudo yunohost service add netdata --log "/opt/netdata/var/log/netdata/error.log" "/opt/netdata/var/log/netdata/access.log" "/opt/netdata/var/log/netdata/debug.log"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue