Xymon Mailing List Archive search

syntax for analysis/alerts

9 messages in this thread

list Elizabeth Jones · Mon, 14 Jan 2013 10:19:03 -0500 ·
I'm trying to get alerts working for a group of servers that have *soldb* in the server name but I can't seem to figure out the right syntax.  Can anyone give me a hand with a *whatever* syntax?  What I have at the moment is  LOAD    70 100 HOST=%^/soldb*/ , and it isn't working.


Elizabeth Jones
Unix Administrator - NIC, Inc.
25501 West Valley Parkway, Suite 300, Olathe, KS 66061
email: user-f0dffc744f19@xymon.invalid<mailto:user-f0dffc744f19@xymon.invalid>
list Steve Holmes · Mon, 14 Jan 2013 10:37:18 -0500 ·
There are slashes in your server names?
Steve
quoted from Elizabeth Jones

On Mon, Jan 14, 2013 at 10:19 AM, Jones, Elizabeth <user-f0dffc744f19@xymon.invalid> wrote:
I’m trying to get alerts working for a group of servers that have **soldb**
in the server name but I can’t seem to figure out the right syntax.  Can
anyone give me a hand with a **whatever** syntax?  What I have at the
moment is  LOAD    70 100 HOST=%^/soldb*/ , and it isn’t working. ****

** **

** **

----------****

Elizabeth Jones****

Unix Administrator - NIC, Inc.****

25501 West Valley Parkway, Suite 300, Olathe, KS 66061****

email: user-f0dffc744f19@xymon.invalid****

** **

-- 
If they give you ruled paper, write the other way. -Juan Ramon Jimenez,
poet, Nobel Prize in literature (1881-1958)

I prayed for freedom for twenty years, but received no answer until I
prayed with my legs. -Frederick Douglass, Former slave, abolitionist,
editor, and orator (1817-1895)
list Michael Beatty · Mon, 14 Jan 2013 10:38:20 -0500 ·
HOST=%soldb

Michael Beatty
Sherwin-Williams
IT Analyst/Developer
user-4aea7c115850@xymon.invalid
XXX-XXX-XXXX
quoted from Steve Holmes

On 01/14/2013 10:19 AM, Jones, Elizabeth wrote:
I'm trying to get alerts working for a group of servers that have **soldb** in the server name but I can't seem to figure out the right syntax.  Can anyone give me a hand with a **whatever** syntax?  What I have at the moment is  LOAD    70 100 HOST=%^/soldb*/ , and it isn't working.


Elizabeth Jones

Unix Administrator - NIC, Inc.

25501 West Valley Parkway, Suite 300, Olathe, KS 66061

email: user-f0dffc744f19@xymon.invalid <mailto:user-f0dffc744f19@xymon.invalid>

list Elizabeth Jones · Mon, 14 Jan 2013 10:41:25 -0500 ·
No, but I copied an example that was in analysis.cfg for cdrom that had that syntax.
quoted from Steve Holmes

From: user-5425c7b245e1@xymon.invalid [mailto:user-5425c7b245e1@xymon.invalid] On Behalf Of Steve Holmes
Sent: Monday, January 14, 2013 9:37 AM
To: Jones, Elizabeth
Cc: Xymon at xymon.com
Subject: Re: [Xymon] syntax for analysis/alerts

There are slashes in your server names?
Steve
On Mon, Jan 14, 2013 at 10:19 AM, Jones, Elizabeth <user-f0dffc744f19@xymon.invalid<mailto:user-f0dffc744f19@xymon.invalid>> wrote:
I'm trying to get alerts working for a group of servers that have *soldb* in the server name but I can't seem to figure out the right syntax.  Can anyone give me a hand with a *whatever* syntax?  What I have at the moment is  LOAD    70 100 HOST=%^/soldb*/ , and it isn't working.


Elizabeth Jones
Unix Administrator - NIC, Inc.
25501 West Valley Parkway, Suite 300, Olathe, KS 66061
email: user-f0dffc744f19@xymon.invalid<mailto:user-f0dffc744f19@xymon.invalid>


--
If they give you ruled paper, write the other way. -Juan Ramon Jimenez, poet, Nobel Prize in literature (1881-1958)

