# NOTE: # If you wanna run multiple instances of vmalert, just copy this file to # /etc/default/vmalert@N with N being the name of the related instance. It # can be managed using e.g.: # systemctl {start|stop|enble|disable} vmalert@N # The follwoing 4 parameters are required to run the service: # The directory containing all rule files (*.yml) to use with the default # vmalert instance. You may add others using the -rule="..." option within # ARGS= below. The directory must exist, otherwise the service gets not started. RULES_DIR=/etc/vmalert # The URL of the PromQL compatible datasource to query periodically. DATASOURCE=http://localhost:8428 # The default query interval. INTERVAL=5s # The URL of the alert manager to notify. Additional URLs might be added using # the -notifier.url="..." with ARGS= below. NOTIFY=http://localhost:9093 # Any other options to pass verbatim to the vmalert. See 'vmalert -h'. # E.g. if you run multiple vmalert services for the same datastore or # AlertManager - do not forget to specify different -external.label="..." # options in order to define which vmalert generated rules or alerts. ARGS=""