文件操作 - unbound.conf
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/netdata/conf.d/go.d/unbound.conf
编辑文件内容
# netdata go.d.plugin configuration for unbound # # This file is in YaML format. Generally the format is: # # name: value # # There are 2 sections: # - GLOBAL # - JOBS # # # [ GLOBAL ] # These variables set the defaults for all JOBs, however each JOB may define its own, overriding the defaults. # # The GLOBAL section format: # param1: value1 # param2: value2 # # Currently supported global parameters: # - update_every # Data collection frequency in seconds. Default: 1. # # - autodetection_retry # Re-check interval in seconds. Attempts to start the job are made once every interval. # Zero means not to schedule re-check. Default: 0. # # - priority # Priority is the relative priority of the charts as rendered on the web page, # lower numbers make the charts appear before the ones with higher numbers. Default: 70000. # # # [ JOBS ] # JOBS allow you to collect values from multiple sources. # Each source will have its own set of charts. # # IMPORTANT: # - Parameter 'name' is mandatory. # - Jobs with the same name are mutually exclusive. Only one of them will be allowed running at any time. # # This allows autodetection to try several alternatives and pick the one that works. # Any number of jobs is supported. # # The JOBS section format: # # jobs: # - name: job1 # param1: value1 # param2: value2 # # - name: job2 # param1: value1 # param2: value2 # # - name: job2 # param1: value1 # # # [ List of JOB specific parameters ]: # - address # Server address. # Syntax: # address: 127.0.0.1:8953 # address: /var/run/unbound.sock # # - timeout # Connection/read/write/ssl handshake timeout. # Syntax: # timeout: 1 # # - conf_path # Absolute path to the unbound configuration file. Module uses the file to autodetect 'address', 'cumulative', # 'use_tls', 'tls_cert' and 'tls_key' parameters. # To disable parameters auto detection set it to empty string (""). # Syntax: # conf_path: /path/to/unbound.conf # # - cumulative # Statistics collection mode. Should have the same value as the `statistics-cumulative` parameter in the unbound # configuration file. # Syntax: # cumulative: yes/no # # - use_tls # Whether to use or not TLS. # Syntax: # use_tls: yes/no # # - tls_skip_verify # Whether to skip verifying server's certificate chain and hostname. # Syntax: # tls_skip_verify: yes/no # # - tls_cert # Client tls certificate. # Syntax: # tls_cert: path/to/cert.pem # # - tls_key # Client tls key. # Syntax: # tls_key: path/to/key.pem # # # [ JOB defaults ]: # address: 127.0.0.1:8953 # timeout: 1 # conf_path: /etc/unbound/unbound.conf # cumulative: no # use_tls: yes # tls_skip_verify: yes # tls_cert: /etc/unbound/unbound_control.pem # tls_key: /etc/unbound/unbound_control.key # # # [ JOB mandatory parameters ]: # - name # - address # # ------------------------------------------------MODULE-CONFIGURATION-------------------------------------------------- # [ GLOBAL ] # update_every: 1 # autodetection_retry: 0 # priority: 70000 # # # [ JOBS ] jobs: - name: local address: 127.0.0.1:8953 timeout: 1 conf_path: /etc/unbound/unbound.conf cumulative: no use_tls: yes tls_skip_verify: yes tls_cert: /etc/unbound/unbound_control.pem tls_key: /etc/unbound/unbound_control.key
修改文件时间
将文件时间修改为当前时间的前一年
删除文件