{
    "name"  : "检测热备使能",
    "problems" : {
        "problem1" : {
            "desc"      : "【问题】热备未使能",
            "advice"    : "【建议】在对应wlan hot-backup [保存的对端IP]命令下配置wlan hot-backup enable
            【配置命令示例】
             Ruijie(config)#wlan hot-backup [保存的对端IP]
             Ruijie(config-hotbackup)#wlan hot-backup enable"
        }
    }
}
---------------------------code-------------------------------
response = cli('show wlan hot-backup')
response = response.split(/\r?\n/)
response.splice(0,5)
response.pop()
if response :
	foreach item in response :
		item = item.split(/\s+/)
		if item[1] == 'Disable' :
			add_problem('problem1')
			return 'warn'
		end
	end
end

return 'success'