alert configuration wildcard HOST
list Bakkies Gatvol
Wed, 27 Jul 2016 12:38:16 -0400
Message-Id: <user-f35bc444aad0@xymon.invalid>
This works
HOST=%_ip_printer SERVICE=conn
matches any host ending in %_ip_printer
../bin/xymoncmd xymond_alert --test DGMSA_HP4050_ip_printer conn
00017968 2016-07-27 12:35:29 *** Match with 'HOST=%_ip_printer SERVICE=conn' ***
what I want to match now
usphl0tsasdbv0
usphl0tsasvav1
I tried
HOST=usphl0tsas% SERVICE=disk_app
but it does not match
00017809 2016-07-27 12:34:21 Matching host:service:dgroup:page 'usphl0tsasvav1:disk_app:NONE:test' against rule line 30
00017809 2016-07-27 12:34:21 Failed 'HOST=usphl0tsas% SERVICE=disk_app' (hostname not in include list)
Is there any way to have the wildcard be at the end?
Thanks