{
    "name"  : "检查ipsec协商限速",
    "problems" : {
        "checkIpsecNegotiateRate" : {
            "desc"      : "【问题】Ipsec协商限度导致协商不过",
            "advice"    : "【建议】请检查ipsec配置的限速值"
        }
    }
}
---------------------------code-------------------------------
response = cli('show log')

print 'response =' +response
if response.indexOf("IKE_NEGOTIATE_LIMIT_OUT")!= -1:
	add_problem("checkIpsecNegotiateRate")
	return "warn"
end
return 'success'