mirror of https://github.com/Icinga/icinga2.git
Change more loglines for checkables so checkable is quoted
refs #5528 refs #5529
This commit is contained in:
parent
9f931edc82
commit
8ca08de4cd
|
@ -374,7 +374,7 @@ void Checkable::ProcessCheckResult(const CheckResult::Ptr& cr, const MessageOrig
|
|||
OnNotificationsRequested(this, NotificationFlappingStart, cr, "", "", MessageOrigin::Ptr());
|
||||
|
||||
Log(LogNotice, "Checkable")
|
||||
<< "Flapping: Checkable " << GetName() << " started flapping (" << GetFlappingThreshold() << "% < " << GetFlappingCurrent() << "%).";
|
||||
<< "Flapping: Checkable '" << GetName() << "' started flapping (" << GetFlappingThreshold() << "% < " << GetFlappingCurrent() << "%).";
|
||||
|
||||
NotifyFlapping(origin);
|
||||
} else if (!in_downtime && was_flapping && !is_flapping) {
|
||||
|
@ -383,7 +383,7 @@ void Checkable::ProcessCheckResult(const CheckResult::Ptr& cr, const MessageOrig
|
|||
OnNotificationsRequested(this, NotificationFlappingEnd, cr, "", "", MessageOrigin::Ptr());
|
||||
|
||||
Log(LogNotice, "Checkable")
|
||||
<< "Flapping: Checkable " << GetName() << " stopped flapping (" << GetFlappingThreshold() << "% >= " << GetFlappingCurrent() << "%).";
|
||||
<< "Flapping: Checkable '" << GetName() << "' stopped flapping (" << GetFlappingThreshold() << "% >= " << GetFlappingCurrent() << "%).";
|
||||
|
||||
NotifyFlapping(origin);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue