[Xymon] alert configuration wildcard HOST

Bakkies Gatvol bakgat8 at hotmail.com
Wed Jul 27 18:38:16 CEST 2016


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


 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20160727/d0adce7a/attachment.html>


More information about the Xymon mailing list