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 ed@iwanski.com wrote:
hostname notregexp ^[0-9]
On Nov 14, 2016 4:39 PM, "Michael" obslist@smarsz.com 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