mirror of https://github.com/Icinga/icinga2.git
parent
3fe169cd7a
commit
9344399f44
|
@ -120,7 +120,7 @@ void GraphiteWriter::CheckResultHandler(const Service::Ptr& service, const Check
|
||||||
SendPerfdata(prefix, cr);
|
SendPerfdata(prefix, cr);
|
||||||
|
|
||||||
if (service == host->GetCheckService()) {
|
if (service == host->GetCheckService()) {
|
||||||
prefix = "icinga." + hostName; // TODO works?
|
prefix = "icinga." + hostName;
|
||||||
|
|
||||||
/* host metrics */
|
/* host metrics */
|
||||||
SendMetric(prefix, "current_attempt", service->GetCheckAttempt());
|
SendMetric(prefix, "current_attempt", service->GetCheckAttempt());
|
||||||
|
|
Loading…
Reference in New Issue