bosun.org@v0.0.0-20210513094433-e25bc3e69a1f/docker/data/bosun.toml (about)

     1  # Hostname will be used when links are created in templates (i.e. acknowledge links)
     2  #Hostname = "bosun.example.com"
     3  
     4  # The HTTP IP and Port to Listen on. Default is ":8070"
     5  #HTTPListen = ":8080"
     6  
     7  # Alert checks are run by default every CheckFrequency * DefaultRunEvery. RunEvery can be overridden
     8  # by indivdual alerts. Defaults are "5m" and 1
     9  CheckFrequency = "1m"
    10  DefaultRunEvery = 5
    11  
    12  # Path to the rule file (file that contains definitions for alerts, macros, lookups, templates, and notifications)
    13  RuleFilePath = "/data/bosunrules.conf"
    14  
    15  # timeanddate.com zones (only for use in the UI)
    16  TimeAndDate = [ 202, 75, 179, 136 ]
    17  
    18  # An API key for generating goo.gl shortlinks
    19  #ShortURLKey = "aKey"
    20  
    21  # The minumum amount of alerts to create an alert group on the dashboard. Default is 5
    22  MinGroupSize = 5
    23  
    24  # How many unknown alerts in a check cycle are needed before a group notiofication is created
    25  UnknownThreshold = 5
    26  
    27  # This makes it so Bosun ping's and records a metric for every value of the "host" tag it has seen. Default is false
    28  Ping = false
    29  
    30  # How long before hosts stop being pinged if we haven't seen a tagset for that host.Alert. Default is 24 hours
    31  PingDuration = "24h"
    32  
    33  # How long certain items and metrics should be displayed in the UI if we haven't seen them. Default 3 days
    34  SearchSince = "72h"
    35  
    36  # Enable saving API endpoints and the ability to save the config via the UI. Default is false
    37  EnableSave   = true
    38  EnableReload = true
    39  
    40  # Path to a command that will be executed on save of the rule configuration. This command is passed a filename, username, message, and vargs
    41  # If the command does not execute save operations will be canceled and the rule file will be restored
    42  #CommandHookPath = "/Users/kbrandt/src/hook/hook"
    43  
    44  # Configuration to enable the OpenTSDB Backend
    45  [OpenTSDBConf]
    46  	Host = "http://opentsdb:4242"
    47  	# Default is 2.1, certain features like filters are enabled when the version is set to 2.2
    48  	Version = 2.2
    49  	# ResponseLimit will make requests error if the response from opentsdb is larger than this setting in bytes. Default of 1MB
    50  	ResponseLimit = 25000000
    51  
    52  # Configuration for to enable to Graphite Backend
    53  #[GraphiteConf]
    54  #	Host = "localhost:80"
    55  #	[GraphiteConf.Headers]
    56  #		X-Meow = "Mix"
    57  
    58  # Configuration of hosts to enable the Elastic backend
    59  #[ElasticConf]
    60  #	Hosts = ["http://ny-lselastic01.example.com:9200", "http://ny-lselastic02.example.com:9200"]
    61  
    62  # Configuration for embedding the annotate service (also enables annotations if hosts are defined)
    63  #[AnnotateConf]
    64  #    Hosts = ["http://ny-lselastic01.example.com:9200", "http://ny-lselastic02.example.com:9200"]
    65  #    # Set the Index name that annotations are stored in. Default is annotate
    66  #    # Index = annotate
    67  
    68  # Configuration for Bosun's internal storage. Can be Ledis (Default) or Redis. Redis is recommended
    69  # for production setups. Defaults for ledis are below but would be ignored since redis takes
    70  # precedence
    71  [DBConf]
    72  	RedisHost = "redis:6379"
    73  	RedisDb = 0
    74  	LedisDir = "/data/ledis_data"
    75  	LedisBindAddr = "0.0.0.0:9565"	
    76  
    77  # Configuration to enable Bosun to be able to send email notifications
    78  #[SMTPConf]
    79  #	EmailFrom = "bosun@example.com"
    80  #	Host = "mail.example.com"
    81  
    82  # Configuration to enable the InfluxDB backend
    83  #[InfluxConf]
    84  #	URL = "https://myInfluxServer:1234"
    85  #	Timeout = "5m"
    86  #	UnsafeSSL = true