将未知虚拟机表的告警级别降低为Debug
This commit is contained in:
@@ -2204,8 +2204,10 @@ void update_group_rule(struct Maat_table_desc* table,const char* table_line,stru
|
|||||||
db_group_rule.virtual_table_id=Maat_table_get_id_by_name(table_mgr, virtual_table_name);
|
db_group_rule.virtual_table_id=Maat_table_get_id_by_name(table_mgr, virtual_table_name);
|
||||||
if(db_group_rule.virtual_table_id<0)
|
if(db_group_rule.virtual_table_id<0)
|
||||||
{
|
{
|
||||||
MESA_handle_runtime_log(logger,RLOG_LV_INFO,maat_module ,
|
//This happens when one data source (e.g. redis) is consumed by multiple Maat instance.
|
||||||
"update error, unknown virutal table name: %s of group table %s:%s.",
|
//Maat ignores unrealated groups.
|
||||||
|
MESA_handle_runtime_log(logger, RLOG_LV_DEBUG, maat_module,
|
||||||
|
"group table load abandon, unknown virtual table name: %s of group table %s:%s.",
|
||||||
virtual_table_name,
|
virtual_table_name,
|
||||||
table->table_name[table->updating_name], table_line);
|
table->table_name[table->updating_name], table_line);
|
||||||
table->udpate_err_cnt++;
|
table->udpate_err_cnt++;
|
||||||
|
|||||||
Reference in New Issue
Block a user