{
    "name"  : "内存利用率是否过高",
    "problems" : {
        "memoryHigh" : {
            "desc"      : "【问题】当前内存利用率过高，总内存：${0}，可用内存：${1}，利用率：${2},",
            "advice"    : "【建议】设备内存使用率过高，可能会影响设备稳定运行。建议联系400处理。"
        }
    }
}
---------------------------code-------------------------------
res = cli("show memory")
matchArr = res.match(/System Memory: (.+) total, .+, (.+) free, (.+)%/)
if matchArr == null:
    return "success"
end
totalMemoty = matchArr[1]
freeMomery = matchArr[2]
rate = matchArr[3]
if rate > 87 :
    rateString = rate + "%"
    add_problem("memoryHigh",[totalMemoty, freeMomery,rateString])
    return "warn"
end

return "success"