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: ejones at egov.com<mailto:ejones at egov.com>
There are slashes in your server names? Steve
On Mon, Jan 14, 2013 at 10:19 AM, Jones, Elizabeth <Ejones at egov.com> 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: ejones at egov.com****
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
-- 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)
No, but I copied an example that was in analysis.cfg for cdrom that had that syntax.
From: sholmes42 at gmail.com [mailto:sholmes42 at gmail.com] 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 <Ejones at egov.com<mailto:Ejones at egov.com>> 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: ejones at egov.com<mailto:ejones at egov.com>
Xymon mailing list Xymon at xymon.com<mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon
-- 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)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hostnames I would think don't tend to begin with a foward slash.
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:*sholmes42 at gmail.com [mailto:sholmes42 at gmail.com] *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 <Ejones at egov.com <mailto:Ejones at egov.com>> 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: ejones at egov.com <mailto:ejones at egov.com>
_______________________________________________ Xymon mailing list Xymon at xymon.com <mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon
--
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 |$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 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-----
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
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: sholmes42 at gmail.com<mailto:sholmes42 at gmail.com> [mailto:sholmes42 at gmail.com] 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 <Ejones at egov.com<mailto:Ejones at egov.com>> 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: ejones at egov.com<mailto:ejones at egov.com>
Xymon mailing list Xymon at xymon.com<mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon
-- 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.
HOST=%soldb
Michael Beatty Sherwin-Williams IT Analyst/Developer michael.beatty at sherwin.com 216-515-7374
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: ejones at egov.com <mailto:ejones at egov.com>
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
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
michael.beatty at sherwin.com<mailto:michael.beatty at sherwin.com>
216-515-7374 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: ejones at egov.com<mailto:ejones at egov.com>
Xymon mailing list
Xymon at xymon.com<mailto:Xymon at xymon.com>
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
On 15 January 2013 04:20, Jones, Elizabeth <Ejones at egov.com> 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****
michael.beatty at sherwin.com****
216-515-7374****
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: ejones at egov.com****
_______________________________________________****
Xymon mailing list****
Xymon at xymon.com****
http://lists.xymon.com/mailman/listinfo/xymon****
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
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
participants (7)
-
Ejones@egov.com
-
jlaidman@rebel-it.com.au
-
mburger@bubbanfriends.org
-
Michael.Beatty@sherwin.com
-
novosirj@umdnj.edu
-
Paul.Jacobs@lchclearnet.com
-
sholmes42@mac.com