27 Jul
2016
27 Jul
'16
4:38 p.m.
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