| ID | 名称 | 类型 | 监控对象 | 间隔 | 规则 | 状态 | 最近结果 | 操作 |
|---|---|---|---|---|---|---|---|---|
| 暂无监控任务 | ||||||||
| =$t['id']?> | =htmlspecialchars($t['name'])?> | =$t['task_type']=='resource'?'资源监控':'URL监控'?> | =$t['task_type']=='resource'?monitor_resource_name($t['resource_type']).' > '.$t['resource_threshold'].'%':htmlspecialchars($t['url'])?> | =$t['task_type']=='resource'?'3分钟':$t['interval_seconds'].'秒'?> | =$t['task_type']=='resource'?'超过阈值告警':'状态码 '.$t['status_rule'].' '.htmlspecialchars($t['status_value']).' 内容 '.$t['content_rule'].' '.htmlspecialchars($t['content_value'])?> |
=$t['enabled']=='true'?'启用':'停用'?> | =$t['last_status']=='ok'?'正常':'异常'?> / =$t['last_code'] ?: '-'?> | 日志 |