mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 23:24:09 +02:00
parent
72c4ef57d6
commit
8ab803aac0
@ -221,6 +221,13 @@ void Service::OnAttributeChanged(const String& name, const Value& oldValue)
|
|||||||
Service::InvalidateCommentCache();
|
Service::InvalidateCommentCache();
|
||||||
else if (name == "notifications")
|
else if (name == "notifications")
|
||||||
UpdateSlaveNotifications();
|
UpdateSlaveNotifications();
|
||||||
|
else if (name == "check_interval") {
|
||||||
|
ConfigItem::Ptr item = ConfigItem::GetObject("Service", GetName());
|
||||||
|
|
||||||
|
/* update the next check timestamp if we're the owner of this service */
|
||||||
|
if (item && !IsAbstract())
|
||||||
|
UpdateNextCheck();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
set<Host::Ptr> Service::GetParentHosts(void) const
|
set<Host::Ptr> Service::GetParentHosts(void) const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user