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

Method StateChangeHandler

lib/icingadb/icingadb-objects.cpp:2926–2931  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2924}
2925
2926void IcingaDB::StateChangeHandler(const ConfigObject::Ptr& object, const CheckResult::Ptr& cr, StateType type)
2927{
2928 for (const IcingaDB::Ptr& rw : ConfigType::GetObjectsByType<IcingaDB>()) {
2929 rw->SendStateChange(object, cr, type);
2930 }
2931}
2932
2933void IcingaDB::ReachabilityChangeHandler(const std::set<Checkable::Ptr>& children)
2934{

Callers

nothing calls this directly

Calls 1

SendStateChangeMethod · 0.80

Tested by

no test coverage detected