Hi everyone,
I'm trying to do a simple thing yet can't manage to do it. We use regex all over zabbix but i can't get my autoregistration rule to work :

I tried every regex i thought of, ^.*replic.*sc.*$ /.*replic.*sc.*/i replic.*sc
I'm testing with an host which host name is test-REPLic-Sc-test
We have a lot of old and new naming conventions so i want it to be case insensitive and if it matches, to add the host to a group and a template. It's currently working if i use "CONTAINS" instead of "MATCHES", but i have to specify each case with OR calculation and i can't do this for every actions...
I have another action which add the host to zabbix just fine.
Documentation isn't helping and i know it should work it has been implemented
Any help will be very much appreciated
I'm trying to do a simple thing yet can't manage to do it. We use regex all over zabbix but i can't get my autoregistration rule to work :
I tried every regex i thought of, ^.*replic.*sc.*$ /.*replic.*sc.*/i replic.*sc
I'm testing with an host which host name is test-REPLic-Sc-test
We have a lot of old and new naming conventions so i want it to be case insensitive and if it matches, to add the host to a group and a template. It's currently working if i use "CONTAINS" instead of "MATCHES", but i have to specify each case with OR calculation and i can't do this for every actions...
I have another action which add the host to zabbix just fine.
Documentation isn't helping and i know it should work it has been implemented
Any help will be very much appreciated
Comment