[Xymon] HOST regex

Root, Paul T Paul.Root at CenturyLink.com
Mon Dec 4 21:45:37 CET 2017


I'm having trouble getting a regex going for hostnames in analysis.cfg

I've got machines   iadncmds1  through iadncmds6 and iadccmds1 through iadncmds9 and a couple other machines, all should/will have the same things to look at (ports, procs, etc).

I've tried the following:
HOST=%iad(ncm|ccm)ds(1-9),apancmdsd1,iadncmdsd2
HOST=%iad(ncm|ccm)ds\d,apancmdsd1,iadncmdsd2
HOST=%iad(ncm|ccm)ds.*,apancmdsd1,iadncmdsd2
HOST=%iad(ncm|ccm)ds(.*),apancmdsd1,iadncmdsd2

Any help here?

Thanks,
Paul.


This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20171204/cdd720ba/attachment.html>


More information about the Xymon mailing list