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