我使用F5,我有一个问题。我想构建一个Irule来检查以下场景
url=="domain.com" and Content-Length(of the request) > 400
then
alert(response) 是否可以创建此Irule?
发布于 2019-08-02 03:34:40
我不确定您的警报操作需求是什么(在这里用# take action块模拟),但规则非常简单:
when HTTP_REQUEST {
if { ([HTTP::host] eq "domain.com") and ([HTTP::header Content-Length] > 400) } {
# take action
}
}发布于 2019-09-03 01:04:14
您的意思可能是要使用alertd生成电子邮件或SNMP陷阱?如果是这样,那么只要alertd正在查找您放入日志中的错误,就会执行警报操作。
https://stackoverflow.com/questions/57305025
复制相似问题