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

return "success"