I prayed for freedom for twenty years, but received no answer until I prayed with my legs. -Frederick Douglass, Former slave, abolitionist, editor, and orator (1817-1895)
list Ryan Novosielski · Mon, 14 Jan 2013 10:44:44 -0500 ·
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hostnames I would think don't tend to begin with a foward slash.
quoted from Elizabeth Jones

On 01/14/2013 10:41 AM, Jones, Elizabeth wrote:
No, but I copied an example that was in analysis.cfg for cdrom that
had that syntax.


*From:*user-5425c7b245e1@xymon.invalid [mailto:user-5425c7b245e1@xymon.invalid] *On Behalf
quoted from Elizabeth Jones
Of *Steve Holmes *Sent:* Monday, January 14, 2013 9:37 AM *To:*
Jones, Elizabeth *Cc:* Xymon at xymon.com *Subject:* Re: [Xymon]
syntax for analysis/alerts


There are slashes in your server names? Steve

On Mon, Jan 14, 2013 at 10:19 AM, Jones, Elizabeth
<user-f0dffc744f19@xymon.invalid <mailto:user-f0dffc744f19@xymon.invalid>> wrote:

I’m trying to get alerts working for a group of servers that have **soldb** in the server name but I can’t seem to figure out the
right syntax.  Can anyone give me a hand with a **whatever**
syntax?  What I have at the moment is  LOAD    70 100
HOST=%^/soldb*/ , and it isn’t working.


Elizabeth Jones

Unix Administrator - NIC, Inc.

25501 West Valley Parkway, Suite 300, Olathe, KS 66061

email: user-f0dffc744f19@xymon.invalid <mailto:user-f0dffc744f19@xymon.invalid>


--

If they give you ruled paper, write the other way. -Juan Ramon
Jimenez, poet, Nobel Prize in literature (1881-1958)

I prayed for freedom for twenty years, but received no answer until
I prayed with my legs. -Frederick Douglass, Former slave,
abolitionist, editor, and orator (1817-1895)
- -- - ---- _  _ _  _ ___  _  _  _

|Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Sr. Systems Programmer
|$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/EI-Academic Svcs. - ADMC 450, Newark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlD0J+kACgkQmb+gadEcsb6X1QCeP808old3BHgzGeP3SGNFkUHg
cbkAoLVzzM7Wu/QSLCcHI4kTWLR+czNi
=Joey
-----END PGP SIGNATURE-----
list Paul Jacobs · Mon, 14 Jan 2013 15:47:33 +0000 ·
Try using these as examples

HOST=%swpmpb.*|swpaps.*|swpdps.*|swpdpb.*|swpapb.*

So host starting swp with any number or letter at the end as a wildcard
quoted from Ryan Novosielski


From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Jones, Elizabeth
Sent: 14 January 2013 15:41
To: Steve Holmes
Cc: Xymon at xymon.com
Subject: Re: [Xymon] syntax for analysis/alerts

No, but I copied an example that was in analysis.cfg for cdrom that had that syntax.

From: user-5425c7b245e1@xymon.invalid<mailto:user-5425c7b245e1@xymon.invalid> [mailto:user-5425c7b245e1@xymon.invalid] On Behalf Of Steve Holmes
Sent: Monday, January 14, 2013 9:37 AM
To: Jones, Elizabeth
Cc: Xymon at xymon.com<mailto:Xymon at xymon.com>
Subject: Re: [Xymon] syntax for analysis/alerts

There are slashes in your server names?
Steve
On Mon, Jan 14, 2013 at 10:19 AM, Jones, Elizabeth <user-f0dffc744f19@xymon.invalid<mailto:user-f0dffc744f19@xymon.invalid>> wrote:
I'm trying to get alerts working for a group of servers that have *soldb* in the server name but I can't seem to figure out the right syntax.  Can anyone give me a hand with a *whatever* syntax?  What I have at the moment is  LOAD    70 100 HOST=%^/soldb*/ , and it isn't working.


Elizabeth Jones
Unix Administrator - NIC, Inc.
25501 West Valley Parkway, Suite 300, Olathe, KS 66061
email: user-f0dffc744f19@xymon.invalid<mailto:user-f0dffc744f19@xymon.invalid>


--
If they give you ruled paper, write the other way. -Juan Ramon Jimenez, poet, Nobel Prize in literature (1881-1958)

I prayed for freedom for twenty years, but received no answer until I prayed with my legs. -Frederick Douglass, Former slave, abolitionist, editor, and orator (1817-1895)


