{
    "name"  : "SNMP配置检查",
    "problems" : {
        "snmp" : {
            "desc"      : "【问题】SNMP读写口令太简单，有安全风险",
            "advice"    : "【建议】建议修改口令。"
        }
    }
}
---------------------------code-------------------------------
res = cli("show run | in snmp-server community")
if res.indexOf("snmp-server community public rw") != -1 || res.indexOf("snmp-server community ruijie rw") != -1 || res.indexOf("snmp-server community 123456 rw") != -1 ||  res.indexOf("snmp-server community private rw") != -1 :
    add_problem("snmp")
    return "warn"
end

return 'success'
