跳转至

卓豪OpManager集成

官网:http://www.zohocorp.com.cn/

OpManager 是一个基于 Web 的综合网络设备管理工具。可以管理防火墙、交换 机、路由器、存储设备、虚拟化和服务器等资源的监控状态和可用性。


卓豪OpManager集成CA步骤

  1. 睿象云Cloud Alert 界面创建卓豪OpManager应用,并获取 appkey

  2. 进入OpManager配置webhook地址

  3. 点击设置->通知配置文件->添加:

  1. 选择调用webhook:

     {
     "alarmid":"$alarmid",
     "message":"$message",
     "rcaLinkedToTheAlarm":"$rcaLinkedToTheAlarm",
     "displayName":"$displayName",
     "category":"$category",
     "stringseverity":"$stringseverity",
     "strModTime":"$strModTime",
     "eventType":"$eventType",
     "entity":"$entity",
     "lastPolledValue":"$lastPolledValue",
     "IntfField(ifDescr)":"$IntfField(ifDescr)",
     "IntfField(displayName)":"$IntfField(displayName)",
     "IntfField(ifAlias)":"$IntfField(ifAlias)",
     "IntfField(ifName)":"$IntfField(ifName)",
     "IntfField(ipAddress)":"$IntfField(ipAddress)",
     "IntfField(physMedia)":"$IntfField(physMedia)",
     "IntfField(ifIndex)":"$IntfField(ifIndex)",
     "IntfField(ifCircuitID)":"$IntfField(ifCircuitID)",
     "IntfField(ifSpeedIn)":"$IntfField(ifSpeedIn)",
     "IntfField(ifSpeedOut)":"$IntfField(ifSpeedOut)",
     "CustomField(楼号)":"$CustomField(楼号)",
     "CustomField(机柜)":"$CustomField(机柜)",
     "CustomField(注释)":"$CustomField(注释)",
     "CustomField(联系人)":"$CustomField(联系人)",
     "CustomField(部门)":"$CustomField(部门)",
     "CustomField(房间号)":"$CustomField(房间号)",
     "CustomField(序列号)":"$CustomField(序列号)",
     "CustomField(电话号码)":"$CustomField(电话号码)",
     "IntfCustomField(线路ID)":"$IntfCustomField(线路ID)",
     "IntfCustomField(注释)":"$IntfCustomField(注释)",
     "IntfCustomField(联系人)":"$IntfCustomField(联系人)",
     "IntfCustomField(SLA)":"$IntfCustomField(SLA)",
     "IntfCustomField(电话号码)":"$IntfCustomField(电话号码)",
     "MonitorField(monitorName)":"$MonitorField(monitorName)",
     "MonitorField(instance)":"$MonitorField(instance)",
     "MonitorField(protocol)":"$MonitorField(protocol)",
     "DeviceField(type)":"$DeviceField(type)",
     "DeviceField(ipAddress)":"$DeviceField(ipAddress)",
     "DeviceField(isSNMP)":"$DeviceField(isSNMP)",
     "DeviceField(dependent)":"$DeviceField(dependent)",
     "DeviceField(hardDiskSize)":"$DeviceField(hardDiskSize)",
     "DeviceField(ramSize)":"$DeviceField(ramSize)"
     }

webhook地址:http://api.aiops.com/alert/api/event/meopmanager/{appKey}


测试卓豪OpManager告警

在卓豪OpManager的警报中通过警报策略触发告警后,告警会通过webhook地址把告警推送到CloudAlert平台,如果CloudAlert平台没有接收到告警,请联系睿小象进行排查。


卓豪OpManager与CA告警级别

睿象云 卓豪OpManager(stringseverity)
致命 严重
严重 -
警告 问题
提醒 注意
通知 -
睿象云 卓豪OpManager
事件ID (eventId) md5(entity)