mirror of https://github.com/Icinga/icinga2.git
parent
7a3848af1e
commit
c2cf614d62
|
@ -130,9 +130,6 @@ void DbObject::SendStatusUpdate(void)
|
|||
if (query.Table != "endpointstatus" && query.Table != "zonestatus") {
|
||||
String node = IcingaApplication::GetInstance()->GetNodeName();
|
||||
|
||||
Log(LogDebug, "DbObject")
|
||||
<< "Endpoint node: '" << node << "' status update for '" << GetObject()->GetName() << "'";
|
||||
|
||||
Endpoint::Ptr endpoint = Endpoint::GetByName(node);
|
||||
if (endpoint)
|
||||
query.Fields->Set("endpoint_object_id", endpoint);
|
||||
|
@ -164,9 +161,6 @@ void DbObject::SendVarsConfigUpdate(void)
|
|||
Dictionary::Ptr vars = CompatUtility::GetCustomAttributeConfig(custom_var_object);
|
||||
|
||||
if (vars) {
|
||||
Log(LogDebug, "DbObject")
|
||||
<< "Updating object vars for '" << custom_var_object->GetName() << "'";
|
||||
|
||||
ObjectLock olock (vars);
|
||||
|
||||
BOOST_FOREACH(const Dictionary::Pair& kv, vars) {
|
||||
|
@ -219,9 +213,6 @@ void DbObject::SendVarsStatusUpdate(void)
|
|||
Dictionary::Ptr vars = CompatUtility::GetCustomAttributeConfig(custom_var_object);
|
||||
|
||||
if (vars) {
|
||||
Log(LogDebug, "DbObject")
|
||||
<< "Updating object vars for '" << custom_var_object->GetName() << "'";
|
||||
|
||||
ObjectLock olock (vars);
|
||||
|
||||
BOOST_FOREACH(const Dictionary::Pair& kv, vars) {
|
||||
|
@ -344,9 +335,6 @@ void DbObject::VarsChangedHandler(const CustomVarObject::Ptr& object)
|
|||
{
|
||||
DbObject::Ptr dbobj = GetOrCreateByObject(object);
|
||||
|
||||
Log(LogDebug, "DbObject")
|
||||
<< "Vars changed for object '" << object->GetName() << "'";
|
||||
|
||||
if (!dbobj)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue