mirror of
https://github.com/YunoHost-Apps/netdata_ynh.git
synced 2024-09-03 19:46:33 +02:00
Add MongoDB monitoring support
This commit is contained in:
parent
11d5064f3c
commit
a24cc508ae
2 changed files with 4 additions and 4 deletions
|
@ -6,7 +6,7 @@
|
||||||
"en": "real-time performance and health monitoring",
|
"en": "real-time performance and health monitoring",
|
||||||
"fr": "Monitoring serveur en temps reel"
|
"fr": "Monitoring serveur en temps reel"
|
||||||
},
|
},
|
||||||
"version": "1.10.0~ynh1",
|
"version": "1.10.0~ynh2",
|
||||||
"url": "http://my-netdata.io/",
|
"url": "http://my-netdata.io/",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Common variables
|
# Common variables
|
||||||
#
|
#
|
||||||
|
|
||||||
pkg_dependencies="zlib1g-dev uuid-dev libmnl-dev gcc make git autoconf autoconf-archive autogen automake pkg-config curl jq nodejs python-mysqldb libipmimonitoring-dev acl python-psycopg2"
|
pkg_dependencies="zlib1g-dev uuid-dev libmnl-dev gcc make git autoconf autoconf-archive autogen automake pkg-config curl jq nodejs python-mysqldb libipmimonitoring-dev acl python-psycopg2 python-pymongo"
|
||||||
|
|
||||||
# Configure NetData
|
# Configure NetData
|
||||||
configure_netdata() {
|
configure_netdata() {
|
||||||
|
@ -16,7 +16,7 @@ configure_netdata() {
|
||||||
|
|
||||||
# Add a web_log entry for every YunoHost domain
|
# Add a web_log entry for every YunoHost domain
|
||||||
netdata_add_yunohost_web_logs
|
netdata_add_yunohost_web_logs
|
||||||
|
|
||||||
# If PostgreSQL is installed, add a PostgreSQL entry using instance password
|
# If PostgreSQL is installed, add a PostgreSQL entry using instance password
|
||||||
netdata_add_yunohost_postgres_configuration
|
netdata_add_yunohost_postgres_configuration
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ configure_netdata() {
|
||||||
# Need dovecot 2.2.16+
|
# Need dovecot 2.2.16+
|
||||||
setfacl -m u:netdata:rw /var/run/dovecot/stats
|
setfacl -m u:netdata:rw /var/run/dovecot/stats
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Add netdata to the adm group to access web logs
|
# Add netdata to the adm group to access web logs
|
||||||
usermod -a -G adm netdata
|
usermod -a -G adm netdata
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue