diff --git a/lib/redis/rediswriter-objects.cpp b/lib/redis/rediswriter-objects.cpp index 049d1eb37..632fe4a5f 100644 --- a/lib/redis/rediswriter-objects.cpp +++ b/lib/redis/rediswriter-objects.cpp @@ -881,7 +881,7 @@ bool RedisWriter::PrepareObject(const ConfigObject::Ptr& object, Dictionary::Ptr TimePeriod::Ptr timePeriod = checkable->GetCheckPeriod(); if (timePeriod) { attributes->Set("check_timeperiod_id", GetObjectIdentifier(timePeriod)); - attributes->Set("check_period", timePeriod->GetName()); + attributes->Set("check_timeperiod", timePeriod->GetName()); } EventCommand::Ptr eventCommand = checkable->GetEventCommand();