mirror of https://github.com/Icinga/icinga2.git
Merge pull request #5994 from Icinga/fix/influxdb-template
InfluxDBWriter: Fix macro in template
This commit is contained in:
commit
9ad5def531
|
@ -68,7 +68,7 @@ class InfluxdbWriter : ConfigObject
|
||||||
return new Dictionary({
|
return new Dictionary({
|
||||||
{ "measurement", "$service.check_command$" },
|
{ "measurement", "$service.check_command$" },
|
||||||
{ "tags", new Dictionary({
|
{ "tags", new Dictionary({
|
||||||
{ "hostname", "$host.name" },
|
{ "hostname", "$host.name$" },
|
||||||
{ "service", "$service.name$" }
|
{ "service", "$service.name$" }
|
||||||
}) }
|
}) }
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue