MCPcopy Create free account
hub / github.com/Icinga/icinga2 / NotifyDowntimeInternal

Method NotifyDowntimeInternal

lib/icinga/checkable.cpp:285–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283}
284
285void Checkable::NotifyDowntimeInternal(const Downtime::Ptr& downtime)
286{
287 Checkable::Ptr checkable = downtime->GetCheckable();
288
289 if (!checkable->IsPaused())
290 OnNotificationsRequested(checkable, NotificationDowntimeStart, checkable->GetLastCheckResult(), downtime->GetAuthor(), downtime->GetComment(), nullptr);
291}
292
293void Checkable::NotifyDowntimeEnd(const Downtime::Ptr& downtime)
294{

Callers

nothing calls this directly

Calls 2

IsPausedMethod · 0.80
GetCheckableMethod · 0.45

Tested by

no test coverage detected