Xymon Mailing List Archive search

Syntax for regular expression in client-local.cfg

list Paul Root
Mon, 4 Jun 2018 18:02:38 +0000
Message-Id: <user-eae181cc7c9c@xymon.invalid>

[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

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.