Yep.
<metric> regex <expression>
Examples:
hostname regex (core1|core2|edge1|edge2)
bgpPeerRemoteAS regex (6500[1-3]|3945|12387)
etc.
I like to use this regex tester when building more complicated expressions: https://www.regexpal.com/
The tests themselves are still AND/OR, though. I saw a picture a while back of an updated alert system that includes the ability to nest logic, creating more complex alerts. Unsure of status.
http://docs.observium.org/alert_checker/
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Edvinas K
Sent: Monday, December 11, 2017 5:43 AM
To: Observium <observium@observium.org>
Subject: [Observium] logical OR/AND matching Devices, Entities
Hello,
Is it possible in Alert checker under the same field to add value with logical OR, for example:
Under "Device Match" - group includes Nexus|ASRS|ISR
and the same question on Entity match.
Thanks