{
    "name"  : "应用识别是否开启",
    "problems" : {
        "app_close" : {
            "desc"      : "【问题】应用识别功能被关闭",
            "advice"    : "【建议】商业营销功能需开启应用识别，开启命令是：identify-application enable" 
        }
    }
}

---------------------------code-------------------------------

res = cli("show run | in no identify-application enable")
res = res.split(/\r?\n/)
if res[2] :
    add_problem("app_close")
    return 'warn'
end

return 'success'