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

Method HostProblemChangedHandler

lib/icingadb/icingadb-objects.cpp:3059–3064  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3057}
3058
3059void IcingaDB::HostProblemChangedHandler(const Service::Ptr& service) {
3060 for (auto& rw : ConfigType::GetObjectsByType<IcingaDB>()) {
3061 /* Host state changes affect is_handled and severity of services. */
3062 rw->EnqueueConfigObject(service, icingadb::task_queue::FullState);
3063 }
3064}
3065
3066void IcingaDB::AcknowledgementSetHandler(const Checkable::Ptr& checkable, const String& author, const String& comment, AcknowledgementType type, bool persistent, double changeTime, double expiry)
3067{

Callers

nothing calls this directly

Calls 1

EnqueueConfigObjectMethod · 0.80

Tested by

no test coverage detected