recreate
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
# netdata go.d.plugin configuration
|
||||
#
|
||||
# This file is in YaML format.
|
||||
|
||||
# Enable/disable the whole go.d.plugin.
|
||||
enabled: yes
|
||||
|
||||
# Enable/disable default value for all modules.
|
||||
default_run: yes
|
||||
|
||||
# Maximum number of used CPUs. Zero means no limit.
|
||||
max_procs: 0
|
||||
|
||||
# Enable/disable specific g.d.plugin module
|
||||
modules:
|
||||
apache: no
|
||||
lighttpd: no
|
||||
lighttpd2: no
|
||||
energid: no
|
||||
|
||||
web_log: yes
|
||||
nginx: yes
|
||||
phpfpm: yes
|
||||
mysql: yes
|
||||
@@ -0,0 +1,3 @@
|
||||
jobs:
|
||||
- name: local
|
||||
dsn: PH_NETDATA_DB_USER:PH_NETDATA_DB_PASSWD@tcp(PH_MYSQL_SERVER_ADDRESS:PH_MYSQL_SERVER_PORT)/
|
||||
@@ -0,0 +1,4 @@
|
||||
jobs:
|
||||
- name: local
|
||||
url: https://127.0.0.1/stub_status
|
||||
tls_skip_verify: yes
|
||||
@@ -0,0 +1,4 @@
|
||||
jobs:
|
||||
- name: local
|
||||
url: https://127.0.0.1/status?full&json
|
||||
tls_skip_verify: yes
|
||||
@@ -0,0 +1 @@
|
||||
SEND_EMAIL="NO"
|
||||
@@ -0,0 +1,63 @@
|
||||
# Get config from http://127.0.0.1:<netdata_port>/netdata.conf
|
||||
[registry]
|
||||
# Disable public central registry and become registry locally
|
||||
enabled = yes
|
||||
|
||||
# Register to internal server instead
|
||||
registry to announce = http://127.0.0.1:PH_NETDATA_PORT
|
||||
|
||||
[global]
|
||||
# The number of entries the netdata daemon will by default keep in memory
|
||||
# for each chart dimension. This setting can also be configured per chart.
|
||||
history = 172800
|
||||
|
||||
# memory mode
|
||||
# - `save` is the default mode, data are maintained in memory and saved to
|
||||
# disk when netdata exits.
|
||||
# - `ram` data are exclusively on memory and never saved on disk.
|
||||
# - `map` like swap, files are mapped to memory on demand.
|
||||
#
|
||||
# WARNING: We suggest not to use this mode on nodes that run other
|
||||
# applications.
|
||||
#
|
||||
# - `none` no local database (used when data are streamed to a remote netdata).
|
||||
# - `dbengine`: data are in database files.
|
||||
# The Database Engine works like a traditional database.
|
||||
memory mode = dbengine
|
||||
|
||||
#
|
||||
# dbengine.
|
||||
#
|
||||
# determines the amount of RAM in MiB that is dedicated to caching netdata
|
||||
# metric values themselves.
|
||||
page cache size = 32
|
||||
|
||||
# determines the amount of disk space in MiB that is dedicated to storing
|
||||
# netdata metric values and all related metadata describing them.
|
||||
dbengine disk space = 256
|
||||
|
||||
# Bind to 127.0.0.1 by default.
|
||||
bind to = 127.0.0.1
|
||||
# Bind to all available network interfaces, but allow access from specified
|
||||
# IP addresses or networks.
|
||||
#bind to = *
|
||||
#allow connections from =
|
||||
|
||||
run as user = PH_SYS_USER_NETDATA
|
||||
default port = PH_NETDATA_PORT
|
||||
|
||||
# The frequency in seconds, for data collection.
|
||||
update every = 3
|
||||
|
||||
# Log files
|
||||
# Nginx logs access log, netdata no need to log it again.
|
||||
access log = none
|
||||
#error log = syslog
|
||||
#debug log = syslog
|
||||
|
||||
[plugin:proc]
|
||||
# Disable IPVS check since iRedMail doesn't use ipvs by default
|
||||
/proc/net/ip_vs/stats = no
|
||||
|
||||
# inbound packets dropped
|
||||
/proc/net/dev = no
|
||||
@@ -0,0 +1,49 @@
|
||||
# netdata python.d.plugin configuration
|
||||
#
|
||||
# This file is in YaML format.
|
||||
# Generally the format is:
|
||||
#
|
||||
# name: value
|
||||
#
|
||||
|
||||
# Enable / disable the whole python.d.plugin (all its modules)
|
||||
enabled: yes
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# Enable / Disable python.d.plugin modules
|
||||
#default_run: yes
|
||||
#
|
||||
# If "default_run" = "yes" the default for all modules is enabled (yes).
|
||||
# Setting any of these to "no" will disable it.
|
||||
#
|
||||
# If "default_run" = "no" the default for all modules is disabled (no).
|
||||
# Setting any of these to "yes" will enable it.
|
||||
|
||||
# Enable / Disable explicit garbage collection (full collection run). Default is enabled.
|
||||
gc_run: yes
|
||||
|
||||
# Garbage collection interval in seconds. Default is 300.
|
||||
gc_interval: 300
|
||||
|
||||
apache: no
|
||||
# apache_cache has been replaced by web_log
|
||||
apache_cache: no
|
||||
chrony: no
|
||||
energid: no
|
||||
# this is just an example
|
||||
example: no
|
||||
go_expvar: no
|
||||
# gunicorn_log has been replaced by web_log
|
||||
gunicorn_log: no
|
||||
logind: no
|
||||
# nginx_log has been replaced by web_log
|
||||
nginx_log: no
|
||||
nginx_plus: no
|
||||
exim: no
|
||||
|
||||
# Use go.d for better performance since netdata-1.19.0.
|
||||
web_log: no
|
||||
nginx: no
|
||||
phpfpm: no
|
||||
mysql: no
|
||||
bind: no
|
||||
@@ -0,0 +1,8 @@
|
||||
update_every: 5
|
||||
|
||||
local:
|
||||
username : "PH_LDAP_BINDDN" # The bind user with right to access monitor statistics
|
||||
password : "PH_LDAP_BINDPW" # The password for the binded user
|
||||
server : "localhost" # The listening address of the LDAP server
|
||||
port : 389 # The listening port of the LDAP server
|
||||
timeout : 1
|
||||
@@ -0,0 +1,5 @@
|
||||
socket:
|
||||
name : 'local'
|
||||
user : 'PH_NETDATA_DB_USER'
|
||||
password : 'PH_NETDATA_DB_PASSWD'
|
||||
database : 'postgres'
|
||||
@@ -0,0 +1,2 @@
|
||||
[Service]
|
||||
LimitNOFILE=30000
|
||||
Reference in New Issue
Block a user