Skip to content

Configuration

Jacob Ouellette edited this page May 25, 2020 · 3 revisions

DEFAULT

  • MOD_PATH: Location of modules. Default: /opt/monigraf/modules/
  • MOD_ENABLED: Specifies each modules enabled on this host. Format: ["module1","module2"]. Default: ["network","smart","system"]
  • delay: Default delay before recollect stats. You can set this variable in modules configuration so a module can collect data more frequently. Value are in seconds. Default: 3600

influxdb

  • server: IP of influxdb server. Default: 127.0.0.1
  • username: Username used to connect to influxdb. Default: monigraf
  • password: Password associated with username. Use single quote around password. Ex: 'Secr3tPa$$'
  • dbname: Database used to create measurements. Default: monigraf

datasource_elasticsearch

  • server: IP if elasticsearch server. Default: 127.0.0.1
  • port: Elasticsearch port. Default: 9200

Modules configuration

network

  • delay: Default: 600
  • interfaces: Monitor specified interfaces. Format: ["eth0","eth1"] or all to monitor all interfaces. Default: all

apcups

  • delay

smart

  • delay
  • drives: Specifies each drive you want to monitor. Format: ["sda","sdc"]. Default: all

system

  • delay: Default: 600

unbound

  • delay
  • hosts: Hosts to get stats. Format: ["1.2.3.4@8953", "myhostname@8953"]. Default: ["localhost@8953"]

raw_logs

  • log_file_list: A file that contains a list of file to watch. Default: /etc/monigraf/raw_logs
  • delay: Default: 30

certificates_expiration

  • days_before_warning: Days before certificates should be considered as a warning. Default: 15
  • days_before_critical: Days before certificates should be considered as critical. Default: 5
  • domain_file_list: A file that contains a list of domain to check. Default: /etc/monigraf/domains
  • delay: Default: 86400

Clone this wiki locally