mirror of https://github.com/Icinga/icinga2.git
Add timestamp support for PerfdataWriter
Change the default from $timet$ to ${host,service}.last_check$ fixes #9185
This commit is contained in:
parent
b921439f38
commit
dcc8704e2d
|
@ -40,7 +40,7 @@ class PerfdataWriter : DynamicObject
|
|||
[config] String host_format_template {
|
||||
default {{{
|
||||
return "DATATYPE::HOSTPERFDATA\t"
|
||||
"TIMET::$icinga.timet$\t"
|
||||
"TIMET::$host.last_check$\t"
|
||||
"HOSTNAME::$host.name$\t"
|
||||
"HOSTPERFDATA::$host.perfdata$\t"
|
||||
"HOSTCHECKCOMMAND::$host.check_command$\t"
|
||||
|
@ -51,7 +51,7 @@ class PerfdataWriter : DynamicObject
|
|||
[config] String service_format_template {
|
||||
default {{{
|
||||
return "DATATYPE::SERVICEPERFDATA\t"
|
||||
"TIMET::$icinga.timet$\t"
|
||||
"TIMET::$service.last_check$\t"
|
||||
"HOSTNAME::$host.name$\t"
|
||||
"SERVICEDESC::$service.name$\t"
|
||||
"SERVICEPERFDATA::$service.perfdata$\t"
|
||||
|
|
Loading…
Reference in New Issue