{
    "name"  : "检查对端ip是否可达",
    "problems" : {
        "checkIpIsOrNotArrive" : {
            "desc"      : "【问题】对端ip不可达",
            "advice"    : "【建议】请检查线路"
        }
    }
}
---------------------------code-------------------------------
valueIP = precondition('valueIP')
print valueIP
cmd = 'ping ' + valueIP
response = cli(cmd)

print 'response =' +response
if response.match(/Success rate is 0 percent/)!= null:
	add_problem("checkIpIsOrNotArrive")
	return 'warn'
end
return 'success'