Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
209
bool Downtime::IsTriggered() const
210
{
211
double now = Utility::GetTime();
212
213
double triggerTime = GetTriggerTime();
214
215
return (triggerTime > 0 && triggerTime <= now);
216
}
217
218
bool Downtime::IsExpired() const
219
{
Callers
1
NotifyDowntimeEnd
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected