{
    "name"  : "过载保护",
    "precondition" : [],
    "problems" : {
        "over_load" : {
            "desc"      : "【问题】开启过载保护功能，有可能会导致游戏或者网银的掉线，建议关闭该功能",
            "advice"    : [
                "【建议】可运行如下配置进行修复", 
                "配置示例：",
                "\tRuijie#config",
                "\tRuijie(config)#no over-load-protect enable",
                "\tRuijie(config)#end",
                "\tRuijie#write"              
            ]
        }
    }
}

---------------------------code-------------------------------

res = cli("show over-load-protect configure")
reg = res.match(/over-load-protect state: enable/i)
if reg != null :
	add_problem("over_load")
	return 'warn'
end

return 'success'
