14 Nov
2016
14 Nov
'16
11:38 p.m.
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