Hi Lars,

 as I see you use not fully correct regular expressions:

 1. need escape
hyphen (-), ie /.*\-l2\-.*/
 2. really in your cases .* not required, can use just /\-l2\-/

But your issue, seems as host discovered by IP and hostname detected by sysName.
I just fixed check for this case in latest revision (r10789, rolling updates).

Lars Joergensen via observium wrote on 23.10.2020 13:45:

Hi

 

I have this pattern in ignore hosts:

 


 

But this one keeps getting discovered every day:

 


 

Lars


Disclaimer: This e-mail, including any attachments, is for the intended recipient only. If you have received this e-mail by mistake please notify the sender immediately by return e-mail and delete this e-mail and any attachments, without opening the attachments, from your system. Access, disclosure, copying, distribution or reliance on any part of this e-mail by anyone else is prohibited. This e-mail is confidential and may be legally privileged. Chr. Hansen does not represent and/or warrant that the information sent and/or received by or with this e-mail is correct and does not accept any liability for damages related thereto. https://www.chr-hansen.com/en/legal-notice

_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

--
Mike Stupalov
Observium Limited, http://observium.org