[Xymon] Syntax for regular expression in client-local.cfg

Root, Paul T Paul.Root at CenturyLink.com
Mon Jun 4 20:02:38 CEST 2018


[host=.*v201vm191]
.
.
.


[host=.*nas.*]
.
.
.

[host=nsm.*vp185]
file:`ls /opt/smarts-ncm/ncmcore/java_pid*.hprof`
log:/opt/smarts-ncm/ncmcore/logs/catalina.out:10240

-----Original Message-----
From: Xymon <xymon-bounces at xymon.com> On Behalf Of Ribeiro, Glauber
Sent: Monday, June 04, 2018 11:36 AM
To: 'xymon at xymon.com' <xymon at xymon.com>
Subject: [Xymon] Syntax for regular expression in client-local.cfg

What is the syntax for using regular expressions in client-local.cfg?

Is it [host=regexp] or [host=%regexp]? Does it require quotes?

Thanks,

glauber
_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon
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.


More information about the Xymon mailing list