Mr.Gao
Results
12
comments of
Mr.Gao
对对对 ,太需要了!!! # 状态值映射 - ifOperStatus=ifOperStatusRaw@map(1=up,2=down) 还有@where和@count()函数等: calculates: # 直接使用字符串过滤统计 - total_devices=status_list@where(status_list!="Empty")@count() - connected_devices=status_list@where(status_list=="Connected")@count() - disconnected_devices=status_list@where(status_list=="Unconnect")@count() - empty_devices=status_list@where(status_list=="Empty")@count()
可以放在集成接入,但是对于上报过来的数据,每个厂家的oid不同,应该得需要做映射或者解析