You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
599 B
25 lines
599 B
/**
|
|
* The InfluxdbWriter type writes check result metrics and
|
|
* performance data to an InfluxDB HTTP API
|
|
*/
|
|
|
|
object InfluxdbWriter "influxdb" {
|
|
host = "{{ grafana_influxdb.bindaddr }}"
|
|
port = "{{ grafana_influxdb.bindport }}"
|
|
database = "{{ grafana_influxdb.database }}"
|
|
flush_threshold = 1024
|
|
flush_interval = 10s
|
|
host_template = {
|
|
measurement = "$host.check_command$"
|
|
tags = {
|
|
hostname = "$host.name$"
|
|
}
|
|
}
|
|
service_template = {
|
|
measurement = "$service.check_command$"
|
|
tags = {
|
|
hostname = "$host.name$"
|
|
service = "$service.name$"
|
|
}
|
|
}
|
|
}
|
|
|