Kapacitor state module.
| configuration: | This module accepts connection configuration details either as parameters or as configuration settings in /etc/salt/minion on the relevant minions: kapacitor.unsafe_ssl: 'false'
kapacitor.protocol: 'http'
kapacitor.host: 'localhost'
kapacitor.port: 9092
This data can also be passed into pillar. Options passed into opts will overwrite options passed into pillar. |
|---|
New in version 2016.11.0.
salt.states.kapacitor.task_absent(name)¶Ensure that a task is absent from Kapacitor.
salt.states.kapacitor.task_present(name, tick_script, task_type=u'stream', database=None, retention_policy=u'default', enable=True, dbrps=None)¶Ensure that a task is present and up-to-date in Kapacitor.
A list of databases and retention policies in "dbname"."rpname" format to fetch data from. For backward compatibility, the value of 'database' and 'retention_policy' will be merged as part of dbrps.
New in version 2019.2.0.