{
    "name"  : "DLDP检查",
    "problems" : {
        "multiLdp" : {
            "desc"      : "【问题】链路检测过于频繁或重试次数过少，线路带宽饱和时有出现误判导致出口down掉的风险。",
            "advice"    : "【建议】建议检测间隔时间建议大于1s或者检测次数大于5次。"
        }
    }
}
---------------------------code-------------------------------
res = cli("show dldp")
resArr = res.split(/\r?\n/)
i = 3
while i < (resArr.length - 1):
    resSingal = resArr[i]
    resSingalArr = resSingal.split(/\s+/)
    retry = resSingalArr[5]
    interval = resSingalArr[4]
    if interval < 100 || retry > 5 :
        add_problem("multiLdp")
        return "warn"
    end
    i = i + 1
end

return "success"