Xymon Mailing List Archive search

Alerting on the existence of a file with wildcards [RESOLVED]

list Michael Burger
Wed, 2 Jan 2013 10:12:56 -0500
Message-Id: <user-b30501da95e8@xymon.invalid>

Here's what finally worked for generating the alarms:

 
FILE %/opt/WSCluster.*/WebSphere/wp_profile/javacore.* yellow NOEXIST

 
I believe that the .* after "WSCluster" was terminating the initial
regex, as what I was seeing was the same behavior (white with files not
found, green when the files existed). Setting "javacore" to "javacore.*"
as well generated the yellow alarms I was looking for.

 
--

Mike Burger

AIX Administrator

  <http://freedomhome.fhmc.local/intranet/main.jsp>; 

Phone (XXX) XXX-XXXX, Fax (XXX) XXX-XXXX, Cell (XXX) XXX-XXXX 

E-mail:  user-c26873f0522a@xymon.invalid

"Once word leaks out that a pirate's gone soft, people begin to disobey
you and then it's nothing but work, work, work, all the time."
--Westley/The Dread Pirate Roberts

 
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf
Of Michael Burger
Sent: Wednesday, January 02, 2013 7:55 AM
To: Jeremy Laidman; David Baldwin
Cc: xymon at xymon.com
Subject: Re: [Xymon] Alerting on the existence of a file with wildcards

 
I'll give it a try...thank you both very much.

 
--

Mike Burger

AIX Administrator

 <http://freedomhome.fhmc.local/intranet/main.jsp>; 

Phone (XXX) XXX-XXXX, Fax (XXX) XXX-XXXX, Cell (XXX) XXX-XXXX 

E-mail:  user-c26873f0522a@xymon.invalid

"Once word leaks out that a pirate's gone soft, people begin to disobey
you and then it's nothing but work, work, work, all the time."
--Westley/The Dread Pirate Roberts

 
From: Jeremy Laidman [mailto:user-71895fb2e44c@xymon.invalid] 
Sent: Tuesday, January 01, 2013 11:02 PM
To: David Baldwin
Cc: Michael Burger; xymon at xymon.com
Subject: Re: [Xymon] Alerting on the existence of a file with wildcards

 
On 2 January 2013 14:10, David Baldwin <user-cbbf693f2c89@xymon.invalid>
wrote:

	Regular expressions must be specified for the entire match 

 
Doh!  Yes, what he said.  I parsed the strings starting at the percent.
Oops.

 
J

 
CONFIDENTIALITY NOTICE: This e-mail message, including all attachments,
is for
the sole use of the intended recipient(s) and may contain confidential
information. Any unauthorized review, use, disclosure, alteration or
distribution is strictly prohibited and may violate state or federal
law. If you
are not the intended recipient, please contact the sender by reply
e-mail,
delete this email and destroy all copies of the message.


CONFIDENTIALITY NOTICE: This e-mail message, including all attachments, is for
the sole use of the intended recipient(s) and may contain confidential
information. Any unauthorized review, use, disclosure, alteration or
distribution is strictly prohibited and may violate state or federal law. If you
are not the intended recipient, please contact the sender by reply e-mail,
delete this email and destroy all copies of the message.