The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
843 views

Zabbix 2.0: Regular Expression to extract value from a String for a trigger?

I am using Zabbix 2.0.4 to monitor several Java applications. Most values are exported via JMX. One of those exported attributes is a string that is constructed like this: ...
1
vote
1answer
64 views

Problematic Mail Sieve rules

I need top classify my incomming emails using this three rules: if the email was send to any @somedomain.tld, then copy that email to "somedomain_tld" if the email was send to any other @*.tld , ...
0
votes
1answer
58 views

Regular expression to match non-www and non-specified host (nginx)

server { listen 80; server_name ~(?!^www\.)(?!thehost.org); return 301 $scheme://www.$host$request_uri; } I'd like for the server_name to match otherhost.org and ...
0
votes
1answer
352 views

Modify swatch conf files to match multiple lines below a match

We use swatch for reading PHP logs and email them to us. Currently it emails one single line of the error, but fails to match the next few lines of stack trace. For example: for log file like this: ...
0
votes
1answer
611 views

Apache mod_proxy_html Substitute: how to re-use part of regex match? (regex variables?)

Have a unique URL-rewriting situation in Apache. I need to be able to take a URL that starts with "\u002f[X]" or '\u002f[X]" Where X is the rest of some URL, and substitute the text ...
-1
votes
1answer
553 views

how to make regular expression for nginx rewrite

i wrote rewrite ^/([\w_]+)/?$ /index.php?$1 btw, i wanna except /empty. hmm.. wanna use /alphabet -> alphabet /emptyABC -> emptyABC /empty -> not match /emp -> emp /emptAB -> ...
1
vote
0answers
133 views

How to specify a scenario wildcard in Zabbix expression

I'm using Zabbix 2.0 am wondering how to use a wildcard or regular expression for a scenario name of a trigger? For example, I have the following trigger: ...
1
vote
0answers
75 views

Nginx - Adding a trailing slash to urls on HTTPS

I am using the below regex to add a trailing slash to any url that doesn't have a railing slash or ends ends with .. rewrite ^([^.]*[^/])$ $1/ permanent; This works fine for http, but when I use ...