Did you try ^\d.* ?
adam.
Sent from Mailbird [http://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm...] On 14/11/2016 23:51:34, Michael obslist@smarsz.com wrote: Thanks, that worked.
Though I can't figure out why the others aren't working (even ^\d.*). Does the interface choke on the backslashes?
On 15 November 2016 10:02:26 am AEDT, Ed Iwanski wrote:
hostname notregexp ^[0-9]
On Nov 14, 2016 4:39 PM, "Michael" wrote:
When you have a problem that can be solved with regex, you now have
two
problems...
I'm having trouble making a fairly basic regex string match in the alerting system.
I want to not match any devices that have hostnames starting with a
digit.
Easy, right.
I think my problem is not finding the right bracing to build the
syntax
within the ui.
Things I have tried that don't seem to work:
hostname notregexp \b\d.* hostname notregexp /\b\d.*/ hostname notregexp /(\b\d.*)/ hostname notregexp '/\b\d.*/' hostname notregexp "\b\d.*" hostname notregexp "/\b\d.*/" hostname notregexp '\b\d.*'
Has anybody figured out what the secret handshake is?
Michael _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium