All Downloads are FREE. Search and download functionalities are using the official Maven repository.

webapp.templates.home.screen.alarmRuleList.vm Maven / Gradle / Ivy

There is a newer version: 4.2.18
Show newest version
$control.setTemplate("home:navigation.vm")
#set($user = $rundata.request.session.getAttribute("managerUser"))

 





监控规则管理

channel管理  >  Pipeline管理  >  监控管理
#set($flag = false) #foreach ($alarmRule in $alarmRules) #set($flag = true) #end
序号 监控项目 阈值 状态 发送对象 暂停时间 操作
$alarmRule.id #if($alarmRule.monitorName.isQueueSize()) 堆积 #elseif($alarmRule.monitorName.isDelayTime()) 延迟 #elseif($alarmRule.monitorName.isPipelineTimeout()) Pipeline超时 #elseif($alarmRule.monitorName.isProcessTimeout()) Process超时 #elseif($alarmRule.monitorName.isException()) 异常 #elseif($alarmRule.monitorName.isPaused()) 挂起 #elseif($alarmRule.monitorName.isPositionTimeout()) Position超时 #end $alarmRule.matchValue #if($alarmRule.status.isEnable() && !$alarmRule.isPaused()) #else #end $alarmRule.receiverKey #if($alarmRule.isPaused())$!numberFormat.format($alarmRule.pauseTime)#end 描述 |历史 #if($user.authorizeType.isAdmin()) #if($alarmRule.status.isEnable()) #if($alarmRule.isPaused()) #set ($reEnableURL = $homeModule.setAction("AlarmRuleAction").addQueryData("alarmRuleId", $alarmRule.id).addQueryData("status", "enable").addQueryData("pipelineId",$pipelineId).addQueryData("eventSubmitDoStatus", "true").render()) |恢复 #else #set ($disableURL = $homeModule.setAction("AlarmRuleAction").addQueryData("alarmRuleId", $alarmRule.id).addQueryData("status", "disable").addQueryData("pipelineId",$pipelineId).addQueryData("eventSubmitDoStatus", "true").render()) |暂停 #end #else #set ($enableURL = $homeModule.setAction("AlarmRuleAction").addQueryData("alarmRuleId", $alarmRule.id).addQueryData("status", "enable").addQueryData("pipelineId",$pipelineId).addQueryData("eventSubmitDoStatus", "true").render()) |开启 #end #set ($editURL = $homeModule.setTarget("editAlarmRule.vm").addQueryData("alarmRuleId", $alarmRule.id).render()) |编辑 #if($alarmRule.status.isEnable() && !$alarmRule.isPaused()) |删除 #else #set ($removeURL = $homeModule.setAction("AlarmRuleAction").addQueryData("alarmRuleId", $alarmRule.id).addQueryData("pipelineId",$pipelineId).addQueryData("eventSubmitDoDelete", "true").render()) |删除 #end #end
#if($user.authorizeType.isAdmin())
#set ($addURL = $homeModule.setTarget("addAlarmRule.vm").addQueryData("pipelineId", $pipelineId).render()) 添加
#set ($onekeyMonitorURL = $homeModule.setAction("AlarmRuleAction").addQueryData("pipelineId", $pipelineId).addQueryData("eventSubmitDoOnekeyAddMonitor", "true")) 一键添加
#if($flag)
#set ($enableAllURL = $homeModule.setAction("AlarmRuleAction").addQueryData("pipelineId", $pipelineId).addQueryData("status", "enable").addQueryData("eventSubmitDoStatusByPipeline", "true").render()) 全部开启
#set ($disableAllURL = $homeModule.setAction("AlarmRuleAction").addQueryData("pipelineId", $pipelineId).addQueryData("status", "disable").addQueryData("eventSubmitDoStatusByPipeline", "true").render()) 全部暂停
#end #end




© 2015 - 2024 Weber Informatics LLC | Privacy Policy