{
    "name"  : "SNMP访问出现超时",
    "problems" : {
        "flowError" : {
            "desc"      : "【问题】经检查设备SNMP模块存在请求ID计数值翻转，导致网管SNMP MIB无法访问。",
            "advice"    : "【建议】可重启rg-snmpd进程来恢复。点击修复则重启SNMP进程。"
        }
    }
}
---------------------------code-------------------------------
res2 = cli("show ver")
print res2
resArr2 = res2.match(/11\.\d+/)
if resArr2==null :
    print 'skip'
	return 'skip'
end
res = cli("show snmp message")
print res
resArr = res.match(/g_udp_session_num: \d+/ig)
print resArr
num = resArr[0]
print num
num1 = num.match(/\d+/)
print num1
if num1[0] == 10 :
	res1 = cli("show snmp")
	print res1
	resArr1 =res1.match(/\d+ Number of requested variables/)
	number = resArr1[0]
	number1 = number.match(/\d+/)
	print number1
	if number1 > 2147483647 :		
		print 'warn'
		add_problem("flowError")
		return 'warn'
	end
end
print 'success'
return 'success'