A copy of the LCH.Clearnet e-mail disclaimer can be found at: www.lchclearnet.com/disclaimer/email

LCH.Clearnet Limited, Registered Office: Aldgate House, 33 Aldgate High Street, London EC3N 1EA. Recognised as a Clearing House under the Financial Services & Markets Act 2000. Reg. in England No. 25932.
LCH.Clearnet SA, Siège Social: 18 rue du Quatre Septembre, 75002 Paris, Chambre de Compensation conformément au Code Monétaire et Financier.
LCH.Clearnet LLC, Principal Office: 17 State Street, New York, NY 10004. Registered with the U.S. Commodity Futures Trading Commission as a derivatives clearing organization under the U.S. Commodity Exchange Act.
list Mike Burger · Mon, 14 Jan 2013 10:50:25 -0500 (EST) ·
quoted from Paul Jacobs
I'm trying to get alerts working for a group of servers that have *soldb*
in the server name but I can't seem to figure out the right syntax.  Can
anyone give me a hand with a *whatever* syntax?  What I have at the moment
is  LOAD    70 100 HOST=%^/soldb*/ , and it isn't working.
Hello, Elizabeth.

If "soldb" is not at the beginning of the hostname, then:

%.*soldb.* may work for you.

Another option might be to set up a page with all of those servers
contained in it, and then alert on the page, instead.
-- 
Mike Burger
http://www.bubbanfriends.org

"It's always suicide-mission this, save-the-planet that. No one ever just
stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
list Elizabeth Jones · Mon, 14 Jan 2013 12:20:00 -0500 ·
Thanks -this worked.
quoted from Michael Beatty

From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Michael Beatty
Sent: Monday, January 14, 2013 9:38 AM
To: xymon at xymon.com
Subject: Re: [Xymon] syntax for analysis/alerts

HOST=%soldb


Michael Beatty

Sherwin-Williams

IT Analyst/Developer

user-4aea7c115850@xymon.invalid<mailto:user-4aea7c115850@xymon.invalid>
quoted from Mike Burger

XXX-XXX-XXXX
On 01/14/2013 10:19 AM, Jones, Elizabeth wrote:
I'm trying to get alerts working for a group of servers that have *soldb* in the server name but I can't seem to figure out the right syntax.  Can anyone give me a hand with a *whatever* syntax?  What I have at the moment is  LOAD    70 100 HOST=%^/soldb*/ , and it isn't working.


Elizabeth Jones
Unix Administrator - NIC, Inc.
25501 West Valley Parkway, Suite 300, Olathe, KS 66061
email: user-f0dffc744f19@xymon.invalid<mailto:user-f0dffc744f19@xymon.invalid>
list Jeremy Laidman · Tue, 15 Jan 2013 11:14:32 +1100 ·
In future, you can test your regular expressions using xymon's
"xymondboard" message type.  Just set host to whatever follows the "%" and
it will give you what matches.  So to test "%soldb" you do this (from the
Xymon server):

$ xymoncmd xymon localhost 'xymondboard host=soldb'

J
quoted from Elizabeth Jones


On 15 January 2013 04:20, Jones, Elizabeth <user-f0dffc744f19@xymon.invalid> wrote:
Thanks –this worked.****

** **

*From:* xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] *On
Behalf Of *Michael Beatty
*Sent:* Monday, January 14, 2013 9:38 AM
*To:* xymon at xymon.com

*Subject:* Re: [Xymon] syntax for analysis/alerts****

** **

HOST=%soldb

****

Michael Beatty****

Sherwin-Williams****

IT Analyst/Developer****

user-4aea7c115850@xymon.invalid****

XXX-XXX-XXXX****

On 01/14/2013 10:19 AM, Jones, Elizabeth wrote:****

I’m trying to get alerts working for a group of servers that have **soldb**
in the server name but I can’t seem to figure out the right syntax.  Can
anyone give me a hand with a **whatever** syntax?  What I have at the
moment is  LOAD    70 100 HOST=%^/soldb*/ , and it isn’t working. ****

 ****

 ****

----------****

Elizabeth Jones****

Unix Administrator - NIC, Inc.****

25501 West Valley Parkway, Suite 300, Olathe, KS 66061****

email: user-f0dffc744f19@xymon.invalid****

 ****


****

_______________________________________________****

Xymon mailing list****

Xymon at xymon.com****

** **