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

Method IsTriggered

lib/icinga/downtime.cpp:209–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207}
208
209bool Downtime::IsTriggered() const
210{
211 double now = Utility::GetTime();
212
213 double triggerTime = GetTriggerTime();
214
215 return (triggerTime > 0 && triggerTime <= now);
216}
217
218bool Downtime::IsExpired() const
219{

Callers 1

NotifyDowntimeEndMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected